
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)

{
  WindowEntry *pWVar1;
  Match *pMVar2;
  uchar uVar3;
  byte bVar4;
  byte bVar5;
  short sVar6;
  int iVar7;
  LZ77InternalContext *pLVar8;
  byte *pbVar9;
  int iVar10;
  int iVar11;
  Match *pMVar12;
  uint uVar13;
  int iVar14;
  int iVar15;
  byte *pbVar16;
  uint uVar17;
  uint uVar18;
  int in_GS_OFFSET;
  byte *local_160;
  int local_15c;
  int local_154;
  int local_14c;
  int local_138;
  uint local_134;
  Match matches [32];
  
  iVar7 = *(int *)(in_GS_OFFSET + 0x14);
  pLVar8 = ctx->ictx;
  iVar11 = pLVar8->npending;
  if (3 < iVar11) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");
  }
  iVar15 = iVar11;
  if (iVar11 < 1) goto LAB_0008528b;
  iVar10 = len + iVar11;
  if (iVar10 < 3) {
    iVar10 = 0;
LAB_00085826:
    pLVar8->pending[0] = pLVar8->pending[iVar10];
    if ((iVar10 + 1 < iVar11) &&
       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {
      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];
    }
  }
  else {
    uVar3 = pLVar8->pending[0];
    iVar15 = pLVar8->winpos;
    if (iVar11 == 1) {
      uVar13 = (uint)*data;
LAB_0008504a:
      bVar4 = data[2 - iVar11];
    }
    else {
      uVar13 = (uint)pLVar8->pending[1];
      if (iVar11 != 3) goto LAB_0008504a;
      bVar4 = pLVar8->pending[2];
    }
    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;
    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;
    pWVar1 = pLVar8->win + iVar15;
    if (pWVar1->prev == -1) {
      if (pWVar1->hashval != -1) {
        pLVar8->hashtab[pWVar1->hashval].first = -1;
      }
    }
    else {
      pLVar8->win[pWVar1->prev].next = -1;
    }
    pWVar1->hashval = (short)iVar14;
    pWVar1->prev = -1;
    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);
    pWVar1->next = sVar6;
    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;
    if (sVar6 != -1) {
      pLVar8->win[sVar6].prev = (short)iVar15;
    }
    pLVar8->data[iVar15] = uVar3;
    uVar13 = iVar15 + 1U & 0x7fff;
    pLVar8->winpos = uVar13;
    if (iVar11 == 1) {
      iVar15 = 1;
    }
    else {
      if (iVar10 == 3) {
        iVar10 = 1;
LAB_0008589d:
        iVar15 = iVar11 - iVar10;
        goto LAB_00085826;
      }
      uVar3 = pLVar8->pending[1];
      if (iVar11 == 3) {
        bVar4 = pLVar8->pending[2];
      }
      else {
        bVar4 = *data;
      }
      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;
      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;
      pWVar1 = pLVar8->win + uVar13;
      if (pWVar1->prev == -1) {
        if (pWVar1->hashval != -1) {
          pLVar8->hashtab[pWVar1->hashval].first = -1;
        }
      }
      else {
        pLVar8->win[pWVar1->prev].next = -1;
      }
      pWVar1->hashval = (short)iVar15;
      pWVar1->prev = -1;
      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);
      pWVar1->next = sVar6;
      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;
      if (sVar6 != -1) {
        pLVar8->win[sVar6].prev = (short)uVar13;
      }
      pLVar8->data[uVar13] = uVar3;
      uVar13 = uVar13 + 1 & 0x7fff;
      pLVar8->winpos = uVar13;
      if (iVar11 == 3) {
        if (iVar10 < 5) {
          iVar10 = 2;
          goto LAB_0008589d;
        }
        uVar3 = pLVar8->pending[2];
        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);
        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;
        pWVar1 = pLVar8->win + uVar13;
        if (pWVar1->prev == -1) {
          if (pWVar1->hashval != -1) {
            pLVar8->hashtab[pWVar1->hashval].first = -1;
          }
        }
        else {
          pLVar8->win[pWVar1->prev].next = -1;
        }
        pWVar1->hashval = (short)iVar15;
        pWVar1->prev = -1;
        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);
        pWVar1->next = sVar6;
        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;
        if (sVar6 != -1) {
          pLVar8->win[sVar6].prev = (short)uVar13;
        }
        pLVar8->data[uVar13] = uVar3;
        iVar15 = 3;
        pLVar8->winpos = uVar13 + 1 & 0x7fff;
      }
      else {
        iVar15 = 2;
      }
    }
    iVar15 = iVar11 - iVar15;
  }
LAB_0008528b:
  pLVar8->npending = iVar15;
  if (0 < len) {
    local_138 = 0;
    local_14c = 0;
    local_134 = 0;
    local_160 = data;
    local_15c = len;
LAB_000852d0:
    do {
      if ((local_15c < 3) || ((compress & 1U) == 0)) {
LAB_000852e2:
        if (local_14c == 0) {
          (*ctx->literal)(ctx,*local_160);
          iVar11 = 1;
        }
        else {
LAB_000852f1:
          (*ctx->match)(ctx,local_138,local_14c);
          iVar11 = local_14c + -1;
          local_14c = 0;
          if (iVar11 == 0) goto LAB_000852d0;
        }
      }
      else {
        bVar4 = *local_160;
        uVar17 = (uint)bVar4;
        uVar18 = (uint)local_160[1];
        uVar13 = (uint)local_160[2];
        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;
        iVar11 = (int)*(short *)((int)pLVar8 +
                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)
                                          * -0x7f7) * 2 + 0x38004);
        if (iVar11 == -1) goto LAB_000852e2;
        local_154 = pLVar8->winpos;
        iVar15 = 0;
        if (uVar17 != uVar18) {
LAB_0008563d:
          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;
          iVar14 = 0x8000 - iVar10;
          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {
            if (iVar10 == 0x7fff) {
              sVar6 = pLVar8->win[iVar11].next;
              goto joined_r0x0008568a;
            }
            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {
              if (iVar10 == 0x7ffe) {
                bVar4 = *local_160;
              }
              else {
                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];
              }
              if (uVar13 != bVar4) goto LAB_00085631;
              matches[iVar15].distance = iVar14;
              matches[iVar15].len = 3;
              iVar15 = iVar15 + 1;
              if (0x1f < iVar15) goto LAB_00085698;
            }
          }
LAB_00085631:
          sVar6 = pLVar8->win[iVar11].next;
joined_r0x0008568a:
          iVar11 = (int)sVar6;
          if (iVar11 == -1) goto LAB_00085690;
          goto LAB_0008563d;
        }
        do {
          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;
          iVar14 = 0x8000 - iVar10;
          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {
            if (iVar10 == 0x7fff) {
              iVar10 = 1;
LAB_0008552d:
              bVar4 = local_160[iVar10];
            }
            else {
              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;
              if (iVar10 == 0x7ffe) {
                iVar10 = 0;
                goto LAB_0008552d;
              }
              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];
            }
            if (uVar13 == bVar4) {
              matches[iVar15].distance = iVar14;
              matches[iVar15].len = 3;
              iVar15 = iVar15 + 1;
              if (0x1f < iVar15) goto LAB_00085698;
            }
          }
LAB_00085553:
          iVar11 = (int)pLVar8->win[iVar11].next;
        } while (iVar11 != -1);
LAB_00085690:
        if (iVar15 == 0) goto LAB_000852e2;
LAB_00085698:
        local_154 = local_154 + 3;
        iVar10 = 3;
        if (local_15c == 3) {
          iVar10 = 3;
        }
        else {
          do {
            bVar4 = local_160[iVar10];
            pMVar2 = matches + iVar15;
            iVar15 = 0;
            pMVar12 = matches;
            do {
              iVar11 = iVar10 - pMVar12->distance;
              if (iVar11 < 0) {
                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];
              }
              else {
                bVar5 = local_160[iVar11];
              }
              if (bVar5 == bVar4) {
                iVar11 = pMVar12->len;
                matches[iVar15].distance = pMVar12->distance;
                matches[iVar15].len = iVar11;
                iVar15 = iVar15 + 1;
              }
              pMVar12 = pMVar12 + 1;
            } while (pMVar12 != pMVar2);
            if (iVar15 == 0) break;
            iVar10 = iVar10 + 1;
            local_154 = local_154 + 1;
          } while (iVar10 != local_15c);
        }
        matches[0].len = iVar10;
        if (local_14c != 0) {
          if (local_14c + 1 < iVar10) {
            (*ctx->literal)(ctx,(uchar)local_134);
            local_138 = matches[0].distance;
            iVar11 = 1;
            local_14c = iVar10;
            local_134 = (uint)*local_160;
            goto LAB_0008531a;
          }
          goto LAB_000852f1;
        }
        local_138 = matches[0].distance;
        iVar11 = 1;
        local_14c = iVar10;
        local_134 = uVar17;
      }
LAB_0008531a:
      pbVar9 = local_160;
      do {
        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {
          iVar10 = pLVar8->npending;
          if (2 < iVar10) {
                    /* WARNING: Subroutine does not return */
            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");
          }
          pLVar8->npending = iVar10 + 1;
          pLVar8->pending[iVar10] = *pbVar16;
          pbVar9 = pbVar16 + 1;
          local_15c = iVar15 + -1;
          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;
        }
        bVar4 = *pbVar16;
        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;
        iVar10 = pLVar8->winpos;
        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;
        pWVar1 = pLVar8->win + iVar10;
        if (pWVar1->prev == -1) {
          if (pWVar1->hashval != -1) {
            pLVar8->hashtab[pWVar1->hashval].first = -1;
          }
        }
        else {
          pLVar8->win[pWVar1->prev].next = -1;
        }
        pWVar1->hashval = (short)iVar14;
        pWVar1->prev = -1;
        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);
        pWVar1->next = sVar6;
        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;
        if (sVar6 != -1) {
          pLVar8->win[sVar6].prev = (short)iVar10;
        }
        pLVar8->data[iVar10] = bVar4;
        pLVar8->winpos = iVar10 + 1U & 0x7fff;
        pbVar9 = pbVar16 + 1;
        local_15c = iVar15 + -1;
      } while (pbVar16 + 1 != local_160 + iVar11);
LAB_0008541a:
      local_15c = iVar15 + -1;
      local_160 = pbVar16 + 1;
    } while (0 < local_15c);
  }
  if (iVar7 == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)

{
  short *psVar1;
  undefined1 uVar2;
  byte bVar3;
  byte bVar4;
  short sVar5;
  int iVar6;
  byte *pbVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  byte *pbVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  byte *local_160;
  int local_15c;
  int local_154;
  int local_14c;
  int local_138;
  uint local_134;
  int local_120 [68];
  
  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);
  iVar6 = *param_1;
  iVar9 = *(int *)(iVar6 + 0x38ff8);
  if (3 < iVar9) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");
  }
  iVar13 = iVar9;
  if (iVar9 < 1) goto LAB_0008528b;
  iVar8 = param_3 + iVar9;
  if (iVar8 < 3) {
    iVar8 = 0;
LAB_00085826:
    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);
    if ((iVar8 + 1 < iVar9) &&
       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),
       iVar8 + 2 < iVar9)) {
      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);
    }
  }
  else {
    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);
    iVar13 = *(int *)(iVar6 + 0x38000);
    if (iVar9 == 1) {
      uVar11 = (uint)*param_2;
LAB_0008504a:
      bVar3 = param_2[2 - iVar9];
    }
    else {
      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);
      if (iVar9 != 3) goto LAB_0008504a;
      bVar3 = *(byte *)(iVar6 + 0x38ff4);
    }
    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;
    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;
    psVar1 = (short *)(iVar6 + iVar13 * 6);
    if (psVar1[1] == -1) {
      if (psVar1[2] != -1) {
        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
      }
    }
    else {
      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
    }
    psVar1[2] = (short)iVar12;
    iVar12 = iVar6 + iVar12 * 2;
    psVar1[1] = -1;
    sVar5 = *(short *)(iVar12 + 0x38004);
    *psVar1 = sVar5;
    *(short *)(iVar12 + 0x38004) = (short)iVar13;
    if (sVar5 != -1) {
      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;
    }
    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;
    uVar11 = iVar13 + 1U & 0x7fff;
    *(uint *)(iVar6 + 0x38000) = uVar11;
    if (iVar9 == 1) {
      iVar13 = 1;
    }
    else {
      if (iVar8 == 3) {
        iVar8 = 1;
LAB_0008589d:
        iVar13 = iVar9 - iVar8;
        goto LAB_00085826;
      }
      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);
      if (iVar9 == 3) {
        bVar3 = *(byte *)(iVar6 + 0x38ff4);
      }
      else {
        bVar3 = *param_2;
      }
      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;
      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;
      psVar1 = (short *)(iVar6 + uVar11 * 6);
      if (psVar1[1] == -1) {
        if (psVar1[2] != -1) {
          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
        }
      }
      else {
        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
      }
      psVar1[2] = (short)iVar13;
      iVar13 = iVar6 + iVar13 * 2;
      psVar1[1] = -1;
      sVar5 = *(short *)(iVar13 + 0x38004);
      *psVar1 = sVar5;
      *(short *)(iVar13 + 0x38004) = (short)uVar11;
      if (sVar5 != -1) {
        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;
      }
      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;
      uVar11 = uVar11 + 1 & 0x7fff;
      *(uint *)(iVar6 + 0x38000) = uVar11;
      if (iVar9 == 3) {
        if (iVar8 < 5) {
          iVar8 = 2;
          goto LAB_0008589d;
        }
        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);
        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);
        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;
        psVar1 = (short *)(iVar6 + uVar11 * 6);
        if (psVar1[1] == -1) {
          if (psVar1[2] != -1) {
            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
          }
        }
        else {
          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
        }
        psVar1[2] = (short)iVar13;
        iVar13 = iVar6 + iVar13 * 2;
        psVar1[1] = -1;
        sVar5 = *(short *)(iVar13 + 0x38004);
        *psVar1 = sVar5;
        *(short *)(iVar13 + 0x38004) = (short)uVar11;
        if (sVar5 != -1) {
          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;
        }
        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;
        iVar13 = 3;
        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;
      }
      else {
        iVar13 = 2;
      }
    }
    iVar13 = iVar9 - iVar13;
  }
LAB_0008528b:
  *(int *)(iVar6 + 0x38ff8) = iVar13;
  if (0 < param_3) {
    local_138 = 0;
    local_14c = 0;
    local_134 = 0;
    local_160 = param_2;
    local_15c = param_3;
LAB_000852d0:
    do {
      if ((local_15c < 3) || ((param_4 & 1) == 0)) {
LAB_000852e2:
        if (local_14c == 0) {
          (*(code *)param_1[2])(param_1,*local_160);
          iVar9 = 1;
        }
        else {
LAB_000852f1:
          (*(code *)param_1[3])(param_1,local_138,local_14c);
          iVar9 = local_14c + -1;
          local_14c = 0;
          if (iVar9 == 0) goto LAB_000852d0;
        }
      }
      else {
        bVar3 = *local_160;
        uVar15 = (uint)bVar3;
        uVar16 = (uint)local_160[1];
        uVar11 = (uint)local_160[2];
        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;
        iVar9 = (int)*(short *)(iVar6 + 0x38004 +
                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *
                                        -0x7f7) * 2);
        if (iVar9 == -1) goto LAB_000852e2;
        local_154 = *(int *)(iVar6 + 0x38000);
        iVar13 = 0;
        if (uVar15 != uVar16) {
LAB_0008563d:
          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;
          iVar12 = 0x8000 - iVar8;
          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {
            if (iVar8 == 0x7fff) {
              sVar5 = *(short *)(iVar6 + iVar9 * 6);
              goto joined_r0x0008568a;
            }
            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {
              if (iVar8 == 0x7ffe) {
                bVar3 = *local_160;
              }
              else {
                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));
              }
              if (uVar11 != bVar3) goto LAB_00085631;
              local_120[iVar13 * 2] = iVar12;
              local_120[iVar13 * 2 + 1] = 3;
              iVar13 = iVar13 + 1;
              if (0x1f < iVar13) goto LAB_00085698;
            }
          }
LAB_00085631:
          sVar5 = *(short *)(iVar6 + iVar9 * 6);
joined_r0x0008568a:
          iVar9 = (int)sVar5;
          if (iVar9 == -1) goto LAB_00085690;
          goto LAB_0008563d;
        }
        do {
          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;
          iVar12 = 0x8000 - iVar8;
          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {
            if (iVar8 == 0x7fff) {
              iVar8 = 1;
LAB_0008552d:
              bVar3 = local_160[iVar8];
            }
            else {
              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))
              goto LAB_00085553;
              if (iVar8 == 0x7ffe) {
                iVar8 = 0;
                goto LAB_0008552d;
              }
              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));
            }
            if (uVar11 == bVar3) {
              local_120[iVar13 * 2] = iVar12;
              local_120[iVar13 * 2 + 1] = 3;
              iVar13 = iVar13 + 1;
              if (0x1f < iVar13) goto LAB_00085698;
            }
          }
LAB_00085553:
          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);
        } while (iVar9 != -1);
LAB_00085690:
        if (iVar13 == 0) goto LAB_000852e2;
LAB_00085698:
        local_154 = local_154 + 3;
        iVar8 = 3;
        if (local_15c == 3) {
          iVar8 = 3;
        }
        else {
          do {
            bVar3 = local_160[iVar8];
            iVar9 = iVar13 * 2;
            iVar13 = 0;
            piVar10 = local_120;
            do {
              iVar12 = iVar8 - *piVar10;
              if (iVar12 < 0) {
                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));
              }
              else {
                bVar4 = local_160[iVar12];
              }
              if (bVar4 == bVar3) {
                iVar12 = piVar10[1];
                local_120[iVar13 * 2] = *piVar10;
                local_120[iVar13 * 2 + 1] = iVar12;
                iVar13 = iVar13 + 1;
              }
              piVar10 = piVar10 + 2;
            } while (piVar10 != local_120 + iVar9);
            if (iVar13 == 0) break;
            iVar8 = iVar8 + 1;
            local_154 = local_154 + 1;
          } while (iVar8 != local_15c);
        }
        local_120[1] = iVar8;
        if (local_14c != 0) {
          if (local_14c + 1 < iVar8) {
            (*(code *)param_1[2])(param_1,local_134);
            local_138 = local_120[0];
            iVar9 = 1;
            local_14c = iVar8;
            local_134 = (uint)*local_160;
            goto LAB_0008531a;
          }
          goto LAB_000852f1;
        }
        local_138 = local_120[0];
        iVar9 = 1;
        local_14c = iVar8;
        local_134 = uVar15;
      }
LAB_0008531a:
      pbVar7 = local_160;
      do {
        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {
          iVar8 = *(int *)(iVar6 + 0x38ff8);
          if (2 < iVar8) {
                    /* WARNING: Subroutine does not return */
            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");
          }
          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;
          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;
          pbVar7 = pbVar14 + 1;
          local_15c = iVar13 + -1;
          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;
        }
        bVar3 = *pbVar14;
        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;
        iVar8 = *(int *)(iVar6 + 0x38000);
        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;
        psVar1 = (short *)(iVar6 + iVar8 * 6);
        if (psVar1[1] == -1) {
          if (psVar1[2] != -1) {
            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
          }
        }
        else {
          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
        }
        psVar1[2] = (short)iVar12;
        psVar1[1] = -1;
        iVar12 = iVar6 + iVar12 * 2;
        sVar5 = *(short *)(iVar12 + 0x38004);
        *psVar1 = sVar5;
        *(short *)(iVar12 + 0x38004) = (short)iVar8;
        if (sVar5 != -1) {
          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;
        }
        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;
        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;
        pbVar7 = pbVar14 + 1;
        local_15c = iVar13 + -1;
      } while (pbVar14 + 1 != local_160 + iVar9);
LAB_0008541a:
      local_15c = iVar13 + -1;
      local_160 = pbVar14 + 1;
    } while (0 < local_15c);
  }
  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000c60b0();
}


PUSH EBP
PUSH EDI
PUSH ESI
CALL 0x0001ced5
ADD ESI,0xb5778
PUSH EBX
SUB ESP,0x15c
MOV dword ptr [ESP + 0x2c],EAX
MOV dword ptr [ESP + 0x10],ECX
MOV dword ptr [ESP + 0x3c],ESI
MOV ESI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x14c],ESI
XOR ESI,ESI
MOV ESI,dword ptr [EAX]
MOV EBX,dword ptr [ESI + 0x38ff8]
CMP EBX,0x3
JG 0x000858be
MOV EBP,EDX
TEST EBX,EBX
JLE 0x00085891
MOV EAX,ECX
ADD EAX,EBX
MOV dword ptr [ESP + 0x14],EAX
CMP EAX,0x2
JLE 0x00085822
MOVZX EAX,byte ptr [ESI + 0x38ff2]
MOV EDI,dword ptr [ESI + 0x38000]
MOV byte ptr [ESP + 0xc],AL
CMP EBX,0x1
JNZ 0x0008542b
MOVZX ECX,byte ptr [EDX]
MOV EAX,EBP
SUB EAX,EBX
MOVZX EAX,byte ptr [EAX + 0x2]
MOV byte ptr [ESP + 0x18],AL
MOVZX EDX,byte ptr [ESP + 0xc]
IMUL ECX,ECX,0x107
MOV EAX,EDX
SHL EAX,0x8
ADD EAX,EDX
MOV EDX,0x10121457
ADD EAX,ECX
MOVZX ECX,byte ptr [ESP + 0x18]
IMUL ECX,ECX,0x10d
ADD ECX,EAX
MOV EAX,ECX
IMUL EDX
LEA EAX,[EDI + EDI*0x2]
SHR EDX,0x7
IMUL EDX,EDX,0x7f7
SUB ECX,EDX
MOV EDX,ECX
LEA ECX,[ESI + EAX*0x2]
MOVSX EAX,word ptr [ECX + 0x2]
CMP AX,-0x1
JZ 0x000857c2
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2],0xffff
MOV word ptr [ECX + 0x4],DX
MOV EAX,0xffffffff
LEA EDX,[ESI + EDX*0x2]
MOV word ptr [ECX + 0x2],AX
MOVSX EAX,word ptr [EDX + 0x38004]
MOV word ptr [ECX],AX
MOV word ptr [EDX + 0x38004],DI
CMP EAX,-0x1
JZ 0x000850d8
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2 + 0x2],DI
MOVZX EAX,byte ptr [ESP + 0xc]
MOV byte ptr [ESI + EDI*0x1 + 0x30000],AL
ADD EDI,0x1
AND EDI,0x7fff
MOV dword ptr [ESI + 0x38000],EDI
CMP EBX,0x1
JZ 0x000858a3
CMP dword ptr [ESP + 0x14],0x3
JZ 0x00085898
MOVZX EAX,byte ptr [ESI + 0x38ff3]
MOV byte ptr [ESP + 0xc],AL
CMP EBX,0x3
JNZ 0x000857b9
MOVZX EAX,byte ptr [ESI + 0x38ff4]
MOV EDX,EBP
IMUL EAX,EAX,0x107
MOVZX ECX,byte ptr [ESP + 0xc]
SUB EDX,EBX
MOVZX EDX,byte ptr [EDX + 0x3]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,ECX
IMUL EDX,EDX,0x10d
SHL EAX,0x8
ADD ECX,EAX
ADD ECX,dword ptr [ESP + 0x18]
ADD ECX,EDX
MOV EDX,0x10121457
MOV EAX,ECX
IMUL EDX
LEA EAX,[EDI + EDI*0x2]
SHR EDX,0x7
IMUL EDX,EDX,0x7f7
SUB ECX,EDX
MOV EDX,ECX
LEA ECX,[ESI + EAX*0x2]
MOVSX EAX,word ptr [ECX + 0x2]
CMP AX,-0x1
JZ 0x000857df
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2],0xffff
MOV word ptr [ECX + 0x4],DX
MOV EAX,0xffffffff
LEA EDX,[ESI + EDX*0x2]
MOV word ptr [ECX + 0x2],AX
MOVSX EAX,word ptr [EDX + 0x38004]
MOV word ptr [ECX],AX
MOV word ptr [EDX + 0x38004],DI
CMP EAX,-0x1
JZ 0x000851ad
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2 + 0x2],DI
MOVZX EAX,byte ptr [ESP + 0xc]
MOV byte ptr [ESI + EDI*0x1 + 0x30000],AL
ADD EDI,0x1
AND EDI,0x7fff
MOV dword ptr [ESI + 0x38000],EDI
CMP EBX,0x3
JNZ 0x000858b4
CMP dword ptr [ESP + 0x14],0x4
JLE 0x000858ad
MOVZX ECX,byte ptr [ESI + 0x38ff4]
MOVZX EDX,byte ptr [EBP]
MOV EAX,ECX
IMUL EDX,EDX,0x107
MOV byte ptr [ESP + 0xc],CL
SHL EAX,0x8
ADD ECX,EAX
ADD EDX,ECX
MOVZX ECX,byte ptr [EBP + 0x1]
IMUL ECX,ECX,0x10d
ADD ECX,EDX
MOV EDX,0x10121457
MOV EAX,ECX
IMUL EDX
LEA EAX,[EDI + EDI*0x2]
SHR EDX,0x7
IMUL EDX,EDX,0x7f7
SUB ECX,EDX
MOV EDX,ECX
LEA ECX,[ESI + EAX*0x2]
MOVSX EAX,word ptr [ECX + 0x2]
CMP AX,-0x1
JZ 0x000857fc
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2],0xffff
MOV word ptr [ECX + 0x4],DX
MOV EAX,0xffffffff
LEA EDX,[ESI + EDX*0x2]
MOV word ptr [ECX + 0x2],AX
MOVSX EAX,word ptr [EDX + 0x38004]
MOV word ptr [ECX],AX
MOV word ptr [EDX + 0x38004],DI
CMP EAX,-0x1
JZ 0x00085267
LEA EAX,[EAX + EAX*0x2]
MOV word ptr [ESI + EAX*0x2 + 0x2],DI
MOVZX EAX,byte ptr [ESP + 0xc]
MOV byte ptr [ESI + EDI*0x1 + 0x30000],AL
ADD EDI,0x1
MOV EAX,0x3
AND EDI,0x7fff
MOV dword ptr [ESI + 0x38000],EDI
SUB EBX,EAX
MOV EDX,EBX
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESI + 0x38ff8],EDX
TEST EAX,EAX
JLE 0x0008546d
MOVZX EAX,byte ptr [ESP + 0x170]
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x20],0x0
AND EAX,0x1
MOV dword ptr [ESP + 0x38],0x0
MOV byte ptr [ESP + 0x33],AL
MOV dword ptr [ESP + 0xc],EBP
LEA ESI,[ESI]
NOP
CMP dword ptr [ESP + 0x10],0x2
JLE 0x000852e2
CMP byte ptr [ESP + 0x33],0x0
JNZ 0x000854b0
MOV EBX,dword ptr [ESP + 0x20]
TEST EBX,EBX
JZ 0x00085490
SUB ESP,0x4
PUSH EBX
PUSH dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [ESP + 0x38]
PUSH EAX
CALL dword ptr [EAX + 0xc]
MOV EAX,EBX
MOV ECX,dword ptr [ESP + 0x1c]
SUB EAX,0x1
ADD ESP,0x10
MOV dword ptr [ESP + 0x20],0x0
TEST EAX,EAX
JZ 0x00085422
MOV ECX,dword ptr [ESP + 0xc]
MOV EBX,dword ptr [ESP + 0x10]
ADD EAX,ECX
MOV dword ptr [ESP + 0xc],EAX
JMP 0x000853e2
MOVZX EDI,byte ptr [ECX]
MOVZX EDX,byte ptr [ECX + 0x1]
MOV EAX,EDI
IMUL EDX,EDX,0x107
MOV byte ptr [ESP + 0x10],AL
SHL EAX,0x8
ADD EDI,EAX
MOVZX EAX,byte ptr [ECX + 0x2]
ADD EDI,EDX
IMUL EAX,EAX,0x10d
ADD EDI,EAX
MOV EAX,0x10121457
IMUL EDI
MOV EAX,dword ptr [ESI + 0x38000]
SHR EDX,0x7
IMUL EDX,EDX,0x7f7
SUB EDI,EDX
MOV EDX,EDI
LEA EDI,[EAX + EAX*0x2]
LEA EDI,[ESI + EDI*0x2]
MOVSX EBP,word ptr [EDI + 0x2]
CMP BP,-0x1
JZ 0x00085450
LEA EBP,[EBP + EBP*0x2]
MOV word ptr [ESI + EBP*0x2],0xffff
MOV EBP,0xffffffff
MOV word ptr [EDI + 0x4],DX
MOV word ptr [EDI + 0x2],BP
LEA EBP,[ESI + EDX*0x2]
MOVSX EDX,word ptr [EBP + 0x38004]
MOV word ptr [EDI],DX
MOV word ptr [EBP + 0x38004],AX
CMP EDX,-0x1
JZ 0x000853bc
LEA EDX,[EDX + EDX*0x2]
MOV word ptr [ESI + EDX*0x2 + 0x2],AX
MOVZX EDX,byte ptr [ESP + 0x10]
ADD ECX,0x1
SUB EBX,0x1
MOV byte ptr [ESI + EAX*0x1 + 0x30000],DL
ADD EAX,0x1
AND EAX,0x7fff
MOV dword ptr [ESI + 0x38000],EAX
CMP ECX,dword ptr [ESP + 0xc]
JZ 0x0008541a
CMP EBX,0x2
JG 0x00085330
MOV EAX,dword ptr [ESI + 0x38ff8]
CMP EAX,0x2
JG 0x0008586e
LEA EDX,[EAX + 0x1]
ADD ECX,0x1
SUB EBX,0x1
MOV dword ptr [ESI + 0x38ff8],EDX
MOVZX EDX,byte ptr [ECX + -0x1]
MOV byte ptr [ESI + EAX*0x1 + 0x38ff2],DL
CMP ECX,dword ptr [ESP + 0xc]
JNZ 0x000853e2
MOV dword ptr [ESP + 0x10],EBX
TEST EBX,EBX
JLE 0x0008546d
MOV dword ptr [ESP + 0xc],ECX
JMP 0x000852d0
MOVZX ECX,byte ptr [ESI + 0x38ff3]
CMP EBX,0x3
JNZ 0x0008504a
MOVZX EAX,byte ptr [ESI + 0x38ff4]
MOV byte ptr [ESP + 0x18],AL
JMP 0x00085056
MOVSX EBP,word ptr [EDI + 0x4]
CMP BP,-0x1
JZ 0x0008538e
MOV word ptr [ESI + EBP*0x2 + 0x38004],0xffff
JMP 0x0008538e
MOV EAX,dword ptr [ESP + 0x14c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000858e1
ADD ESP,0x15c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
MOVZX EAX,byte ptr [EAX]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x38]
PUSH EAX
CALL dword ptr [EAX + 0x8]
MOV EAX,0x1
ADD ESP,0x10
JMP 0x0008531a
MOV EAX,dword ptr [ESP + 0xc]
MOVZX EBX,byte ptr [EAX]
MOVZX EDI,byte ptr [EAX + 0x1]
MOVZX EDX,byte ptr [EAX + 0x2]
MOV ECX,EBX
IMUL EAX,EDI,0x107
MOV dword ptr [ESP + 0x14],EBX
SHL ECX,0x8
MOV dword ptr [ESP + 0x18],EDX
ADD ECX,EBX
MOV dword ptr [ESP + 0x1c],EDI
ADD ECX,EAX
IMUL EAX,EDX,0x10d
ADD ECX,EAX
MOV EAX,0x10121457
IMUL ECX
SHR EDX,0x7
IMUL EAX,EDX,0x7f7
SUB ECX,EAX
MOVSX ECX,word ptr [ESI + ECX*0x2 + 0x38004]
CMP ECX,-0x1
JZ 0x000852e2
MOV EBP,dword ptr [ESI + 0x38000]
XOR EDX,EDX
LEA EAX,[EBP + 0x1]
MOV dword ptr [ESP + 0x24],EAX
LEA EAX,[EBP + 0x2]
MOV dword ptr [ESP + 0x28],EAX
CMP EBX,EDI
JZ 0x00085563
JMP 0x0008563d
MOV EAX,0x1
MOV EBX,dword ptr [ESP + 0xc]
MOVZX EAX,byte ptr [EBX + EAX*0x1]
CMP dword ptr [ESP + 0x18],EAX
JNZ 0x00085553
MOV dword ptr [ESP + EDX*0x8 + 0x4c],EDI
MOV dword ptr [ESP + EDX*0x8 + 0x50],0x3
ADD EDX,0x1
CMP EDX,0x1f
JG 0x00085698
LEA EAX,[ECX + ECX*0x2]
MOVSX ECX,word ptr [ESI + EAX*0x2]
CMP ECX,-0x1
JZ 0x00085690
LEA EAX,[ECX + 0x8000]
MOV EDI,0x8000
SUB EAX,EBP
MOV EBX,EAX
SAR EBX,0x1f
SHR EBX,0x11
ADD EAX,EBX
AND EAX,0x7fff
SUB EAX,EBX
MOV EBX,EBP
SUB EDI,EAX
SUB EBX,EDI
AND EBX,0x7fff
MOVZX EBX,byte ptr [ESI + EBX*0x1 + 0x30000]
CMP dword ptr [ESP + 0x14],EBX
JNZ 0x00085553
CMP EAX,0x7fff
JZ 0x00085528
MOV EBX,dword ptr [ESP + 0x24]
SUB EBX,EDI
AND EBX,0x7fff
MOVZX EBX,byte ptr [ESI + EBX*0x1 + 0x30000]
CMP dword ptr [ESP + 0x1c],EBX
JNZ 0x00085553
CMP EAX,0x7ffe
JZ 0x000857b2
MOV EAX,dword ptr [ESP + 0x28]
SUB EAX,EDI
AND EAX,0x7fff
MOVZX EAX,byte ptr [ESI + EAX*0x1 + 0x30000]
JMP 0x00085535
MOV EBX,dword ptr [ESP + 0x24]
SUB EBX,EDI
AND EBX,0x7fff
MOVZX EBX,byte ptr [ESI + EBX*0x1 + 0x30000]
CMP dword ptr [ESP + 0x1c],EBX
JNZ 0x00085631
CMP EAX,0x7ffe
JZ 0x0008577c
MOV EAX,dword ptr [ESP + 0x28]
SUB EAX,EDI
AND EAX,0x7fff
MOVZX EAX,byte ptr [ESI + EAX*0x1 + 0x30000]
CMP dword ptr [ESP + 0x18],EAX
JNZ 0x00085631
MOV dword ptr [ESP + EDX*0x8 + 0x4c],EDI
MOV dword ptr [ESP + EDX*0x8 + 0x50],0x3
ADD EDX,0x1
CMP EDX,0x1f
JG 0x00085698
LEA EAX,[ECX + ECX*0x2]
MOVSX ECX,word ptr [ESI + EAX*0x2]
CMP ECX,-0x1
JZ 0x00085690
LEA EAX,[ECX + 0x8000]
MOV EDI,0x8000
SUB EAX,EBP
MOV EBX,EAX
SAR EBX,0x1f
SHR EBX,0x11
ADD EAX,EBX
AND EAX,0x7fff
SUB EAX,EBX
MOV EBX,EBP
SUB EDI,EAX
SUB EBX,EDI
AND EBX,0x7fff
MOVZX EBX,byte ptr [ESI + EBX*0x1 + 0x30000]
CMP dword ptr [ESP + 0x14],EBX
JNZ 0x00085631
CMP EAX,0x7fff
JNZ 0x000855df
LEA EAX,[ECX + ECX*0x2]
MOVSX ECX,word ptr [ESI + EAX*0x2]
CMP ECX,-0x1
JNZ 0x0008563d
LEA ESI,[ESI]
TEST EDX,EDX
JZ 0x000852e2
LEA EAX,[EBP + 0x3]
CMP dword ptr [ESP + 0x10],0x3
MOV EDI,0x3
MOV dword ptr [ESP + 0x18],EAX
LEA EAX,[ESP + 0x4c]
MOV dword ptr [ESP + 0x24],EAX
JZ 0x00085819
MOV dword ptr [ESP + 0x1c],ESI
LEA ESI,[ESI]
NOP
MOV EAX,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x24]
MOVZX EBP,byte ptr [EAX + EDI*0x1]
MOV EAX,ESI
LEA ESI,[ESI + EDX*0x8]
XOR EDX,EDX
JMP 0x000856fb
MOV ECX,dword ptr [ESP + 0xc]
MOVZX ECX,byte ptr [ECX + EBX*0x1]
CMP ECX,EBP
JNZ 0x000856f4
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + EDX*0x8 + 0x4c],ECX
MOV dword ptr [ESP + EDX*0x8 + 0x50],EBX
ADD EDX,0x1
ADD EAX,0x8
CMP EAX,ESI
JZ 0x00085720
MOV ECX,dword ptr [EAX]
MOV EBX,EDI
SUB EBX,ECX
JNS 0x000856d8
MOV EBX,dword ptr [ESP + 0x18]
SUB EBX,ECX
MOV ECX,EBX
MOV EBX,dword ptr [ESP + 0x1c]
AND ECX,0x7fff
MOVZX ECX,byte ptr [EBX + ECX*0x1 + 0x30000]
JMP 0x000856e0
TEST EDX,EDX
JZ 0x00085732
ADD EDI,0x1
ADD dword ptr [ESP + 0x18],0x1
CMP EDI,dword ptr [ESP + 0x10]
JNZ 0x000856c0
MOV ESI,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x50],EDI
TEST EAX,EAX
JZ 0x00085788
ADD EAX,0x1
CMP EAX,EDI
JGE 0x000857a6
SUB ESP,0x8
PUSH dword ptr [ESP + 0x40]
MOV EAX,dword ptr [ESP + 0x38]
PUSH EAX
CALL dword ptr [EAX + 0x8]
MOV EAX,dword ptr [ESP + 0x5c]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [ESP + 0x1c]
MOVZX EAX,byte ptr [EAX]
MOV dword ptr [ESP + 0x48],EAX
ADD ESP,0x10
MOV EAX,0x1
MOV dword ptr [ESP + 0x20],EDI
JMP 0x0008531a
MOV EAX,dword ptr [ESP + 0xc]
MOVZX EAX,byte ptr [EAX]
JMP 0x00085617
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x20],EDI
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x38],EAX
MOV EAX,0x1
JMP 0x0008531a
SUB ESP,0x4
MOV EBX,dword ptr [ESP + 0x24]
JMP 0x000852f1
XOR EAX,EAX
JMP 0x0008552d
MOVZX EAX,byte ptr [EBP]
JMP 0x00085122
MOVSX EAX,word ptr [ECX + 0x4]
CMP AX,-0x1
JZ 0x000850aa
MOV word ptr [ESI + EAX*0x2 + 0x38004],0xffff
JMP 0x000850aa
MOVSX EAX,word ptr [ECX + 0x4]
CMP AX,-0x1
JZ 0x0008517f
MOV word ptr [ESI + EAX*0x2 + 0x38004],0xffff
JMP 0x0008517f
MOVSX EAX,word ptr [ECX + 0x4]
CMP AX,-0x1
JZ 0x00085239
MOV word ptr [ESI + EAX*0x2 + 0x38004],0xffff
JMP 0x00085239
MOV EDI,dword ptr [ESP + 0x10]
JMP 0x00085736
MOV EDX,EBX
XOR EAX,EAX
MOVZX ECX,byte ptr [ESI + EAX*0x1 + 0x38ff2]
MOV byte ptr [ESI + 0x38ff2],CL
LEA ECX,[EAX + 0x1]
CMP EBX,ECX
JLE 0x0008528b
MOVZX ECX,byte ptr [ESI + EAX*0x1 + 0x38ff3]
MOV byte ptr [ESI + 0x38ff3],CL
LEA ECX,[EAX + 0x2]
CMP EBX,ECX
JLE 0x0008528b
MOVZX ECX,byte ptr [ESI + 0x38ff4]
MOV EBX,ESI
SUB EBX,EAX
MOV byte ptr [EBX + 0x38ff4],CL
JMP 0x0008528b
MOV EBX,dword ptr [ESP + 0x3c]
LEA EAX,[EBX + 0xfffb1538]
PUSH EAX
LEA EAX,[EBX + 0xfffb143a]
PUSH 0x157
PUSH EAX
LEA EAX,[EBX + 0xfffb145e]
PUSH EAX
CALL 0x0001c000
MOV EDX,EBX
JMP 0x0008528b
MOV EAX,0x1
MOV EDX,EBX
SUB EDX,EAX
JMP 0x00085826
MOV EAX,0x1
JMP 0x00085287
MOV EAX,0x2
JMP 0x0008589d
MOV EAX,0x2
JMP 0x00085287
MOV EBX,dword ptr [ESP + 0x3c]
LEA EAX,[EBX + 0xfffb1538]
PUSH EAX
LEA EAX,[EBX + 0xfffb143a]
PUSH 0xd0
PUSH EAX
LEA EAX,[EBX + 0xfffb1444]
PUSH EAX
CALL 0x0001c000
CALL 0x000c60b0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)\n\n{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0();\n}\n\n" comment (function_definition "void __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)\n\n{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)" identifier (parameter_list "(int *param_1,byte *param_2,int param_3,byte param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte param_4" type_identifier identifier) ))) (compound_statement "{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000c60b0();\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "short sVar5;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte *local_160;" type_identifier (pointer_declarator "*local_160" * identifier) ;) (declaration "int local_15c;" primitive_type identifier ;) (declaration "int local_154;" primitive_type identifier ;) (declaration "int local_14c;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "uint local_134;" type_identifier identifier ;) (declaration "int local_120 [68];" primitive_type (array_declarator "local_120 [68]" identifier [ number_literal ]) ;) (expression_statement "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar9 = *(int *)(iVar6 + 0x38ff8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) ))))) ;) (if_statement "if (3 < iVar9) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" if (parenthesized_expression "(3 < iVar9)" ( (binary_expression "3 < iVar9" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" { comment (expression_statement "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");" (call_expression "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" identifier (argument_list "("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" ( (string_literal ""st->npending <= HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "iVar13 = iVar9;" (assignment_expression "iVar13 = iVar9" identifier = identifier) ;) (if_statement "if (iVar9 < 1) goto LAB_0008528b;" if (parenthesized_expression "(iVar9 < 1)" ( (binary_expression "iVar9 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0008528b;" goto statement_identifier ;)) (expression_statement "iVar8 = param_3 + iVar9;" (assignment_expression "iVar8 = param_3 + iVar9" identifier = (binary_expression "param_3 + iVar9" identifier + identifier)) ;) (if_statement "if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" if (parenthesized_expression "(iVar8 < 3)" ( (binary_expression "iVar8 < 3" identifier < number_literal) )) (compound_statement "{\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" statement_identifier : (expression_statement "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2)" ( (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" ( (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) + identifier) ))))) ;)) (if_statement "if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" if (parenthesized_expression "((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9))" ( (binary_expression "(iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" (parenthesized_expression "(iVar8 + 1 < iVar9)" ( (binary_expression "iVar8 + 1 < iVar9" (binary_expression "iVar8 + 1" identifier + number_literal) < identifier) )) && (parenthesized_expression "(*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" ( (comma_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3 + iVar8)" ( (binary_expression "iVar6 + 0x38ff3 + iVar8" (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) + identifier) ))))) , (binary_expression "iVar8 + 2 < iVar9" (binary_expression "iVar8 + 2" identifier + number_literal) < identifier)) ))) )) (compound_statement "{\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" { (expression_statement "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4)" (pointer_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" * (cast_expression "(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar6 - iVar8) + 0x38ff4)" ( (binary_expression "(iVar6 - iVar8) + 0x38ff4" (parenthesized_expression "(iVar6 - iVar8)" ( (binary_expression "iVar6 - iVar8" identifier - identifier) )) + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" else (compound_statement "{\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" { (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2)" ( (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar13 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" if (parenthesized_expression "(iVar9 == 1)" ( (binary_expression "iVar9 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }" { (expression_statement "uVar11 = (uint)*param_2;" (assignment_expression "uVar11 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0008504a:\n      bVar3 = param_2[2 - iVar9];" statement_identifier : (expression_statement "bVar3 = param_2[2 - iVar9];" (assignment_expression "bVar3 = param_2[2 - iVar9]" identifier = (subscript_expression "param_2[2 - iVar9]" identifier [ (binary_expression "2 - iVar9" number_literal - identifier) ])) ;)) }) (else_clause "else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" else (compound_statement "{\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" { (expression_statement "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3)" identifier = (binary_expression "(uint)*(byte *)(iVar6 + 0x38ff3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar6 + 0x38ff3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 != 3) goto LAB_0008504a;" if (parenthesized_expression "(iVar9 != 3)" ( (binary_expression "iVar9 != 3" identifier != number_literal) )) (goto_statement "goto LAB_0008504a;" goto statement_identifier ;)) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" * (cast_expression "(byte *)(iVar6 + 0x38ff4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;" (assignment_expression "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" identifier = (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)bVar3 * 0x10d" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier ))))) + (binary_expression "uVar11 * 0x107" identifier * number_literal))) ;) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar12 * 0x10121457)" ( (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + iVar13 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar13 * 6)" identifier = (cast_expression "(short *)(iVar6 + iVar13 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar13 * 6)" ( (binary_expression "iVar6 + iVar13 * 6" identifier + (binary_expression "iVar13 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }" { (if_statement "if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" else (compound_statement "{\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar12" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" identifier = (binary_expression "iVar6 + iVar12 * 2" identifier + (binary_expression "iVar12 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar13;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar13" (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + iVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + iVar13)" ( (binary_expression "iVar6 + 0x30000 + iVar13" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "uVar11 = iVar13 + 1U & 0x7fff;" (assignment_expression "uVar11 = iVar13 + 1U & 0x7fff" identifier = (binary_expression "iVar13 + 1U & 0x7fff" (binary_expression "iVar13 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" if (parenthesized_expression "(iVar9 == 1)" ( (binary_expression "iVar9 == 1" identifier == number_literal) )) (compound_statement "{\n      iVar13 = 1;\n    }" { (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" else (compound_statement "{\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" { (if_statement "if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" if (parenthesized_expression "(iVar8 == 3)" ( (binary_expression "iVar8 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008589d:\n        iVar13 = iVar9 - iVar8;" statement_identifier : (expression_statement "iVar13 = iVar9 - iVar8;" (assignment_expression "iVar13 = iVar9 - iVar8" identifier = (binary_expression "iVar9 - iVar8" identifier - identifier)) ;)) (goto_statement "goto LAB_00085826;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }" if (parenthesized_expression "(iVar9 == 3)" ( (binary_expression "iVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }" { (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" * (cast_expression "(byte *)(iVar6 + 0x38ff4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        bVar3 = *param_2;\n      }" else (compound_statement "{\n        bVar3 = *param_2;\n      }" { (expression_statement "bVar3 = *param_2;" (assignment_expression "bVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }))) (expression_statement "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;" (assignment_expression "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107" (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier )))) + (binary_expression "(uint)bVar3 * 0x107" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + (binary_expression "(uint)param_2[3 - iVar9] * 0x10d" (cast_expression "(uint)param_2[3 - iVar9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3 - iVar9]" identifier [ (binary_expression "3 - iVar9" number_literal - identifier) ])) * number_literal))) ;) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar13 * 0x10121457)" ( (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" identifier = (cast_expression "(short *)(iVar6 + uVar11 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar11 * 6)" ( (binary_expression "iVar6 + uVar11 * 6" identifier + (binary_expression "uVar11 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }" { (if_statement "if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" else (compound_statement "{\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" identifier = (binary_expression "iVar6 + iVar13 * 2" identifier + (binary_expression "iVar13 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" ( (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "uVar11 = uVar11 + 1 & 0x7fff;" (assignment_expression "uVar11 = uVar11 + 1 & 0x7fff" identifier = (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" identifier + number_literal) & number_literal)) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }" if (parenthesized_expression "(iVar9 == 3)" ( (binary_expression "iVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }" { (if_statement "if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" if (parenthesized_expression "(iVar8 < 5)" ( (binary_expression "iVar8 < 5" identifier < number_literal) )) (compound_statement "{\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_0008589d;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);" (assignment_expression "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" identifier = (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107" (binary_expression "(uint)param_2[1] * 0x10d" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*param_2 * 0x107" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier )))))) ;) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar13 * 0x10121457)" ( (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" identifier = (cast_expression "(short *)(iVar6 + uVar11 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar11 * 6)" ( (binary_expression "iVar6 + uVar11 * 6" identifier + (binary_expression "uVar11 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" { (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" else (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" identifier = (binary_expression "iVar6 + iVar13 * 2" identifier + (binary_expression "iVar13 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" ( (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "iVar13 = 3;" (assignment_expression "iVar13 = 3" identifier = number_literal) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" identifier + number_literal) & number_literal)) ;) }) (else_clause "else {\n        iVar13 = 2;\n      }" else (compound_statement "{\n        iVar13 = 2;\n      }" { (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "iVar13 = iVar9 - iVar13;" (assignment_expression "iVar13 = iVar9 - iVar13" identifier = (binary_expression "iVar9 - iVar13" identifier - identifier)) ;) }))) (labeled_statement "LAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;" statement_identifier : (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar13;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar13" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) )))) = identifier) ;)) (if_statement "if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (expression_statement "local_134 = 0;" (assignment_expression "local_134 = 0" identifier = number_literal) ;) (expression_statement "local_160 = param_2;" (assignment_expression "local_160 = param_2" identifier = identifier) ;) (expression_statement "local_15c = param_3;" (assignment_expression "local_15c = param_3" identifier = identifier) ;) (labeled_statement "LAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" statement_identifier : (do_statement "do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" do (compound_statement "{\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    }" { (if_statement "if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" if (parenthesized_expression "((local_15c < 3) || ((param_4 & 1) == 0))" ( (binary_expression "(local_15c < 3) || ((param_4 & 1) == 0)" (parenthesized_expression "(local_15c < 3)" ( (binary_expression "local_15c < 3" identifier < number_literal) )) || (parenthesized_expression "((param_4 & 1) == 0)" ( (binary_expression "(param_4 & 1) == 0" (parenthesized_expression "(param_4 & 1)" ( (binary_expression "param_4 & 1" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }" { (labeled_statement "LAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" statement_identifier : (if_statement "if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" if (parenthesized_expression "(local_14c == 0)" ( (binary_expression "local_14c == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }" { (expression_statement "(*(code *)param_1[2])(param_1,*local_160);" (call_expression "(*(code *)param_1[2])(param_1,*local_160)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_1,*local_160)" ( identifier , (pointer_expression "*local_160" * identifier) ))) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" else (compound_statement "{\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" { (labeled_statement "LAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);" statement_identifier : (expression_statement "(*(code *)param_1[3])(param_1,local_138,local_14c);" (call_expression "(*(code *)param_1[3])(param_1,local_138,local_14c)" (parenthesized_expression "(*(code *)param_1[3])" ( (pointer_expression "*(code *)param_1[3]" * (cast_expression "(code *)param_1[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) )) (argument_list "(param_1,local_138,local_14c)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar9 = local_14c + -1;" (assignment_expression "iVar9 = local_14c + -1" identifier = (binary_expression "local_14c + -1" identifier + number_literal)) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (if_statement "if (iVar9 == 0) goto LAB_000852d0;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852d0;" goto statement_identifier ;)) })))) }) (else_clause "else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" else (compound_statement "{\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" { (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) (expression_statement "uVar15 = (uint)bVar3;" (assignment_expression "uVar15 = (uint)bVar3" identifier = (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar16 = (uint)local_160[1];" (assignment_expression "uVar16 = (uint)local_160[1]" identifier = (cast_expression "(uint)local_160[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = (uint)local_160[2];" (assignment_expression "uVar11 = (uint)local_160[2]" identifier = (cast_expression "(uint)local_160[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;" (assignment_expression "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar3,bVar3)" identifier (argument_list "(bVar3,bVar3)" ( identifier , identifier )))) + (binary_expression "uVar16 * 0x107" identifier * number_literal)) + (binary_expression "uVar11 * 0x10d" identifier * number_literal))) ;) (expression_statement "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" identifier = (cast_expression "(int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" * (cast_expression "(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (binary_expression "iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (parenthesized_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7)" ( (binary_expression "iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar9 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar9 * 0x10121457)" ( (binary_expression "(longlong)iVar9 * 0x10121457" (cast_expression "(longlong)iVar9" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal)) )) * number_literal)) )))))) ;) (if_statement "if (iVar9 == -1) goto LAB_000852e2;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;)) (expression_statement "local_154 = *(int *)(iVar6 + 0x38000);" (assignment_expression "local_154 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" if (parenthesized_expression "(uVar15 != uVar16)" ( (binary_expression "uVar15 != uVar16" identifier != identifier) )) (compound_statement "{\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" { (labeled_statement "LAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" statement_identifier : (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" ( (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" ( (binary_expression "iVar9 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;)) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" identifier = (binary_expression "0x8000 - iVar8" number_literal - identifier)) ;) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" ( (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" ( (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" identifier - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" if (parenthesized_expression "(iVar8 == 0x7fff)" ( (binary_expression "iVar8 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" { (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" identifier = (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) ))))) ;) (goto_statement "goto joined_r0x0008568a;" goto statement_identifier ;) })) (if_statement "if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" ( (binary_expression "uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" { (if_statement "if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" if (parenthesized_expression "(iVar8 == 0x7ffe)" ( (binary_expression "iVar8 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                bVar3 = *local_160;\n              }" { (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) }) (else_clause "else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" else (compound_statement "{\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" { (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) ;) }))) (if_statement "if (uVar11 != bVar3) goto LAB_00085631;" if (parenthesized_expression "(uVar11 != bVar3)" ( (binary_expression "uVar11 != bVar3" identifier != identifier) )) (goto_statement "goto LAB_00085631;" goto statement_identifier ;)) (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = identifier) ;) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = number_literal) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar13)" ( (binary_expression "0x1f < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);" statement_identifier : (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" identifier = (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) ))))) ;)) (labeled_statement "joined_r0x0008568a:\n          iVar9 = (int)sVar5;" statement_identifier : (expression_statement "iVar9 = (int)sVar5;" (assignment_expression "iVar9 = (int)sVar5" identifier = (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (if_statement "if (iVar9 == -1) goto LAB_00085690;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00085690;" goto statement_identifier ;)) (goto_statement "goto LAB_0008563d;" goto statement_identifier ;) })) (do_statement "do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);" do (compound_statement "{\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        }" { (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" ( (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" ( (binary_expression "iVar9 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" identifier = (binary_expression "0x8000 - iVar8" number_literal - identifier)) ;) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" ( (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" ( (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" identifier - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" if (parenthesized_expression "(iVar8 == 0x7fff)" ( (binary_expression "iVar8 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008552d:\n              bVar3 = local_160[iVar8];" statement_identifier : (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" identifier = (subscript_expression "local_160[iVar8]" identifier [ identifier ])) ;)) }) (else_clause "else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" else (compound_statement "{\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" { (if_statement "if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;" if (parenthesized_expression "(uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" ( (binary_expression "uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" identifier != (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) )) (goto_statement "goto LAB_00085553;" goto statement_identifier ;)) (if_statement "if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" if (parenthesized_expression "(iVar8 == 0x7ffe)" ( (binary_expression "iVar8 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0008552d;" goto statement_identifier ;) })) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) ;) }))) (if_statement "if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar11 == bVar3)" ( (binary_expression "uVar11 == bVar3" identifier == identifier) )) (compound_statement "{\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" { (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = identifier) ;) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = number_literal) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar13)" ( (binary_expression "0x1f < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" statement_identifier : (expression_statement "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6)" identifier = (cast_expression "(int)*(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) )))))) ;)) }) while (parenthesized_expression "(iVar9 != -1)" ( (binary_expression "iVar9 != -1" identifier != number_literal) )) ;) (labeled_statement "LAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;" statement_identifier : (if_statement "if (iVar13 == 0) goto LAB_000852e2;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;))) (labeled_statement "LAB_00085698:\n        local_154 = local_154 + 3;" statement_identifier : (expression_statement "local_154 = local_154 + 3;" (assignment_expression "local_154 = local_154 + 3" identifier = (binary_expression "local_154 + 3" identifier + number_literal)) ;)) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) (if_statement "if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" if (parenthesized_expression "(local_15c == 3)" ( (binary_expression "local_15c == 3" identifier == number_literal) )) (compound_statement "{\n          iVar8 = 3;\n        }" { (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" else (compound_statement "{\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" { (do_statement "do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);" do (compound_statement "{\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          }" { (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" identifier = (subscript_expression "local_160[iVar8]" identifier [ identifier ])) ;) (expression_statement "iVar9 = iVar13 * 2;" (assignment_expression "iVar9 = iVar13 * 2" identifier = (binary_expression "iVar13 * 2" identifier * number_literal)) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "piVar10 = local_120;" (assignment_expression "piVar10 = local_120" identifier = identifier) ;) (do_statement "do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);" do (compound_statement "{\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            }" { (expression_statement "iVar12 = iVar8 - *piVar10;" (assignment_expression "iVar12 = iVar8 - *piVar10" identifier = (binary_expression "iVar8 - *piVar10" identifier - (pointer_expression "*piVar10" * identifier))) ;) (if_statement "if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }" if (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) (compound_statement "{\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }" { (expression_statement "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));" (assignment_expression "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - *piVar10 & 0x7fffU)" ( (binary_expression "local_154 - *piVar10 & 0x7fffU" (binary_expression "local_154 - *piVar10" identifier - (pointer_expression "*piVar10" * identifier)) & number_literal) ))) ))))) ;) }) (else_clause "else {\n                bVar4 = local_160[iVar12];\n              }" else (compound_statement "{\n                bVar4 = local_160[iVar12];\n              }" { (expression_statement "bVar4 = local_160[iVar12];" (assignment_expression "bVar4 = local_160[iVar12]" identifier = (subscript_expression "local_160[iVar12]" identifier [ identifier ])) ;) }))) (if_statement "if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" if (parenthesized_expression "(bVar4 == bVar3)" ( (binary_expression "bVar4 == bVar3" identifier == identifier) )) (compound_statement "{\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" { (expression_statement "iVar12 = piVar10[1];" (assignment_expression "iVar12 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "local_120[iVar13 * 2] = *piVar10;" (assignment_expression "local_120[iVar13 * 2] = *piVar10" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "local_120[iVar13 * 2 + 1] = iVar12;" (assignment_expression "local_120[iVar13 * 2 + 1] = iVar12" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar10 = piVar10 + 2;" (assignment_expression "piVar10 = piVar10 + 2" identifier = (binary_expression "piVar10 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar10 != local_120 + iVar9)" ( (binary_expression "piVar10 != local_120 + iVar9" identifier != (binary_expression "local_120 + iVar9" identifier + identifier)) )) ;) (if_statement "if (iVar13 == 0) break;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_154 = local_154 + 1;" (assignment_expression "local_154 = local_154 + 1" identifier = (binary_expression "local_154 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != local_15c)" ( (binary_expression "iVar8 != local_15c" identifier != identifier) )) ;) }))) (expression_statement "local_120[1] = iVar8;" (assignment_expression "local_120[1] = iVar8" (subscript_expression "local_120[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" if (parenthesized_expression "(local_14c != 0)" ( (binary_expression "local_14c != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" { (if_statement "if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" if (parenthesized_expression "(local_14c + 1 < iVar8)" ( (binary_expression "local_14c + 1 < iVar8" (binary_expression "local_14c + 1" identifier + number_literal) < identifier) )) (compound_statement "{\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" { (expression_statement "(*(code *)param_1[2])(param_1,local_134);" (call_expression "(*(code *)param_1[2])(param_1,local_134)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_1,local_134)" ( identifier , identifier ))) ;) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" identifier = (subscript_expression "local_120[0]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" identifier = identifier) ;) (expression_statement "local_134 = (uint)*local_160;" (assignment_expression "local_134 = (uint)*local_160" identifier = (binary_expression "(uint)*local_160" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto LAB_0008531a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000852f1;" goto statement_identifier ;) })) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" identifier = (subscript_expression "local_120[0]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" identifier = identifier) ;) (expression_statement "local_134 = uVar15;" (assignment_expression "local_134 = uVar15" identifier = identifier) ;) }))) (labeled_statement "LAB_0008531a:\n      pbVar7 = local_160;" statement_identifier : (expression_statement "pbVar7 = local_160;" (assignment_expression "pbVar7 = local_160" identifier = identifier) ;)) (do_statement "do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);" do (compound_statement "{\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      }" { (while_statement "while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" while (parenthesized_expression "(iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3)" ( (comma_expression "iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "iVar13 = local_15c" identifier = identifier) , (comma_expression "pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "pbVar14 = pbVar7" identifier = identifier) , (binary_expression "iVar13 < 3" identifier < number_literal))) )) (compound_statement "{\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" { (expression_statement "iVar8 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38ff8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) ))))) ;) (if_statement "if (2 < iVar8) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" if (parenthesized_expression "(2 < iVar8)" ( (binary_expression "2 < iVar8" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" { comment (expression_statement "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");" (call_expression "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" identifier (argument_list "("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" ( (string_literal ""st->npending < HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;" (assignment_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14" (pointer_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8)" * (cast_expression "(byte *)(iVar6 + 0x38ff2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" ( (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) + identifier) )))) = (pointer_expression "*pbVar14" * identifier)) ;) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (if_statement "if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;" if (parenthesized_expression "(pbVar14 + 1 == local_160 + iVar9)" ( (binary_expression "pbVar14 + 1 == local_160 + iVar9" (binary_expression "pbVar14 + 1" identifier + number_literal) == (binary_expression "local_160 + iVar9" identifier + identifier)) )) (goto_statement "goto LAB_0008541a;" goto statement_identifier ;)) })) (expression_statement "bVar3 = *pbVar14;" (assignment_expression "bVar3 = *pbVar14" identifier = (pointer_expression "*pbVar14" * identifier)) ;) (expression_statement "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;" (assignment_expression "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar3,bVar3)" identifier (argument_list "(bVar3,bVar3)" ( identifier , identifier )))) + (binary_expression "(uint)pbVar14[1] * 0x107" (cast_expression "(uint)pbVar14[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)pbVar14[2] * 0x10d" (cast_expression "(uint)pbVar14[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[2]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "iVar8 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar12 * 0x10121457)" ( (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + iVar8 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar8 * 6)" identifier = (cast_expression "(short *)(iVar6 + iVar8 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar8 * 6)" ( (binary_expression "iVar6 + iVar8 * 6" identifier + (binary_expression "iVar8 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" { (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" else (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar12" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" identifier = (binary_expression "iVar6 + iVar12 * 2" identifier + (binary_expression "iVar12 * 2" identifier * number_literal))) ;) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar8;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar8" (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;" (assignment_expression "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3" (pointer_expression "*(byte *)(iVar6 + 0x30000 + iVar8)" * (cast_expression "(byte *)(iVar6 + 0x30000 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + iVar8)" ( (binary_expression "iVar6 + 0x30000 + iVar8" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = (binary_expression "iVar8 + 1U & 0x7fff" (binary_expression "iVar8 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar14 + 1 != local_160 + iVar9)" ( (binary_expression "pbVar14 + 1 != local_160 + iVar9" (binary_expression "pbVar14 + 1" identifier + number_literal) != (binary_expression "local_160 + iVar9" identifier + identifier)) )) ;) (labeled_statement "LAB_0008541a:\n      local_15c = iVar13 + -1;" statement_identifier : (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;)) (expression_statement "local_160 = pbVar14 + 1;" (assignment_expression "local_160 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(0 < local_15c)" ( (binary_expression "0 < local_15c" number_literal < identifier) )) ;)) })) (if_statement "if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" identifier [ number_literal ]) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_000c60b0();" (call_expression "FUN_000c60b0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid __regparm3 lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)\n\n{\n  WindowEntry *pWVar1;\n  Match *pMVar2;\n  uchar uVar3;\n  byte bVar4;\n  byte bVar5;\n  short sVar6;\n  int iVar7;\n  LZ77InternalContext *pLVar8;\n  byte *pbVar9;\n  int iVar10;\n  int iVar11;\n  Match *pMVar12;\n  uint uVar13;\n  int iVar14;\n  int iVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint uVar18;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  Match matches [32];\n  \n  iVar7 = *(int *)(in_GS_OFFSET + 0x14);\n  pLVar8 = ctx->ictx;\n  iVar11 = pLVar8->npending;\n  if (3 < iVar11) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar15 = iVar11;\n  if (iVar11 < 1) goto LAB_0008528b;\n  iVar10 = len + iVar11;\n  if (iVar10 < 3) {\n    iVar10 = 0;\nLAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];\n    if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }\n  }\n  else {\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }\nLAB_0008528b:\n  pLVar8->npending = iVar15;\n  if (0 < len) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = data;\n    local_15c = len;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);\n  }\n  if (iVar7 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "void __regparm3 lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)\n\n{\n  WindowEntry *pWVar1;\n  Match *pMVar2;\n  uchar uVar3;\n  byte bVar4;\n  byte bVar5;\n  short sVar6;\n  int iVar7;\n  LZ77InternalContext *pLVar8;\n  byte *pbVar9;\n  int iVar10;\n  int iVar11;\n  Match *pMVar12;\n  uint uVar13;\n  int iVar14;\n  int iVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint uVar18;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  Match matches [32];\n  \n  iVar7 = *(int *)(in_GS_OFFSET + 0x14);\n  pLVar8 = ctx->ictx;\n  iVar11 = pLVar8->npending;\n  if (3 < iVar11) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar15 = iVar11;\n  if (iVar11 < 1) goto LAB_0008528b;\n  iVar10 = len + iVar11;\n  if (iVar10 < 3) {\n    iVar10 = 0;\nLAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];\n    if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }\n  }\n  else {\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }\nLAB_0008528b:\n  pLVar8->npending = iVar15;\n  if (0 < len) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = data;\n    local_15c = len;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);\n  }\n  if (iVar7 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lz77_compress(LZ77Context *ctx,uchar *data,int len,int compress)" identifier (parameter_list "(LZ77Context *ctx,uchar *data,int len,int compress)" ( (parameter_declaration "LZ77Context *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "int compress" primitive_type identifier) ))) (compound_statement "{\n  WindowEntry *pWVar1;\n  Match *pMVar2;\n  uchar uVar3;\n  byte bVar4;\n  byte bVar5;\n  short sVar6;\n  int iVar7;\n  LZ77InternalContext *pLVar8;\n  byte *pbVar9;\n  int iVar10;\n  int iVar11;\n  Match *pMVar12;\n  uint uVar13;\n  int iVar14;\n  int iVar15;\n  byte *pbVar16;\n  uint uVar17;\n  uint uVar18;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  Match matches [32];\n  \n  iVar7 = *(int *)(in_GS_OFFSET + 0x14);\n  pLVar8 = ctx->ictx;\n  iVar11 = pLVar8->npending;\n  if (3 < iVar11) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar15 = iVar11;\n  if (iVar11 < 1) goto LAB_0008528b;\n  iVar10 = len + iVar11;\n  if (iVar10 < 3) {\n    iVar10 = 0;\nLAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];\n    if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }\n  }\n  else {\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }\nLAB_0008528b:\n  pLVar8->npending = iVar15;\n  if (0 < len) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = data;\n    local_15c = len;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);\n  }\n  if (iVar7 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "WindowEntry *pWVar1;" type_identifier (pointer_declarator "*pWVar1" * identifier) ;) (declaration "Match *pMVar2;" type_identifier (pointer_declarator "*pMVar2" * identifier) ;) (declaration "uchar uVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "byte bVar5;" type_identifier identifier ;) (declaration "short sVar6;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "LZ77InternalContext *pLVar8;" type_identifier (pointer_declarator "*pLVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "Match *pMVar12;" type_identifier (pointer_declarator "*pMVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "byte *pbVar16;" type_identifier (pointer_declarator "*pbVar16" * identifier) ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte *local_160;" type_identifier (pointer_declarator "*local_160" * identifier) ;) (declaration "int local_15c;" primitive_type identifier ;) (declaration "int local_154;" primitive_type identifier ;) (declaration "int local_14c;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "uint local_134;" type_identifier identifier ;) (declaration "Match matches [32];" type_identifier (array_declarator "matches [32]" identifier [ number_literal ]) ;) (expression_statement "iVar7 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar7 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pLVar8 = ctx->ictx;" (assignment_expression "pLVar8 = ctx->ictx" identifier = (field_expression "ctx->ictx" identifier -> field_identifier)) ;) (expression_statement "iVar11 = pLVar8->npending;" (assignment_expression "iVar11 = pLVar8->npending" identifier = (field_expression "pLVar8->npending" identifier -> field_identifier)) ;) (if_statement "if (3 < iVar11) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" if (parenthesized_expression "(3 < iVar11)" ( (binary_expression "3 < iVar11" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" { comment (expression_statement "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");" (call_expression "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" identifier (argument_list "("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" ( (string_literal ""st->npending <= HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "iVar15 = iVar11;" (assignment_expression "iVar15 = iVar11" identifier = identifier) ;) (if_statement "if (iVar11 < 1) goto LAB_0008528b;" if (parenthesized_expression "(iVar11 < 1)" ( (binary_expression "iVar11 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0008528b;" goto statement_identifier ;)) (expression_statement "iVar10 = len + iVar11;" (assignment_expression "iVar10 = len + iVar11" identifier = (binary_expression "len + iVar11" identifier + identifier)) ;) (if_statement "if (iVar10 < 3) {\n    iVar10 = 0;\nLAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];\n    if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }\n  }\n  else {\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }" if (parenthesized_expression "(iVar10 < 3)" ( (binary_expression "iVar10 < 3" identifier < number_literal) )) (compound_statement "{\n    iVar10 = 0;\nLAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];\n    if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }\n  }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00085826:\n    pLVar8->pending[0] = pLVar8->pending[iVar10];" statement_identifier : (expression_statement "pLVar8->pending[0] = pLVar8->pending[iVar10];" (assignment_expression "pLVar8->pending[0] = pLVar8->pending[iVar10]" (subscript_expression "pLVar8->pending[0]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pLVar8->pending[iVar10]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ identifier ])) ;)) (if_statement "if ((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)) {\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }" if (parenthesized_expression "((iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11))" ( (binary_expression "(iVar10 + 1 < iVar11) &&\n       (pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)" (parenthesized_expression "(iVar10 + 1 < iVar11)" ( (binary_expression "iVar10 + 1 < iVar11" (binary_expression "iVar10 + 1" identifier + number_literal) < identifier) )) && (parenthesized_expression "(pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11)" ( (comma_expression "pLVar8->pending[1] = pLVar8->pending[iVar10 + 1], iVar10 + 2 < iVar11" (assignment_expression "pLVar8->pending[1] = pLVar8->pending[iVar10 + 1]" (subscript_expression "pLVar8->pending[1]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ]) = (subscript_expression "pLVar8->pending[iVar10 + 1]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ (binary_expression "iVar10 + 1" identifier + number_literal) ])) , (binary_expression "iVar10 + 2 < iVar11" (binary_expression "iVar10 + 2" identifier + number_literal) < identifier)) ))) )) (compound_statement "{\n      *(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];\n    }" { (expression_statement "*(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2];" (assignment_expression "*(uchar *)((int)pLVar8 + (0x38ff4 - iVar10)) = pLVar8->pending[2]" (pointer_expression "*(uchar *)((int)pLVar8 + (0x38ff4 - iVar10))" * (cast_expression "(uchar *)((int)pLVar8 + (0x38ff4 - iVar10))" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + (0x38ff4 - iVar10))" ( (binary_expression "(int)pLVar8 + (0x38ff4 - iVar10)" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x38ff4 - iVar10)" ( (binary_expression "0x38ff4 - iVar10" number_literal - identifier) ))) )))) = (subscript_expression "pLVar8->pending[2]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) })) }) (else_clause "else {\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }" else (compound_statement "{\n    uVar3 = pLVar8->pending[0];\n    iVar15 = pLVar8->winpos;\n    if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }\n    iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;\n    iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n    pWVar1 = pLVar8->win + iVar15;\n    if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }\n    pWVar1->hashval = (short)iVar14;\n    pWVar1->prev = -1;\n    sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n    pWVar1->next = sVar6;\n    *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;\n    if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }\n    pLVar8->data[iVar15] = uVar3;\n    uVar13 = iVar15 + 1U & 0x7fff;\n    pLVar8->winpos = uVar13;\n    if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }\n    iVar15 = iVar11 - iVar15;\n  }" { (expression_statement "uVar3 = pLVar8->pending[0];" (assignment_expression "uVar3 = pLVar8->pending[0]" identifier = (subscript_expression "pLVar8->pending[0]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iVar15 = pLVar8->winpos;" (assignment_expression "iVar15 = pLVar8->winpos" identifier = (field_expression "pLVar8->winpos" identifier -> field_identifier)) ;) (if_statement "if (iVar11 == 1) {\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }\n    else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }" if (parenthesized_expression "(iVar11 == 1)" ( (binary_expression "iVar11 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar13 = (uint)*data;\nLAB_0008504a:\n      bVar4 = data[2 - iVar11];\n    }" { (expression_statement "uVar13 = (uint)*data;" (assignment_expression "uVar13 = (uint)*data" identifier = (binary_expression "(uint)*data" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0008504a:\n      bVar4 = data[2 - iVar11];" statement_identifier : (expression_statement "bVar4 = data[2 - iVar11];" (assignment_expression "bVar4 = data[2 - iVar11]" identifier = (subscript_expression "data[2 - iVar11]" identifier [ (binary_expression "2 - iVar11" number_literal - identifier) ])) ;)) }) (else_clause "else {\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }" else (compound_statement "{\n      uVar13 = (uint)pLVar8->pending[1];\n      if (iVar11 != 3) goto LAB_0008504a;\n      bVar4 = pLVar8->pending[2];\n    }" { (expression_statement "uVar13 = (uint)pLVar8->pending[1];" (assignment_expression "uVar13 = (uint)pLVar8->pending[1]" identifier = (cast_expression "(uint)pLVar8->pending[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pLVar8->pending[1]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ]))) ;) (if_statement "if (iVar11 != 3) goto LAB_0008504a;" if (parenthesized_expression "(iVar11 != 3)" ( (binary_expression "iVar11 != 3" identifier != number_literal) )) (goto_statement "goto LAB_0008504a;" goto statement_identifier ;)) (expression_statement "bVar4 = pLVar8->pending[2];" (assignment_expression "bVar4 = pLVar8->pending[2]" identifier = (subscript_expression "pLVar8->pending[2]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) }))) (expression_statement "iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107;" (assignment_expression "iVar14 = (uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107" identifier = (binary_expression "(uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3) + uVar13 * 0x107" (binary_expression "(uint)bVar4 * 0x10d + (uint)CONCAT11(uVar3,uVar3)" (binary_expression "(uint)bVar4 * 0x10d" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + (cast_expression "(uint)CONCAT11(uVar3,uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar3,uVar3)" identifier (argument_list "(uVar3,uVar3)" ( identifier , identifier ))))) + (binary_expression "uVar13 * 0x107" identifier * number_literal))) ;) (expression_statement "iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar14 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar14 * 0x10121457)" ( (binary_expression "(longlong)iVar14 * 0x10121457" (cast_expression "(longlong)iVar14" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "pWVar1 = pLVar8->win + iVar15;" (assignment_expression "pWVar1 = pLVar8->win + iVar15" identifier = (binary_expression "pLVar8->win + iVar15" (field_expression "pLVar8->win" identifier -> field_identifier) + identifier)) ;) (if_statement "if (pWVar1->prev == -1) {\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }\n    else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }" if (parenthesized_expression "(pWVar1->prev == -1)" ( (binary_expression "pWVar1->prev == -1" (field_expression "pWVar1->prev" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }\n    }" { (if_statement "if (pWVar1->hashval != -1) {\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }" if (parenthesized_expression "(pWVar1->hashval != -1)" ( (binary_expression "pWVar1->hashval != -1" (field_expression "pWVar1->hashval" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n        pLVar8->hashtab[pWVar1->hashval].first = -1;\n      }" { (expression_statement "pLVar8->hashtab[pWVar1->hashval].first = -1;" (assignment_expression "pLVar8->hashtab[pWVar1->hashval].first = -1" (field_expression "pLVar8->hashtab[pWVar1->hashval].first" (subscript_expression "pLVar8->hashtab[pWVar1->hashval]" (field_expression "pLVar8->hashtab" identifier -> field_identifier) [ (field_expression "pWVar1->hashval" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) })) }) (else_clause "else {\n      pLVar8->win[pWVar1->prev].next = -1;\n    }" else (compound_statement "{\n      pLVar8->win[pWVar1->prev].next = -1;\n    }" { (expression_statement "pLVar8->win[pWVar1->prev].next = -1;" (assignment_expression "pLVar8->win[pWVar1->prev].next = -1" (field_expression "pLVar8->win[pWVar1->prev].next" (subscript_expression "pLVar8->win[pWVar1->prev]" (field_expression "pLVar8->win" identifier -> field_identifier) [ (field_expression "pWVar1->prev" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) }))) (expression_statement "pWVar1->hashval = (short)iVar14;" (assignment_expression "pWVar1->hashval = (short)iVar14" (field_expression "pWVar1->hashval" identifier -> field_identifier) = (cast_expression "(short)iVar14" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "pWVar1->prev = -1;" (assignment_expression "pWVar1->prev = -1" (field_expression "pWVar1->prev" identifier -> field_identifier) = number_literal) ;) (expression_statement "sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);" (assignment_expression "sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" identifier = (pointer_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar14 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar14 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar14 * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pWVar1->next = sVar6;" (assignment_expression "pWVar1->next = sVar6" (field_expression "pWVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15;" (assignment_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar15" (pointer_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar14 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar14 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar14 * 2" identifier * number_literal)) + number_literal) )))) = (cast_expression "(short)iVar15" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar6 != -1) {\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }" if (parenthesized_expression "(sVar6 != -1)" ( (binary_expression "sVar6 != -1" identifier != number_literal) )) (compound_statement "{\n      pLVar8->win[sVar6].prev = (short)iVar15;\n    }" { (expression_statement "pLVar8->win[sVar6].prev = (short)iVar15;" (assignment_expression "pLVar8->win[sVar6].prev = (short)iVar15" (field_expression "pLVar8->win[sVar6].prev" (subscript_expression "pLVar8->win[sVar6]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(short)iVar15" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "pLVar8->data[iVar15] = uVar3;" (assignment_expression "pLVar8->data[iVar15] = uVar3" (subscript_expression "pLVar8->data[iVar15]" (field_expression "pLVar8->data" identifier -> field_identifier) [ identifier ]) = identifier) ;) (expression_statement "uVar13 = iVar15 + 1U & 0x7fff;" (assignment_expression "uVar13 = iVar15 + 1U & 0x7fff" identifier = (binary_expression "iVar15 + 1U & 0x7fff" (binary_expression "iVar15 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "pLVar8->winpos = uVar13;" (assignment_expression "pLVar8->winpos = uVar13" (field_expression "pLVar8->winpos" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar11 == 1) {\n      iVar15 = 1;\n    }\n    else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }" if (parenthesized_expression "(iVar11 == 1)" ( (binary_expression "iVar11 == 1" identifier == number_literal) )) (compound_statement "{\n      iVar15 = 1;\n    }" { (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }" else (compound_statement "{\n      if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }\n      uVar3 = pLVar8->pending[1];\n      if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }\n      iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;\n      iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n      pWVar1 = pLVar8->win + uVar13;\n      if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }\n      pWVar1->hashval = (short)iVar15;\n      pWVar1->prev = -1;\n      sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n      pWVar1->next = sVar6;\n      *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n      if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }\n      pLVar8->data[uVar13] = uVar3;\n      uVar13 = uVar13 + 1 & 0x7fff;\n      pLVar8->winpos = uVar13;\n      if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }\n    }" { (if_statement "if (iVar10 == 3) {\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }" if (parenthesized_expression "(iVar10 == 3)" ( (binary_expression "iVar10 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar10 = 1;\nLAB_0008589d:\n        iVar15 = iVar11 - iVar10;\n        goto LAB_00085826;\n      }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008589d:\n        iVar15 = iVar11 - iVar10;" statement_identifier : (expression_statement "iVar15 = iVar11 - iVar10;" (assignment_expression "iVar15 = iVar11 - iVar10" identifier = (binary_expression "iVar11 - iVar10" identifier - identifier)) ;)) (goto_statement "goto LAB_00085826;" goto statement_identifier ;) })) (expression_statement "uVar3 = pLVar8->pending[1];" (assignment_expression "uVar3 = pLVar8->pending[1]" identifier = (subscript_expression "pLVar8->pending[1]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) (if_statement "if (iVar11 == 3) {\n        bVar4 = pLVar8->pending[2];\n      }\n      else {\n        bVar4 = *data;\n      }" if (parenthesized_expression "(iVar11 == 3)" ( (binary_expression "iVar11 == 3" identifier == number_literal) )) (compound_statement "{\n        bVar4 = pLVar8->pending[2];\n      }" { (expression_statement "bVar4 = pLVar8->pending[2];" (assignment_expression "bVar4 = pLVar8->pending[2]" identifier = (subscript_expression "pLVar8->pending[2]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) }) (else_clause "else {\n        bVar4 = *data;\n      }" else (compound_statement "{\n        bVar4 = *data;\n      }" { (expression_statement "bVar4 = *data;" (assignment_expression "bVar4 = *data" identifier = (pointer_expression "*data" * identifier)) ;) }))) (expression_statement "iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d;" (assignment_expression "iVar15 = (uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107 + (uint)data[3 - iVar11] * 0x10d" (binary_expression "(uint)CONCAT11(uVar3,uVar3) + (uint)bVar4 * 0x107" (cast_expression "(uint)CONCAT11(uVar3,uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar3,uVar3)" identifier (argument_list "(uVar3,uVar3)" ( identifier , identifier )))) + (binary_expression "(uint)bVar4 * 0x107" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + (binary_expression "(uint)data[3 - iVar11] * 0x10d" (cast_expression "(uint)data[3 - iVar11]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "data[3 - iVar11]" identifier [ (binary_expression "3 - iVar11" number_literal - identifier) ])) * number_literal))) ;) (expression_statement "iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar15 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar15 * 0x10121457)" ( (binary_expression "(longlong)iVar15 * 0x10121457" (cast_expression "(longlong)iVar15" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "pWVar1 = pLVar8->win + uVar13;" (assignment_expression "pWVar1 = pLVar8->win + uVar13" identifier = (binary_expression "pLVar8->win + uVar13" (field_expression "pLVar8->win" identifier -> field_identifier) + identifier)) ;) (if_statement "if (pWVar1->prev == -1) {\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }\n      else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }" if (parenthesized_expression "(pWVar1->prev == -1)" ( (binary_expression "pWVar1->prev == -1" (field_expression "pWVar1->prev" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n        if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }\n      }" { (if_statement "if (pWVar1->hashval != -1) {\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }" if (parenthesized_expression "(pWVar1->hashval != -1)" ( (binary_expression "pWVar1->hashval != -1" (field_expression "pWVar1->hashval" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n          pLVar8->hashtab[pWVar1->hashval].first = -1;\n        }" { (expression_statement "pLVar8->hashtab[pWVar1->hashval].first = -1;" (assignment_expression "pLVar8->hashtab[pWVar1->hashval].first = -1" (field_expression "pLVar8->hashtab[pWVar1->hashval].first" (subscript_expression "pLVar8->hashtab[pWVar1->hashval]" (field_expression "pLVar8->hashtab" identifier -> field_identifier) [ (field_expression "pWVar1->hashval" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) })) }) (else_clause "else {\n        pLVar8->win[pWVar1->prev].next = -1;\n      }" else (compound_statement "{\n        pLVar8->win[pWVar1->prev].next = -1;\n      }" { (expression_statement "pLVar8->win[pWVar1->prev].next = -1;" (assignment_expression "pLVar8->win[pWVar1->prev].next = -1" (field_expression "pLVar8->win[pWVar1->prev].next" (subscript_expression "pLVar8->win[pWVar1->prev]" (field_expression "pLVar8->win" identifier -> field_identifier) [ (field_expression "pWVar1->prev" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) }))) (expression_statement "pWVar1->hashval = (short)iVar15;" (assignment_expression "pWVar1->hashval = (short)iVar15" (field_expression "pWVar1->hashval" identifier -> field_identifier) = (cast_expression "(short)iVar15" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "pWVar1->prev = -1;" (assignment_expression "pWVar1->prev = -1" (field_expression "pWVar1->prev" identifier -> field_identifier) = number_literal) ;) (expression_statement "sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);" (assignment_expression "sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" identifier = (pointer_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar15 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar15 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar15 * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pWVar1->next = sVar6;" (assignment_expression "pWVar1->next = sVar6" (field_expression "pWVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;" (assignment_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13" (pointer_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar15 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar15 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar15 * 2" identifier * number_literal)) + number_literal) )))) = (cast_expression "(short)uVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar6 != -1) {\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }" if (parenthesized_expression "(sVar6 != -1)" ( (binary_expression "sVar6 != -1" identifier != number_literal) )) (compound_statement "{\n        pLVar8->win[sVar6].prev = (short)uVar13;\n      }" { (expression_statement "pLVar8->win[sVar6].prev = (short)uVar13;" (assignment_expression "pLVar8->win[sVar6].prev = (short)uVar13" (field_expression "pLVar8->win[sVar6].prev" (subscript_expression "pLVar8->win[sVar6]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(short)uVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "pLVar8->data[uVar13] = uVar3;" (assignment_expression "pLVar8->data[uVar13] = uVar3" (subscript_expression "pLVar8->data[uVar13]" (field_expression "pLVar8->data" identifier -> field_identifier) [ identifier ]) = identifier) ;) (expression_statement "uVar13 = uVar13 + 1 & 0x7fff;" (assignment_expression "uVar13 = uVar13 + 1 & 0x7fff" identifier = (binary_expression "uVar13 + 1 & 0x7fff" (binary_expression "uVar13 + 1" identifier + number_literal) & number_literal)) ;) (expression_statement "pLVar8->winpos = uVar13;" (assignment_expression "pLVar8->winpos = uVar13" (field_expression "pLVar8->winpos" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar11 == 3) {\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }\n      else {\n        iVar15 = 2;\n      }" if (parenthesized_expression "(iVar11 == 3)" ( (binary_expression "iVar11 == 3" identifier == number_literal) )) (compound_statement "{\n        if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }\n        uVar3 = pLVar8->pending[2];\n        iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);\n        iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + uVar13;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar15;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }\n        pLVar8->data[uVar13] = uVar3;\n        iVar15 = 3;\n        pLVar8->winpos = uVar13 + 1 & 0x7fff;\n      }" { (if_statement "if (iVar10 < 5) {\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }" if (parenthesized_expression "(iVar10 < 5)" ( (binary_expression "iVar10 < 5" identifier < number_literal) )) (compound_statement "{\n          iVar10 = 2;\n          goto LAB_0008589d;\n        }" { (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_0008589d;" goto statement_identifier ;) })) (expression_statement "uVar3 = pLVar8->pending[2];" (assignment_expression "uVar3 = pLVar8->pending[2]" identifier = (subscript_expression "pLVar8->pending[2]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ number_literal ])) ;) (expression_statement "iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3);" (assignment_expression "iVar15 = (uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3)" identifier = (binary_expression "(uint)data[1] * 0x10d + (uint)*data * 0x107 + (uint)CONCAT11(uVar3,uVar3)" (binary_expression "(uint)data[1] * 0x10d + (uint)*data * 0x107" (binary_expression "(uint)data[1] * 0x10d" (cast_expression "(uint)data[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "data[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*data * 0x107" (binary_expression "(uint)*data" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)CONCAT11(uVar3,uVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar3,uVar3)" identifier (argument_list "(uVar3,uVar3)" ( identifier , identifier )))))) ;) (expression_statement "iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar15 = iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar15 + (uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar15 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar15 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar15 * 0x10121457)" ( (binary_expression "(longlong)iVar15 * 0x10121457" (cast_expression "(longlong)iVar15" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "pWVar1 = pLVar8->win + uVar13;" (assignment_expression "pWVar1 = pLVar8->win + uVar13" identifier = (binary_expression "pLVar8->win + uVar13" (field_expression "pLVar8->win" identifier -> field_identifier) + identifier)) ;) (if_statement "if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" if (parenthesized_expression "(pWVar1->prev == -1)" ( (binary_expression "pWVar1->prev == -1" (field_expression "pWVar1->prev" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }" { (if_statement "if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }" if (parenthesized_expression "(pWVar1->hashval != -1)" ( (binary_expression "pWVar1->hashval != -1" (field_expression "pWVar1->hashval" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }" { (expression_statement "pLVar8->hashtab[pWVar1->hashval].first = -1;" (assignment_expression "pLVar8->hashtab[pWVar1->hashval].first = -1" (field_expression "pLVar8->hashtab[pWVar1->hashval].first" (subscript_expression "pLVar8->hashtab[pWVar1->hashval]" (field_expression "pLVar8->hashtab" identifier -> field_identifier) [ (field_expression "pWVar1->hashval" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) })) }) (else_clause "else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" else (compound_statement "{\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" { (expression_statement "pLVar8->win[pWVar1->prev].next = -1;" (assignment_expression "pLVar8->win[pWVar1->prev].next = -1" (field_expression "pLVar8->win[pWVar1->prev].next" (subscript_expression "pLVar8->win[pWVar1->prev]" (field_expression "pLVar8->win" identifier -> field_identifier) [ (field_expression "pWVar1->prev" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) }))) (expression_statement "pWVar1->hashval = (short)iVar15;" (assignment_expression "pWVar1->hashval = (short)iVar15" (field_expression "pWVar1->hashval" identifier -> field_identifier) = (cast_expression "(short)iVar15" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "pWVar1->prev = -1;" (assignment_expression "pWVar1->prev = -1" (field_expression "pWVar1->prev" identifier -> field_identifier) = number_literal) ;) (expression_statement "sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004);" (assignment_expression "sVar6 = *(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" identifier = (pointer_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar15 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar15 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar15 * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pWVar1->next = sVar6;" (assignment_expression "pWVar1->next = sVar6" (field_expression "pWVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13;" (assignment_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004) = (short)uVar13" (pointer_expression "*(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar15 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar15 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar15 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar15 * 2" identifier * number_literal)) + number_literal) )))) = (cast_expression "(short)uVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }" if (parenthesized_expression "(sVar6 != -1)" ( (binary_expression "sVar6 != -1" identifier != number_literal) )) (compound_statement "{\n          pLVar8->win[sVar6].prev = (short)uVar13;\n        }" { (expression_statement "pLVar8->win[sVar6].prev = (short)uVar13;" (assignment_expression "pLVar8->win[sVar6].prev = (short)uVar13" (field_expression "pLVar8->win[sVar6].prev" (subscript_expression "pLVar8->win[sVar6]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(short)uVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "pLVar8->data[uVar13] = uVar3;" (assignment_expression "pLVar8->data[uVar13] = uVar3" (subscript_expression "pLVar8->data[uVar13]" (field_expression "pLVar8->data" identifier -> field_identifier) [ identifier ]) = identifier) ;) (expression_statement "iVar15 = 3;" (assignment_expression "iVar15 = 3" identifier = number_literal) ;) (expression_statement "pLVar8->winpos = uVar13 + 1 & 0x7fff;" (assignment_expression "pLVar8->winpos = uVar13 + 1 & 0x7fff" (field_expression "pLVar8->winpos" identifier -> field_identifier) = (binary_expression "uVar13 + 1 & 0x7fff" (binary_expression "uVar13 + 1" identifier + number_literal) & number_literal)) ;) }) (else_clause "else {\n        iVar15 = 2;\n      }" else (compound_statement "{\n        iVar15 = 2;\n      }" { (expression_statement "iVar15 = 2;" (assignment_expression "iVar15 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "iVar15 = iVar11 - iVar15;" (assignment_expression "iVar15 = iVar11 - iVar15" identifier = (binary_expression "iVar11 - iVar15" identifier - identifier)) ;) }))) (labeled_statement "LAB_0008528b:\n  pLVar8->npending = iVar15;" statement_identifier : (expression_statement "pLVar8->npending = iVar15;" (assignment_expression "pLVar8->npending = iVar15" (field_expression "pLVar8->npending" identifier -> field_identifier) = identifier) ;)) (if_statement "if (0 < len) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = data;\n    local_15c = len;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);\n  }" if (parenthesized_expression "(0 < len)" ( (binary_expression "0 < len" number_literal < identifier) )) (compound_statement "{\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = data;\n    local_15c = len;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (expression_statement "local_134 = 0;" (assignment_expression "local_134 = 0" identifier = number_literal) ;) (expression_statement "local_160 = data;" (assignment_expression "local_160 = data" identifier = identifier) ;) (expression_statement "local_15c = len;" (assignment_expression "local_15c = len" identifier = identifier) ;) (labeled_statement "LAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);" statement_identifier : (do_statement "do {\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    } while (0 < local_15c);" do (compound_statement "{\n      if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }\nLAB_0008531a:\n      pbVar9 = local_160;\n      do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);\nLAB_0008541a:\n      local_15c = iVar15 + -1;\n      local_160 = pbVar16 + 1;\n    }" { (if_statement "if ((local_15c < 3) || ((compress & 1U) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }" if (parenthesized_expression "((local_15c < 3) || ((compress & 1U) == 0))" ( (binary_expression "(local_15c < 3) || ((compress & 1U) == 0)" (parenthesized_expression "(local_15c < 3)" ( (binary_expression "local_15c < 3" identifier < number_literal) )) || (parenthesized_expression "((compress & 1U) == 0)" ( (binary_expression "(compress & 1U) == 0" (parenthesized_expression "(compress & 1U)" ( (binary_expression "compress & 1U" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }\n      }" { (labeled_statement "LAB_000852e2:\n        if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }" statement_identifier : (if_statement "if (local_14c == 0) {\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }" if (parenthesized_expression "(local_14c == 0)" ( (binary_expression "local_14c == 0" identifier == number_literal) )) (compound_statement "{\n          (*ctx->literal)(ctx,*local_160);\n          iVar11 = 1;\n        }" { (expression_statement "(*ctx->literal)(ctx,*local_160);" (call_expression "(*ctx->literal)(ctx,*local_160)" (parenthesized_expression "(*ctx->literal)" ( (pointer_expression "*ctx->literal" * (field_expression "ctx->literal" identifier -> field_identifier)) )) (argument_list "(ctx,*local_160)" ( identifier , (pointer_expression "*local_160" * identifier) ))) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }" else (compound_statement "{\nLAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);\n          iVar11 = local_14c + -1;\n          local_14c = 0;\n          if (iVar11 == 0) goto LAB_000852d0;\n        }" { (labeled_statement "LAB_000852f1:\n          (*ctx->match)(ctx,local_138,local_14c);" statement_identifier : (expression_statement "(*ctx->match)(ctx,local_138,local_14c);" (call_expression "(*ctx->match)(ctx,local_138,local_14c)" (parenthesized_expression "(*ctx->match)" ( (pointer_expression "*ctx->match" * (field_expression "ctx->match" identifier -> field_identifier)) )) (argument_list "(ctx,local_138,local_14c)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar11 = local_14c + -1;" (assignment_expression "iVar11 = local_14c + -1" identifier = (binary_expression "local_14c + -1" identifier + number_literal)) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (if_statement "if (iVar11 == 0) goto LAB_000852d0;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852d0;" goto statement_identifier ;)) })))) }) (else_clause "else {\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }" else (compound_statement "{\n        bVar4 = *local_160;\n        uVar17 = (uint)bVar4;\n        uVar18 = (uint)local_160[1];\n        uVar13 = (uint)local_160[2];\n        iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;\n        iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);\n        if (iVar11 == -1) goto LAB_000852e2;\n        local_154 = pLVar8->winpos;\n        iVar15 = 0;\n        if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);\nLAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar10 = 3;\n        if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }\n        matches[0].len = iVar10;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = matches[0].distance;\n        iVar11 = 1;\n        local_14c = iVar10;\n        local_134 = uVar17;\n      }" { (expression_statement "bVar4 = *local_160;" (assignment_expression "bVar4 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) (expression_statement "uVar17 = (uint)bVar4;" (assignment_expression "uVar17 = (uint)bVar4" identifier = (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar18 = (uint)local_160[1];" (assignment_expression "uVar18 = (uint)local_160[1]" identifier = (cast_expression "(uint)local_160[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar13 = (uint)local_160[2];" (assignment_expression "uVar13 = (uint)local_160[2]" identifier = (cast_expression "(uint)local_160[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d;" (assignment_expression "iVar11 = (uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107 + uVar13 * 0x10d" (binary_expression "(uint)CONCAT11(bVar4,bVar4) + uVar18 * 0x107" (cast_expression "(uint)CONCAT11(bVar4,bVar4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar4,bVar4)" identifier (argument_list "(bVar4,bVar4)" ( identifier , identifier )))) + (binary_expression "uVar18 * 0x107" identifier * number_literal)) + (binary_expression "uVar13 * 0x10d" identifier * number_literal))) ;) (expression_statement "iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004);" (assignment_expression "iVar11 = (int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004)" identifier = (cast_expression "(int)*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2 + 0x38004" (binary_expression "(int)pLVar8 +\n                                (iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7) * 2" (parenthesized_expression "(iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7)" ( (binary_expression "iVar11 + (uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)\n                                          * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar11 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar11 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar11 * 0x10121457)" ( (binary_expression "(longlong)iVar11 * 0x10121457" (cast_expression "(longlong)iVar11" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal)) )) * number_literal)) + number_literal) )))))) ;) (if_statement "if (iVar11 == -1) goto LAB_000852e2;" if (parenthesized_expression "(iVar11 == -1)" ( (binary_expression "iVar11 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;)) (expression_statement "local_154 = pLVar8->winpos;" (assignment_expression "local_154 = pLVar8->winpos" identifier = (field_expression "pLVar8->winpos" identifier -> field_identifier)) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (if_statement "if (uVar17 != uVar18) {\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" if (parenthesized_expression "(uVar17 != uVar18)" ( (binary_expression "uVar17 != uVar18" identifier != identifier) )) (compound_statement "{\nLAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;\njoined_r0x0008568a:\n          iVar11 = (int)sVar6;\n          if (iVar11 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" { (labeled_statement "LAB_0008563d:\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;" statement_identifier : (expression_statement "iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar11 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar11 + 0x8000) - local_154)" ( (binary_expression "(iVar11 + 0x8000) - local_154" (parenthesized_expression "(iVar11 + 0x8000)" ( (binary_expression "iVar11 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;)) (expression_statement "iVar14 = 0x8000 - iVar10;" (assignment_expression "iVar14 = 0x8000 - iVar10" identifier = (binary_expression "0x8000 - iVar10" number_literal - identifier)) ;) (if_statement "if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff])" ( (binary_expression "uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]" identifier == (subscript_expression "pLVar8->data[local_154 - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "local_154 - iVar14 & 0x7fff" (binary_expression "local_154 - iVar14" identifier - identifier) & number_literal) ])) )) (compound_statement "{\n            if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }\n            if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar10 == 0x7fff) {\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }" if (parenthesized_expression "(iVar10 == 0x7fff)" ( (binary_expression "iVar10 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              sVar6 = pLVar8->win[iVar11].next;\n              goto joined_r0x0008568a;\n            }" { (expression_statement "sVar6 = pLVar8->win[iVar11].next;" (assignment_expression "sVar6 = pLVar8->win[iVar11].next" identifier = (field_expression "pLVar8->win[iVar11].next" (subscript_expression "pLVar8->win[iVar11]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;) (goto_statement "goto joined_r0x0008568a;" goto statement_identifier ;) })) (if_statement "if (uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) {\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff])" ( (binary_expression "uVar18 == pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]" identifier == (subscript_expression "pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "(local_154 + 1) - iVar14 & 0x7fff" (binary_expression "(local_154 + 1) - iVar14" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ])) )) (compound_statement "{\n              if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }\n              if (uVar13 != bVar4) goto LAB_00085631;\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }" { (if_statement "if (iVar10 == 0x7ffe) {\n                bVar4 = *local_160;\n              }\n              else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }" if (parenthesized_expression "(iVar10 == 0x7ffe)" ( (binary_expression "iVar10 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                bVar4 = *local_160;\n              }" { (expression_statement "bVar4 = *local_160;" (assignment_expression "bVar4 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) }) (else_clause "else {\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }" else (compound_statement "{\n                bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n              }" { (expression_statement "bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];" (assignment_expression "bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff]" identifier = (subscript_expression "pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "(local_154 + 2) - iVar14 & 0x7fff" (binary_expression "(local_154 + 2) - iVar14" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ])) ;) }))) (if_statement "if (uVar13 != bVar4) goto LAB_00085631;" if (parenthesized_expression "(uVar13 != bVar4)" ( (binary_expression "uVar13 != bVar4" identifier != identifier) )) (goto_statement "goto LAB_00085631;" goto statement_identifier ;)) (expression_statement "matches[iVar15].distance = iVar14;" (assignment_expression "matches[iVar15].distance = iVar14" (field_expression "matches[iVar15].distance" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "matches[iVar15].len = 3;" (assignment_expression "matches[iVar15].len = 3" (field_expression "matches[iVar15].len" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar15) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar15)" ( (binary_expression "0x1f < iVar15" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085631:\n          sVar6 = pLVar8->win[iVar11].next;" statement_identifier : (expression_statement "sVar6 = pLVar8->win[iVar11].next;" (assignment_expression "sVar6 = pLVar8->win[iVar11].next" identifier = (field_expression "pLVar8->win[iVar11].next" (subscript_expression "pLVar8->win[iVar11]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier)) ;)) (labeled_statement "joined_r0x0008568a:\n          iVar11 = (int)sVar6;" statement_identifier : (expression_statement "iVar11 = (int)sVar6;" (assignment_expression "iVar11 = (int)sVar6" identifier = (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (if_statement "if (iVar11 == -1) goto LAB_00085690;" if (parenthesized_expression "(iVar11 == -1)" ( (binary_expression "iVar11 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00085690;" goto statement_identifier ;)) (goto_statement "goto LAB_0008563d;" goto statement_identifier ;) })) (do_statement "do {\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        } while (iVar11 != -1);" do (compound_statement "{\n          iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;\n          iVar14 = 0x8000 - iVar10;\n          if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;\n        }" { (expression_statement "iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar10 = ((iVar11 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar11 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar11 + 0x8000) - local_154)" ( (binary_expression "(iVar11 + 0x8000) - local_154" (parenthesized_expression "(iVar11 + 0x8000)" ( (binary_expression "iVar11 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;) (expression_statement "iVar14 = 0x8000 - iVar10;" (assignment_expression "iVar14 = 0x8000 - iVar10" identifier = (binary_expression "0x8000 - iVar10" number_literal - identifier)) ;) (if_statement "if (uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]) {\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff])" ( (binary_expression "uVar17 == pLVar8->data[local_154 - iVar14 & 0x7fff]" identifier == (subscript_expression "pLVar8->data[local_154 - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "local_154 - iVar14 & 0x7fff" (binary_expression "local_154 - iVar14" identifier - identifier) & number_literal) ])) )) (compound_statement "{\n            if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }\n            if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar10 == 0x7fff) {\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }\n            else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }" if (parenthesized_expression "(iVar10 == 0x7fff)" ( (binary_expression "iVar10 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              iVar10 = 1;\nLAB_0008552d:\n              bVar4 = local_160[iVar10];\n            }" { (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008552d:\n              bVar4 = local_160[iVar10];" statement_identifier : (expression_statement "bVar4 = local_160[iVar10];" (assignment_expression "bVar4 = local_160[iVar10]" identifier = (subscript_expression "local_160[iVar10]" identifier [ identifier ])) ;)) }) (else_clause "else {\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }" else (compound_statement "{\n              if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;\n              if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }\n              bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];\n            }" { (if_statement "if (uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]) goto LAB_00085553;" if (parenthesized_expression "(uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff])" ( (binary_expression "uVar18 != pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]" identifier != (subscript_expression "pLVar8->data[(local_154 + 1) - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "(local_154 + 1) - iVar14 & 0x7fff" (binary_expression "(local_154 + 1) - iVar14" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ])) )) (goto_statement "goto LAB_00085553;" goto statement_identifier ;)) (if_statement "if (iVar10 == 0x7ffe) {\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }" if (parenthesized_expression "(iVar10 == 0x7ffe)" ( (binary_expression "iVar10 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                iVar10 = 0;\n                goto LAB_0008552d;\n              }" { (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0008552d;" goto statement_identifier ;) })) (expression_statement "bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff];" (assignment_expression "bVar4 = pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff]" identifier = (subscript_expression "pLVar8->data[(local_154 + 2) - iVar14 & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "(local_154 + 2) - iVar14 & 0x7fff" (binary_expression "(local_154 + 2) - iVar14" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ])) ;) }))) (if_statement "if (uVar13 == bVar4) {\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar13 == bVar4)" ( (binary_expression "uVar13 == bVar4" identifier == identifier) )) (compound_statement "{\n              matches[iVar15].distance = iVar14;\n              matches[iVar15].len = 3;\n              iVar15 = iVar15 + 1;\n              if (0x1f < iVar15) goto LAB_00085698;\n            }" { (expression_statement "matches[iVar15].distance = iVar14;" (assignment_expression "matches[iVar15].distance = iVar14" (field_expression "matches[iVar15].distance" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "matches[iVar15].len = 3;" (assignment_expression "matches[iVar15].len = 3" (field_expression "matches[iVar15].len" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar15) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar15)" ( (binary_expression "0x1f < iVar15" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085553:\n          iVar11 = (int)pLVar8->win[iVar11].next;" statement_identifier : (expression_statement "iVar11 = (int)pLVar8->win[iVar11].next;" (assignment_expression "iVar11 = (int)pLVar8->win[iVar11].next" identifier = (cast_expression "(int)pLVar8->win[iVar11].next" ( (type_descriptor "int" primitive_type) ) (field_expression "pLVar8->win[iVar11].next" (subscript_expression "pLVar8->win[iVar11]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier))) ;)) }) while (parenthesized_expression "(iVar11 != -1)" ( (binary_expression "iVar11 != -1" identifier != number_literal) )) ;) (labeled_statement "LAB_00085690:\n        if (iVar15 == 0) goto LAB_000852e2;" statement_identifier : (if_statement "if (iVar15 == 0) goto LAB_000852e2;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;))) (labeled_statement "LAB_00085698:\n        local_154 = local_154 + 3;" statement_identifier : (expression_statement "local_154 = local_154 + 3;" (assignment_expression "local_154 = local_154 + 3" identifier = (binary_expression "local_154 + 3" identifier + number_literal)) ;)) (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) (if_statement "if (local_15c == 3) {\n          iVar10 = 3;\n        }\n        else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }" if (parenthesized_expression "(local_15c == 3)" ( (binary_expression "local_15c == 3" identifier == number_literal) )) (compound_statement "{\n          iVar10 = 3;\n        }" { (expression_statement "iVar10 = 3;" (assignment_expression "iVar10 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }" else (compound_statement "{\n          do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);\n        }" { (do_statement "do {\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar10 != local_15c);" do (compound_statement "{\n            bVar4 = local_160[iVar10];\n            pMVar2 = matches + iVar15;\n            iVar15 = 0;\n            pMVar12 = matches;\n            do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);\n            if (iVar15 == 0) break;\n            iVar10 = iVar10 + 1;\n            local_154 = local_154 + 1;\n          }" { (expression_statement "bVar4 = local_160[iVar10];" (assignment_expression "bVar4 = local_160[iVar10]" identifier = (subscript_expression "local_160[iVar10]" identifier [ identifier ])) ;) (expression_statement "pMVar2 = matches + iVar15;" (assignment_expression "pMVar2 = matches + iVar15" identifier = (binary_expression "matches + iVar15" identifier + identifier)) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "pMVar12 = matches;" (assignment_expression "pMVar12 = matches" identifier = identifier) ;) (do_statement "do {\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            } while (pMVar12 != pMVar2);" do (compound_statement "{\n              iVar11 = iVar10 - pMVar12->distance;\n              if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }\n              if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }\n              pMVar12 = pMVar12 + 1;\n            }" { (expression_statement "iVar11 = iVar10 - pMVar12->distance;" (assignment_expression "iVar11 = iVar10 - pMVar12->distance" identifier = (binary_expression "iVar10 - pMVar12->distance" identifier - (field_expression "pMVar12->distance" identifier -> field_identifier))) ;) (if_statement "if (iVar11 < 0) {\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }\n              else {\n                bVar5 = local_160[iVar11];\n              }" if (parenthesized_expression "(iVar11 < 0)" ( (binary_expression "iVar11 < 0" identifier < number_literal) )) (compound_statement "{\n                bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];\n              }" { (expression_statement "bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff];" (assignment_expression "bVar5 = pLVar8->data[local_154 - pMVar12->distance & 0x7fff]" identifier = (subscript_expression "pLVar8->data[local_154 - pMVar12->distance & 0x7fff]" (field_expression "pLVar8->data" identifier -> field_identifier) [ (binary_expression "local_154 - pMVar12->distance & 0x7fff" (binary_expression "local_154 - pMVar12->distance" identifier - (field_expression "pMVar12->distance" identifier -> field_identifier)) & number_literal) ])) ;) }) (else_clause "else {\n                bVar5 = local_160[iVar11];\n              }" else (compound_statement "{\n                bVar5 = local_160[iVar11];\n              }" { (expression_statement "bVar5 = local_160[iVar11];" (assignment_expression "bVar5 = local_160[iVar11]" identifier = (subscript_expression "local_160[iVar11]" identifier [ identifier ])) ;) }))) (if_statement "if (bVar5 == bVar4) {\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }" if (parenthesized_expression "(bVar5 == bVar4)" ( (binary_expression "bVar5 == bVar4" identifier == identifier) )) (compound_statement "{\n                iVar11 = pMVar12->len;\n                matches[iVar15].distance = pMVar12->distance;\n                matches[iVar15].len = iVar11;\n                iVar15 = iVar15 + 1;\n              }" { (expression_statement "iVar11 = pMVar12->len;" (assignment_expression "iVar11 = pMVar12->len" identifier = (field_expression "pMVar12->len" identifier -> field_identifier)) ;) (expression_statement "matches[iVar15].distance = pMVar12->distance;" (assignment_expression "matches[iVar15].distance = pMVar12->distance" (field_expression "matches[iVar15].distance" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = (field_expression "pMVar12->distance" identifier -> field_identifier)) ;) (expression_statement "matches[iVar15].len = iVar11;" (assignment_expression "matches[iVar15].len = iVar11" (field_expression "matches[iVar15].len" (subscript_expression "matches[iVar15]" identifier [ identifier ]) . field_identifier) = identifier) ;) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) })) (expression_statement "pMVar12 = pMVar12 + 1;" (assignment_expression "pMVar12 = pMVar12 + 1" identifier = (binary_expression "pMVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pMVar12 != pMVar2)" ( (binary_expression "pMVar12 != pMVar2" identifier != identifier) )) ;) (if_statement "if (iVar15 == 0) break;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 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 "local_154 = local_154 + 1;" (assignment_expression "local_154 = local_154 + 1" identifier = (binary_expression "local_154 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar10 != local_15c)" ( (binary_expression "iVar10 != local_15c" identifier != identifier) )) ;) }))) (expression_statement "matches[0].len = iVar10;" (assignment_expression "matches[0].len = iVar10" (field_expression "matches[0].len" (subscript_expression "matches[0]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if (local_14c != 0) {\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" if (parenthesized_expression "(local_14c != 0)" ( (binary_expression "local_14c != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" { (if_statement "if (local_14c + 1 < iVar10) {\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" if (parenthesized_expression "(local_14c + 1 < iVar10)" ( (binary_expression "local_14c + 1 < iVar10" (binary_expression "local_14c + 1" identifier + number_literal) < identifier) )) (compound_statement "{\n            (*ctx->literal)(ctx,(uchar)local_134);\n            local_138 = matches[0].distance;\n            iVar11 = 1;\n            local_14c = iVar10;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" { (expression_statement "(*ctx->literal)(ctx,(uchar)local_134);" (call_expression "(*ctx->literal)(ctx,(uchar)local_134)" (parenthesized_expression "(*ctx->literal)" ( (pointer_expression "*ctx->literal" * (field_expression "ctx->literal" identifier -> field_identifier)) )) (argument_list "(ctx,(uchar)local_134)" ( identifier , (cast_expression "(uchar)local_134" ( (type_descriptor "uchar" type_identifier) ) identifier) ))) ;) (expression_statement "local_138 = matches[0].distance;" (assignment_expression "local_138 = matches[0].distance" identifier = (field_expression "matches[0].distance" (subscript_expression "matches[0]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar10;" (assignment_expression "local_14c = iVar10" identifier = identifier) ;) (expression_statement "local_134 = (uint)*local_160;" (assignment_expression "local_134 = (uint)*local_160" identifier = (binary_expression "(uint)*local_160" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto LAB_0008531a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000852f1;" goto statement_identifier ;) })) (expression_statement "local_138 = matches[0].distance;" (assignment_expression "local_138 = matches[0].distance" identifier = (field_expression "matches[0].distance" (subscript_expression "matches[0]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar11 = 1;" (assignment_expression "iVar11 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar10;" (assignment_expression "local_14c = iVar10" identifier = identifier) ;) (expression_statement "local_134 = uVar17;" (assignment_expression "local_134 = uVar17" identifier = identifier) ;) }))) (labeled_statement "LAB_0008531a:\n      pbVar9 = local_160;" statement_identifier : (expression_statement "pbVar9 = local_160;" (assignment_expression "pbVar9 = local_160" identifier = identifier) ;)) (do_statement "do {\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      } while (pbVar16 + 1 != local_160 + iVar11);" do (compound_statement "{\n        while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }\n        bVar4 = *pbVar16;\n        iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;\n        iVar10 = pLVar8->winpos;\n        iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;\n        pWVar1 = pLVar8->win + iVar10;\n        if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }\n        pWVar1->hashval = (short)iVar14;\n        pWVar1->prev = -1;\n        sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);\n        pWVar1->next = sVar6;\n        *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;\n        if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }\n        pLVar8->data[iVar10] = bVar4;\n        pLVar8->winpos = iVar10 + 1U & 0x7fff;\n        pbVar9 = pbVar16 + 1;\n        local_15c = iVar15 + -1;\n      }" { (while_statement "while (iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3) {\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }" while (parenthesized_expression "(iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3)" ( (comma_expression "iVar15 = local_15c, pbVar16 = pbVar9, iVar15 < 3" (assignment_expression "iVar15 = local_15c" identifier = identifier) , (comma_expression "pbVar16 = pbVar9, iVar15 < 3" (assignment_expression "pbVar16 = pbVar9" identifier = identifier) , (binary_expression "iVar15 < 3" identifier < number_literal))) )) (compound_statement "{\n          iVar10 = pLVar8->npending;\n          if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          pLVar8->npending = iVar10 + 1;\n          pLVar8->pending[iVar10] = *pbVar16;\n          pbVar9 = pbVar16 + 1;\n          local_15c = iVar15 + -1;\n          if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;\n        }" { (expression_statement "iVar10 = pLVar8->npending;" (assignment_expression "iVar10 = pLVar8->npending" identifier = (field_expression "pLVar8->npending" identifier -> field_identifier)) ;) (if_statement "if (2 < iVar10) {\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" if (parenthesized_expression "(2 < iVar10)" ( (binary_expression "2 < iVar10" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" { comment (expression_statement "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");" (call_expression "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" identifier (argument_list "("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" ( (string_literal ""st->npending < HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "pLVar8->npending = iVar10 + 1;" (assignment_expression "pLVar8->npending = iVar10 + 1" (field_expression "pLVar8->npending" identifier -> field_identifier) = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "pLVar8->pending[iVar10] = *pbVar16;" (assignment_expression "pLVar8->pending[iVar10] = *pbVar16" (subscript_expression "pLVar8->pending[iVar10]" (field_expression "pLVar8->pending" identifier -> field_identifier) [ identifier ]) = (pointer_expression "*pbVar16" * identifier)) ;) (expression_statement "pbVar9 = pbVar16 + 1;" (assignment_expression "pbVar9 = pbVar16 + 1" identifier = (binary_expression "pbVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar15 + -1;" (assignment_expression "local_15c = iVar15 + -1" identifier = (binary_expression "iVar15 + -1" identifier + number_literal)) ;) (if_statement "if (pbVar16 + 1 == local_160 + iVar11) goto LAB_0008541a;" if (parenthesized_expression "(pbVar16 + 1 == local_160 + iVar11)" ( (binary_expression "pbVar16 + 1 == local_160 + iVar11" (binary_expression "pbVar16 + 1" identifier + number_literal) == (binary_expression "local_160 + iVar11" identifier + identifier)) )) (goto_statement "goto LAB_0008541a;" goto statement_identifier ;)) })) (expression_statement "bVar4 = *pbVar16;" (assignment_expression "bVar4 = *pbVar16" identifier = (pointer_expression "*pbVar16" * identifier)) ;) (expression_statement "iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d;" (assignment_expression "iVar14 = (uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107 + (uint)pbVar16[2] * 0x10d" (binary_expression "(uint)CONCAT11(bVar4,bVar4) + (uint)pbVar16[1] * 0x107" (cast_expression "(uint)CONCAT11(bVar4,bVar4)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar4,bVar4)" identifier (argument_list "(bVar4,bVar4)" ( identifier , identifier )))) + (binary_expression "(uint)pbVar16[1] * 0x107" (cast_expression "(uint)pbVar16[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar16[1]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)pbVar16[2] * 0x10d" (cast_expression "(uint)pbVar16[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar16[2]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "iVar10 = pLVar8->winpos;" (assignment_expression "iVar10 = pLVar8->winpos" identifier = (field_expression "pLVar8->winpos" identifier -> field_identifier)) ;) (expression_statement "iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar14 = iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar14 + (uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar14 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar14 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar14 * 0x10121457)" ( (binary_expression "(longlong)iVar14 * 0x10121457" (cast_expression "(longlong)iVar14" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "pWVar1 = pLVar8->win + iVar10;" (assignment_expression "pWVar1 = pLVar8->win + iVar10" identifier = (binary_expression "pLVar8->win + iVar10" (field_expression "pLVar8->win" identifier -> field_identifier) + identifier)) ;) (if_statement "if (pWVar1->prev == -1) {\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }\n        else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" if (parenthesized_expression "(pWVar1->prev == -1)" ( (binary_expression "pWVar1->prev == -1" (field_expression "pWVar1->prev" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n          if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }\n        }" { (if_statement "if (pWVar1->hashval != -1) {\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }" if (parenthesized_expression "(pWVar1->hashval != -1)" ( (binary_expression "pWVar1->hashval != -1" (field_expression "pWVar1->hashval" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n            pLVar8->hashtab[pWVar1->hashval].first = -1;\n          }" { (expression_statement "pLVar8->hashtab[pWVar1->hashval].first = -1;" (assignment_expression "pLVar8->hashtab[pWVar1->hashval].first = -1" (field_expression "pLVar8->hashtab[pWVar1->hashval].first" (subscript_expression "pLVar8->hashtab[pWVar1->hashval]" (field_expression "pLVar8->hashtab" identifier -> field_identifier) [ (field_expression "pWVar1->hashval" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) })) }) (else_clause "else {\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" else (compound_statement "{\n          pLVar8->win[pWVar1->prev].next = -1;\n        }" { (expression_statement "pLVar8->win[pWVar1->prev].next = -1;" (assignment_expression "pLVar8->win[pWVar1->prev].next = -1" (field_expression "pLVar8->win[pWVar1->prev].next" (subscript_expression "pLVar8->win[pWVar1->prev]" (field_expression "pLVar8->win" identifier -> field_identifier) [ (field_expression "pWVar1->prev" identifier -> field_identifier) ]) . field_identifier) = number_literal) ;) }))) (expression_statement "pWVar1->hashval = (short)iVar14;" (assignment_expression "pWVar1->hashval = (short)iVar14" (field_expression "pWVar1->hashval" identifier -> field_identifier) = (cast_expression "(short)iVar14" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "pWVar1->prev = -1;" (assignment_expression "pWVar1->prev = -1" (field_expression "pWVar1->prev" identifier -> field_identifier) = number_literal) ;) (expression_statement "sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004);" (assignment_expression "sVar6 = *(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" identifier = (pointer_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar14 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar14 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar14 * 2" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "pWVar1->next = sVar6;" (assignment_expression "pWVar1->next = sVar6" (field_expression "pWVar1->next" identifier -> field_identifier) = identifier) ;) (expression_statement "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10;" (assignment_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004) = (short)iVar10" (pointer_expression "*(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" * (cast_expression "(short *)((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pLVar8 + iVar14 * 2 + 0x38004)" ( (binary_expression "(int)pLVar8 + iVar14 * 2 + 0x38004" (binary_expression "(int)pLVar8 + iVar14 * 2" (cast_expression "(int)pLVar8" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "iVar14 * 2" identifier * number_literal)) + number_literal) )))) = (cast_expression "(short)iVar10" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar6 != -1) {\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }" if (parenthesized_expression "(sVar6 != -1)" ( (binary_expression "sVar6 != -1" identifier != number_literal) )) (compound_statement "{\n          pLVar8->win[sVar6].prev = (short)iVar10;\n        }" { (expression_statement "pLVar8->win[sVar6].prev = (short)iVar10;" (assignment_expression "pLVar8->win[sVar6].prev = (short)iVar10" (field_expression "pLVar8->win[sVar6].prev" (subscript_expression "pLVar8->win[sVar6]" (field_expression "pLVar8->win" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(short)iVar10" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "pLVar8->data[iVar10] = bVar4;" (assignment_expression "pLVar8->data[iVar10] = bVar4" (subscript_expression "pLVar8->data[iVar10]" (field_expression "pLVar8->data" identifier -> field_identifier) [ identifier ]) = identifier) ;) (expression_statement "pLVar8->winpos = iVar10 + 1U & 0x7fff;" (assignment_expression "pLVar8->winpos = iVar10 + 1U & 0x7fff" (field_expression "pLVar8->winpos" identifier -> field_identifier) = (binary_expression "iVar10 + 1U & 0x7fff" (binary_expression "iVar10 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "pbVar9 = pbVar16 + 1;" (assignment_expression "pbVar9 = pbVar16 + 1" identifier = (binary_expression "pbVar16 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar15 + -1;" (assignment_expression "local_15c = iVar15 + -1" identifier = (binary_expression "iVar15 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar16 + 1 != local_160 + iVar11)" ( (binary_expression "pbVar16 + 1 != local_160 + iVar11" (binary_expression "pbVar16 + 1" identifier + number_literal) != (binary_expression "local_160 + iVar11" identifier + identifier)) )) ;) (labeled_statement "LAB_0008541a:\n      local_15c = iVar15 + -1;" statement_identifier : (expression_statement "local_15c = iVar15 + -1;" (assignment_expression "local_15c = iVar15 + -1" identifier = (binary_expression "iVar15 + -1" identifier + number_literal)) ;)) (expression_statement "local_160 = pbVar16 + 1;" (assignment_expression "local_160 = pbVar16 + 1" identifier = (binary_expression "pbVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(0 < local_15c)" ( (binary_expression "0 < local_15c" number_literal < identifier) )) ;)) })) (if_statement "if (iVar7 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(iVar7 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar7 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)\n\n{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0();\n}\n\n" (function_definition "void __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)\n\n{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)" identifier (parameter_list "(int *param_1,byte *param_2,int param_3,byte param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "byte param_4" type_identifier identifier) ))) (compound_statement "{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0();\n}" { (declaration "short *psVar1;" (sized_type_specifier "short" short) (pointer_declarator "*psVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "byte bVar3;" type_identifier identifier ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "short sVar5;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int *piVar10;" primitive_type (pointer_declarator "*piVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte *local_160;" type_identifier (pointer_declarator "*local_160" * identifier) ;) (declaration "int local_15c;" primitive_type identifier ;) (declaration "int local_154;" primitive_type identifier ;) (declaration "int local_14c;" primitive_type identifier ;) (declaration "int local_138;" primitive_type identifier ;) (declaration "uint local_134;" type_identifier identifier ;) (declaration "int local_120 [68];" primitive_type (array_declarator "local_120 [68]" identifier [ number_literal ]) ;) (expression_statement "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" identifier [ number_literal ]) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar9 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar9 = *(int *)(iVar6 + 0x38ff8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) ))))) ;) (if_statement "if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" if (parenthesized_expression "(3 < iVar9)" ( (binary_expression "3 < iVar9" number_literal < identifier) )) (compound_statement "{\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" { (expression_statement "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");" (call_expression "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" identifier (argument_list "("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" ( (string_literal ""st->npending <= HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "iVar13 = iVar9;" (assignment_expression "iVar13 = iVar9" identifier = identifier) ;) (if_statement "if (iVar9 < 1) goto LAB_0008528b;" if (parenthesized_expression "(iVar9 < 1)" ( (binary_expression "iVar9 < 1" identifier < number_literal) )) (goto_statement "goto LAB_0008528b;" goto statement_identifier ;)) (expression_statement "iVar8 = param_3 + iVar9;" (assignment_expression "iVar8 = param_3 + iVar9" identifier = (binary_expression "param_3 + iVar9" identifier + identifier)) ;) (if_statement "if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" if (parenthesized_expression "(iVar8 < 3)" ( (binary_expression "iVar8 < 3" identifier < number_literal) )) (compound_statement "{\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" statement_identifier : (expression_statement "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2)" ( (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" ( (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) + identifier) ))))) ;)) (if_statement "if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" if (parenthesized_expression "((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9))" ( (binary_expression "(iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" (parenthesized_expression "(iVar8 + 1 < iVar9)" ( (binary_expression "iVar8 + 1 < iVar9" (binary_expression "iVar8 + 1" identifier + number_literal) < identifier) )) && (parenthesized_expression "(*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" ( (comma_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3 + iVar8)" ( (binary_expression "iVar6 + 0x38ff3 + iVar8" (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) + identifier) ))))) , (binary_expression "iVar8 + 2 < iVar9" (binary_expression "iVar8 + 2" identifier + number_literal) < identifier)) ))) )) (compound_statement "{\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" { (expression_statement "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4)" (pointer_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" * (cast_expression "(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((iVar6 - iVar8) + 0x38ff4)" ( (binary_expression "(iVar6 - iVar8) + 0x38ff4" (parenthesized_expression "(iVar6 - iVar8)" ( (binary_expression "iVar6 - iVar8" identifier - identifier) )) + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) })) }) (else_clause "else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" else (compound_statement "{\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" { (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2)" ( (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar13 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" if (parenthesized_expression "(iVar9 == 1)" ( (binary_expression "iVar9 == 1" identifier == number_literal) )) (compound_statement "{\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }" { (expression_statement "uVar11 = (uint)*param_2;" (assignment_expression "uVar11 = (uint)*param_2" identifier = (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (labeled_statement "LAB_0008504a:\n      bVar3 = param_2[2 - iVar9];" statement_identifier : (expression_statement "bVar3 = param_2[2 - iVar9];" (assignment_expression "bVar3 = param_2[2 - iVar9]" identifier = (subscript_expression "param_2[2 - iVar9]" identifier [ (binary_expression "2 - iVar9" number_literal - identifier) ])) ;)) }) (else_clause "else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" else (compound_statement "{\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" { (expression_statement "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3)" identifier = (binary_expression "(uint)*(byte *)(iVar6 + 0x38ff3)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar6 + 0x38ff3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 != 3) goto LAB_0008504a;" if (parenthesized_expression "(iVar9 != 3)" ( (binary_expression "iVar9 != 3" identifier != number_literal) )) (goto_statement "goto LAB_0008504a;" goto statement_identifier ;)) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" * (cast_expression "(byte *)(iVar6 + 0x38ff4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) }))) (expression_statement "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;" (assignment_expression "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" identifier = (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)bVar3 * 0x10d" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal) + (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier ))))) + (binary_expression "uVar11 * 0x107" identifier * number_literal))) ;) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar12 * 0x10121457)" ( (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + iVar13 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar13 * 6)" identifier = (cast_expression "(short *)(iVar6 + iVar13 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar13 * 6)" ( (binary_expression "iVar6 + iVar13 * 6" identifier + (binary_expression "iVar13 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }" { (if_statement "if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" else (compound_statement "{\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar12" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" identifier = (binary_expression "iVar6 + iVar12 * 2" identifier + (binary_expression "iVar12 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar13;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar13" (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + iVar13)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + iVar13)" ( (binary_expression "iVar6 + 0x30000 + iVar13" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "uVar11 = iVar13 + 1U & 0x7fff;" (assignment_expression "uVar11 = iVar13 + 1U & 0x7fff" identifier = (binary_expression "iVar13 + 1U & 0x7fff" (binary_expression "iVar13 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" if (parenthesized_expression "(iVar9 == 1)" ( (binary_expression "iVar9 == 1" identifier == number_literal) )) (compound_statement "{\n      iVar13 = 1;\n    }" { (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" identifier = number_literal) ;) }) (else_clause "else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" else (compound_statement "{\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" { (if_statement "if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" if (parenthesized_expression "(iVar8 == 3)" ( (binary_expression "iVar8 == 3" identifier == number_literal) )) (compound_statement "{\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008589d:\n        iVar13 = iVar9 - iVar8;" statement_identifier : (expression_statement "iVar13 = iVar9 - iVar8;" (assignment_expression "iVar13 = iVar9 - iVar8" identifier = (binary_expression "iVar9 - iVar8" identifier - identifier)) ;)) (goto_statement "goto LAB_00085826;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff3)" ( (binary_expression "iVar6 + 0x38ff3" identifier + number_literal) ))))) ;) (if_statement "if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }" if (parenthesized_expression "(iVar9 == 3)" ( (binary_expression "iVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }" { (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" * (cast_expression "(byte *)(iVar6 + 0x38ff4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) }) (else_clause "else {\n        bVar3 = *param_2;\n      }" else (compound_statement "{\n        bVar3 = *param_2;\n      }" { (expression_statement "bVar3 = *param_2;" (assignment_expression "bVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) }))) (expression_statement "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;" (assignment_expression "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107" (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier )))) + (binary_expression "(uint)bVar3 * 0x107" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + (binary_expression "(uint)param_2[3 - iVar9] * 0x10d" (cast_expression "(uint)param_2[3 - iVar9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[3 - iVar9]" identifier [ (binary_expression "3 - iVar9" number_literal - identifier) ])) * number_literal))) ;) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar13 * 0x10121457)" ( (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" identifier = (cast_expression "(short *)(iVar6 + uVar11 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar11 * 6)" ( (binary_expression "iVar6 + uVar11 * 6" identifier + (binary_expression "uVar11 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }" { (if_statement "if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" else (compound_statement "{\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" identifier = (binary_expression "iVar6 + iVar13 * 2" identifier + (binary_expression "iVar13 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" ( (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "uVar11 = uVar11 + 1 & 0x7fff;" (assignment_expression "uVar11 = uVar11 + 1 & 0x7fff" identifier = (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" identifier + number_literal) & number_literal)) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = identifier) ;) (if_statement "if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }" if (parenthesized_expression "(iVar9 == 3)" ( (binary_expression "iVar9 == 3" identifier == number_literal) )) (compound_statement "{\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }" { (if_statement "if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" if (parenthesized_expression "(iVar8 < 5)" ( (binary_expression "iVar8 < 5" identifier < number_literal) )) (compound_statement "{\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" { (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" identifier = number_literal) ;) (goto_statement "goto LAB_0008589d;" goto statement_identifier ;) })) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4)" identifier = (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" * (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff4)" ( (binary_expression "iVar6 + 0x38ff4" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);" (assignment_expression "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" identifier = (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107" (binary_expression "(uint)param_2[1] * 0x10d" (cast_expression "(uint)param_2[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_2[1]" identifier [ number_literal ])) * number_literal) + (binary_expression "(uint)*param_2 * 0x107" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" ( identifier )) * identifier) * number_literal)) + (cast_expression "(uint)CONCAT11(uVar2,uVar2)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(uVar2,uVar2)" identifier (argument_list "(uVar2,uVar2)" ( identifier , identifier )))))) ;) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar13 * 0x10121457)" ( (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" identifier = (cast_expression "(short *)(iVar6 + uVar11 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + uVar11 * 6)" ( (binary_expression "iVar6 + uVar11 * 6" identifier + (binary_expression "uVar11 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" { (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" else (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar13" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" identifier = (binary_expression "iVar6 + iVar13 * 2" identifier + (binary_expression "iVar13 * 2" identifier * number_literal))) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" * (cast_expression "(short *)(iVar13 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x38004)" ( (binary_expression "iVar13 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)uVar11" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" * (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" ( (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "iVar13 = 3;" (assignment_expression "iVar13 = 3" identifier = number_literal) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" identifier + number_literal) & number_literal)) ;) }) (else_clause "else {\n        iVar13 = 2;\n      }" else (compound_statement "{\n        iVar13 = 2;\n      }" { (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "iVar13 = iVar9 - iVar13;" (assignment_expression "iVar13 = iVar9 - iVar13" identifier = (binary_expression "iVar9 - iVar13" identifier - identifier)) ;) }))) (labeled_statement "LAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;" statement_identifier : (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar13;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar13" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) )))) = identifier) ;)) (if_statement "if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" { (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" identifier = number_literal) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (expression_statement "local_134 = 0;" (assignment_expression "local_134 = 0" identifier = number_literal) ;) (expression_statement "local_160 = param_2;" (assignment_expression "local_160 = param_2" identifier = identifier) ;) (expression_statement "local_15c = param_3;" (assignment_expression "local_15c = param_3" identifier = identifier) ;) (labeled_statement "LAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" statement_identifier : (do_statement "do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" do (compound_statement "{\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    }" { (if_statement "if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" if (parenthesized_expression "((local_15c < 3) || ((param_4 & 1) == 0))" ( (binary_expression "(local_15c < 3) || ((param_4 & 1) == 0)" (parenthesized_expression "(local_15c < 3)" ( (binary_expression "local_15c < 3" identifier < number_literal) )) || (parenthesized_expression "((param_4 & 1) == 0)" ( (binary_expression "(param_4 & 1) == 0" (parenthesized_expression "(param_4 & 1)" ( (binary_expression "param_4 & 1" identifier & number_literal) )) == number_literal) ))) )) (compound_statement "{\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }" { (labeled_statement "LAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" statement_identifier : (if_statement "if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" if (parenthesized_expression "(local_14c == 0)" ( (binary_expression "local_14c == 0" identifier == number_literal) )) (compound_statement "{\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }" { (expression_statement "(*(code *)param_1[2])(param_1,*local_160);" (call_expression "(*(code *)param_1[2])(param_1,*local_160)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_1,*local_160)" ( identifier , (pointer_expression "*local_160" * identifier) ))) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) }) (else_clause "else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" else (compound_statement "{\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" { (labeled_statement "LAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);" statement_identifier : (expression_statement "(*(code *)param_1[3])(param_1,local_138,local_14c);" (call_expression "(*(code *)param_1[3])(param_1,local_138,local_14c)" (parenthesized_expression "(*(code *)param_1[3])" ( (pointer_expression "*(code *)param_1[3]" * (cast_expression "(code *)param_1[3]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) )) (argument_list "(param_1,local_138,local_14c)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar9 = local_14c + -1;" (assignment_expression "iVar9 = local_14c + -1" identifier = (binary_expression "local_14c + -1" identifier + number_literal)) ;) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" identifier = number_literal) ;) (if_statement "if (iVar9 == 0) goto LAB_000852d0;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852d0;" goto statement_identifier ;)) })))) }) (else_clause "else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" else (compound_statement "{\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" { (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) (expression_statement "uVar15 = (uint)bVar3;" (assignment_expression "uVar15 = (uint)bVar3" identifier = (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar16 = (uint)local_160[1];" (assignment_expression "uVar16 = (uint)local_160[1]" identifier = (cast_expression "(uint)local_160[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[1]" identifier [ number_literal ]))) ;) (expression_statement "uVar11 = (uint)local_160[2];" (assignment_expression "uVar11 = (uint)local_160[2]" identifier = (cast_expression "(uint)local_160[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "local_160[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;" (assignment_expression "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar3,bVar3)" identifier (argument_list "(bVar3,bVar3)" ( identifier , identifier )))) + (binary_expression "uVar16 * 0x107" identifier * number_literal)) + (binary_expression "uVar11 * 0x10d" identifier * number_literal))) ;) (expression_statement "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" identifier = (cast_expression "(int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" * (cast_expression "(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" ( (binary_expression "iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (parenthesized_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7)" ( (binary_expression "iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar9 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar9 * 0x10121457)" ( (binary_expression "(longlong)iVar9 * 0x10121457" (cast_expression "(longlong)iVar9" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal)) )) * number_literal)) )))))) ;) (if_statement "if (iVar9 == -1) goto LAB_000852e2;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;)) (expression_statement "local_154 = *(int *)(iVar6 + 0x38000);" (assignment_expression "local_154 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" if (parenthesized_expression "(uVar15 != uVar16)" ( (binary_expression "uVar15 != uVar16" identifier != identifier) )) (compound_statement "{\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" { (labeled_statement "LAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" statement_identifier : (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" ( (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" ( (binary_expression "iVar9 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;)) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" identifier = (binary_expression "0x8000 - iVar8" number_literal - identifier)) ;) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" ( (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" ( (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" identifier - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" if (parenthesized_expression "(iVar8 == 0x7fff)" ( (binary_expression "iVar8 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" { (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" identifier = (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) ))))) ;) (goto_statement "goto joined_r0x0008568a;" goto statement_identifier ;) })) (if_statement "if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" ( (binary_expression "uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" { (if_statement "if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" if (parenthesized_expression "(iVar8 == 0x7ffe)" ( (binary_expression "iVar8 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                bVar3 = *local_160;\n              }" { (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" identifier = (pointer_expression "*local_160" * identifier)) ;) }) (else_clause "else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" else (compound_statement "{\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" { (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) ;) }))) (if_statement "if (uVar11 != bVar3) goto LAB_00085631;" if (parenthesized_expression "(uVar11 != bVar3)" ( (binary_expression "uVar11 != bVar3" identifier != identifier) )) (goto_statement "goto LAB_00085631;" goto statement_identifier ;)) (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = identifier) ;) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = number_literal) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar13)" ( (binary_expression "0x1f < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);" statement_identifier : (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" identifier = (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) ))))) ;)) (labeled_statement "joined_r0x0008568a:\n          iVar9 = (int)sVar5;" statement_identifier : (expression_statement "iVar9 = (int)sVar5;" (assignment_expression "iVar9 = (int)sVar5" identifier = (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (if_statement "if (iVar9 == -1) goto LAB_00085690;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00085690;" goto statement_identifier ;)) (goto_statement "goto LAB_0008563d;" goto statement_identifier ;) })) (do_statement "do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);" do (compound_statement "{\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        }" { (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" identifier = (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" ( (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" ( (binary_expression "iVar9 + 0x8000" identifier + number_literal) )) - identifier) )) % number_literal)) ;) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" identifier = (binary_expression "0x8000 - iVar8" number_literal - identifier)) ;) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" if (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" ( (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" identifier == (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" ( (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" identifier - identifier) & number_literal) ))) ))))) )) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" { (if_statement "if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" if (parenthesized_expression "(iVar8 == 0x7fff)" ( (binary_expression "iVar8 == 0x7fff" identifier == number_literal) )) (compound_statement "{\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }" { (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" identifier = number_literal) ;) (labeled_statement "LAB_0008552d:\n              bVar3 = local_160[iVar8];" statement_identifier : (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" identifier = (subscript_expression "local_160[iVar8]" identifier [ identifier ])) ;)) }) (else_clause "else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" else (compound_statement "{\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" { (if_statement "if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;" if (parenthesized_expression "(uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" ( (binary_expression "uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" identifier != (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" ( (binary_expression "local_154 + 1" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) )) (goto_statement "goto LAB_00085553;" goto statement_identifier ;)) (if_statement "if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" if (parenthesized_expression "(iVar8 == 0x7ffe)" ( (binary_expression "iVar8 == 0x7ffe" identifier == number_literal) )) (compound_statement "{\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_0008552d;" goto statement_identifier ;) })) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" ( (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" ( (binary_expression "local_154 + 2" identifier + number_literal) )) - identifier) & number_literal) ))) ))))) ;) }))) (if_statement "if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" if (parenthesized_expression "(uVar11 == bVar3)" ( (binary_expression "uVar11 == bVar3" identifier == identifier) )) (compound_statement "{\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" { (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = identifier) ;) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = number_literal) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" if (parenthesized_expression "(0x1f < iVar13)" ( (binary_expression "0x1f < iVar13" number_literal < identifier) )) (goto_statement "goto LAB_00085698;" goto statement_identifier ;)) })) })) (labeled_statement "LAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" statement_identifier : (expression_statement "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6)" identifier = (cast_expression "(int)*(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" * (cast_expression "(short *)(iVar6 + iVar9 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar9 * 6)" ( (binary_expression "iVar6 + iVar9 * 6" identifier + (binary_expression "iVar9 * 6" identifier * number_literal)) )))))) ;)) }) while (parenthesized_expression "(iVar9 != -1)" ( (binary_expression "iVar9 != -1" identifier != number_literal) )) ;) (labeled_statement "LAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;" statement_identifier : (if_statement "if (iVar13 == 0) goto LAB_000852e2;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000852e2;" goto statement_identifier ;))) (labeled_statement "LAB_00085698:\n        local_154 = local_154 + 3;" statement_identifier : (expression_statement "local_154 = local_154 + 3;" (assignment_expression "local_154 = local_154 + 3" identifier = (binary_expression "local_154 + 3" identifier + number_literal)) ;)) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) (if_statement "if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" if (parenthesized_expression "(local_15c == 3)" ( (binary_expression "local_15c == 3" identifier == number_literal) )) (compound_statement "{\n          iVar8 = 3;\n        }" { (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" identifier = number_literal) ;) }) (else_clause "else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" else (compound_statement "{\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" { (do_statement "do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);" do (compound_statement "{\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          }" { (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" identifier = (subscript_expression "local_160[iVar8]" identifier [ identifier ])) ;) (expression_statement "iVar9 = iVar13 * 2;" (assignment_expression "iVar9 = iVar13 * 2" identifier = (binary_expression "iVar13 * 2" identifier * number_literal)) ;) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "piVar10 = local_120;" (assignment_expression "piVar10 = local_120" identifier = identifier) ;) (do_statement "do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);" do (compound_statement "{\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            }" { (expression_statement "iVar12 = iVar8 - *piVar10;" (assignment_expression "iVar12 = iVar8 - *piVar10" identifier = (binary_expression "iVar8 - *piVar10" identifier - (pointer_expression "*piVar10" * identifier))) ;) (if_statement "if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }" if (parenthesized_expression "(iVar12 < 0)" ( (binary_expression "iVar12 < 0" identifier < number_literal) )) (compound_statement "{\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }" { (expression_statement "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));" (assignment_expression "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" identifier = (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" * (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" ( (binary_expression "iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + (parenthesized_expression "(local_154 - *piVar10 & 0x7fffU)" ( (binary_expression "local_154 - *piVar10 & 0x7fffU" (binary_expression "local_154 - *piVar10" identifier - (pointer_expression "*piVar10" * identifier)) & number_literal) ))) ))))) ;) }) (else_clause "else {\n                bVar4 = local_160[iVar12];\n              }" else (compound_statement "{\n                bVar4 = local_160[iVar12];\n              }" { (expression_statement "bVar4 = local_160[iVar12];" (assignment_expression "bVar4 = local_160[iVar12]" identifier = (subscript_expression "local_160[iVar12]" identifier [ identifier ])) ;) }))) (if_statement "if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" if (parenthesized_expression "(bVar4 == bVar3)" ( (binary_expression "bVar4 == bVar3" identifier == identifier) )) (compound_statement "{\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" { (expression_statement "iVar12 = piVar10[1];" (assignment_expression "iVar12 = piVar10[1]" identifier = (subscript_expression "piVar10[1]" identifier [ number_literal ])) ;) (expression_statement "local_120[iVar13 * 2] = *piVar10;" (assignment_expression "local_120[iVar13 * 2] = *piVar10" (subscript_expression "local_120[iVar13 * 2]" identifier [ (binary_expression "iVar13 * 2" identifier * number_literal) ]) = (pointer_expression "*piVar10" * identifier)) ;) (expression_statement "local_120[iVar13 * 2 + 1] = iVar12;" (assignment_expression "local_120[iVar13 * 2 + 1] = iVar12" (subscript_expression "local_120[iVar13 * 2 + 1]" identifier [ (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" identifier * number_literal) + number_literal) ]) = identifier) ;) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) })) (expression_statement "piVar10 = piVar10 + 2;" (assignment_expression "piVar10 = piVar10 + 2" identifier = (binary_expression "piVar10 + 2" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar10 != local_120 + iVar9)" ( (binary_expression "piVar10 != local_120 + iVar9" identifier != (binary_expression "local_120 + iVar9" identifier + identifier)) )) ;) (if_statement "if (iVar13 == 0) break;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_154 = local_154 + 1;" (assignment_expression "local_154 = local_154 + 1" identifier = (binary_expression "local_154 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != local_15c)" ( (binary_expression "iVar8 != local_15c" identifier != identifier) )) ;) }))) (expression_statement "local_120[1] = iVar8;" (assignment_expression "local_120[1] = iVar8" (subscript_expression "local_120[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" if (parenthesized_expression "(local_14c != 0)" ( (binary_expression "local_14c != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" { (if_statement "if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" if (parenthesized_expression "(local_14c + 1 < iVar8)" ( (binary_expression "local_14c + 1 < iVar8" (binary_expression "local_14c + 1" identifier + number_literal) < identifier) )) (compound_statement "{\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" { (expression_statement "(*(code *)param_1[2])(param_1,local_134);" (call_expression "(*(code *)param_1[2])(param_1,local_134)" (parenthesized_expression "(*(code *)param_1[2])" ( (pointer_expression "*(code *)param_1[2]" * (cast_expression "(code *)param_1[2]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (argument_list "(param_1,local_134)" ( identifier , identifier ))) ;) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" identifier = (subscript_expression "local_120[0]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" identifier = identifier) ;) (expression_statement "local_134 = (uint)*local_160;" (assignment_expression "local_134 = (uint)*local_160" identifier = (binary_expression "(uint)*local_160" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (goto_statement "goto LAB_0008531a;" goto statement_identifier ;) })) (goto_statement "goto LAB_000852f1;" goto statement_identifier ;) })) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" identifier = (subscript_expression "local_120[0]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" identifier = number_literal) ;) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" identifier = identifier) ;) (expression_statement "local_134 = uVar15;" (assignment_expression "local_134 = uVar15" identifier = identifier) ;) }))) (labeled_statement "LAB_0008531a:\n      pbVar7 = local_160;" statement_identifier : (expression_statement "pbVar7 = local_160;" (assignment_expression "pbVar7 = local_160" identifier = identifier) ;)) (do_statement "do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);" do (compound_statement "{\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      }" { (while_statement "while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" while (parenthesized_expression "(iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3)" ( (comma_expression "iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "iVar13 = local_15c" identifier = identifier) , (comma_expression "pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "pbVar14 = pbVar7" identifier = identifier) , (binary_expression "iVar13 < 3" identifier < number_literal))) )) (compound_statement "{\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" { (expression_statement "iVar8 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38ff8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) ))))) ;) (if_statement "if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" if (parenthesized_expression "(2 < iVar8)" ( (binary_expression "2 < iVar8" number_literal < identifier) )) (compound_statement "{\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" { (expression_statement "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");" (call_expression "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" identifier (argument_list "("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" ( (string_literal ""st->npending < HASHCHARS"" " string_content ") , (string_literal ""sshzlib.c"" " string_content ") , number_literal , (string_literal ""lz77_compress"" " string_content ") ))) ;) })) (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" * (cast_expression "(int *)(iVar6 + 0x38ff8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff8)" ( (binary_expression "iVar6 + 0x38ff8" identifier + number_literal) )))) = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;" (assignment_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14" (pointer_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8)" * (cast_expression "(byte *)(iVar6 + 0x38ff2 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" ( (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" identifier + number_literal) + identifier) )))) = (pointer_expression "*pbVar14" * identifier)) ;) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) (if_statement "if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;" if (parenthesized_expression "(pbVar14 + 1 == local_160 + iVar9)" ( (binary_expression "pbVar14 + 1 == local_160 + iVar9" (binary_expression "pbVar14 + 1" identifier + number_literal) == (binary_expression "local_160 + iVar9" identifier + identifier)) )) (goto_statement "goto LAB_0008541a;" goto statement_identifier ;)) })) (expression_statement "bVar3 = *pbVar14;" (assignment_expression "bVar3 = *pbVar14" identifier = (pointer_expression "*pbVar14" * identifier)) ;) (expression_statement "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;" (assignment_expression "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" identifier = (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" ( (type_descriptor "uint" type_identifier) ) (call_expression "CONCAT11(bVar3,bVar3)" identifier (argument_list "(bVar3,bVar3)" ( identifier , identifier )))) + (binary_expression "(uint)pbVar14[1] * 0x107" (cast_expression "(uint)pbVar14[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ])) * number_literal)) + (binary_expression "(uint)pbVar14[2] * 0x10d" (cast_expression "(uint)pbVar14[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[2]" identifier [ number_literal ])) * number_literal))) ;) (expression_statement "iVar8 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38000)" identifier = (pointer_expression "*(int *)(iVar6 + 0x38000)" * (cast_expression "(int *)(iVar6 + 0x38000)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier = (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" identifier + (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" ( (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" ( identifier )) (argument_list "((longlong)iVar12 * 0x10121457)" ( (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" ( (type_descriptor "longlong" type_identifier) ) identifier) * number_literal) ))) >> number_literal) ))) * number_literal))) ;) (expression_statement "psVar1 = (short *)(iVar6 + iVar8 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar8 * 6)" identifier = (cast_expression "(short *)(iVar6 + iVar8 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar8 * 6)" ( (binary_expression "iVar6 + iVar8 * 6" identifier + (binary_expression "iVar8 * 6" identifier * number_literal)) )))) ;) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" if (parenthesized_expression "(psVar1[1] == -1)" ( (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" { (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" if (parenthesized_expression "(psVar1[2] != -1)" ( (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" { (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" * (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" ( (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" identifier + number_literal) + (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) })) }) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" else (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" { (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" * (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + psVar1[1] * 6)" ( (binary_expression "iVar6 + psVar1[1] * 6" identifier + (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" identifier [ number_literal ]) * number_literal)) )))) = number_literal) ;) }))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" identifier [ number_literal ]) = (cast_expression "(short)iVar12" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" identifier = (binary_expression "iVar6 + iVar12 * 2" identifier + (binary_expression "iVar12 * 2" identifier * number_literal))) ;) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" identifier = (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) ))))) ;) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" * identifier) = identifier) ;) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar8;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar8" (pointer_expression "*(short *)(iVar12 + 0x38004)" * (cast_expression "(short *)(iVar12 + 0x38004)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x38004)" ( (binary_expression "iVar12 + 0x38004" identifier + number_literal) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" if (parenthesized_expression "(sVar5 != -1)" ( (binary_expression "sVar5 != -1" identifier != number_literal) )) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" { (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" * (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" ( (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" identifier + number_literal) + (binary_expression "sVar5 * 6" identifier * number_literal)) )))) = (cast_expression "(short)iVar8" ( (type_descriptor "short" (sized_type_specifier "short" short)) ) identifier)) ;) })) (expression_statement "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;" (assignment_expression "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3" (pointer_expression "*(byte *)(iVar6 + 0x30000 + iVar8)" * (cast_expression "(byte *)(iVar6 + 0x30000 + iVar8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x30000 + iVar8)" ( (binary_expression "iVar6 + 0x30000 + iVar8" (binary_expression "iVar6 + 0x30000" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" * (cast_expression "(uint *)(iVar6 + 0x38000)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x38000)" ( (binary_expression "iVar6 + 0x38000" identifier + number_literal) )))) = (binary_expression "iVar8 + 1U & 0x7fff" (binary_expression "iVar8 + 1U" identifier + number_literal) & number_literal)) ;) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar14 + 1 != local_160 + iVar9)" ( (binary_expression "pbVar14 + 1 != local_160 + iVar9" (binary_expression "pbVar14 + 1" identifier + number_literal) != (binary_expression "local_160 + iVar9" identifier + identifier)) )) ;) (labeled_statement "LAB_0008541a:\n      local_15c = iVar13 + -1;" statement_identifier : (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;)) (expression_statement "local_160 = pbVar14 + 1;" (assignment_expression "local_160 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(0 < local_15c)" ( (binary_expression "0 < local_15c" number_literal < identifier) )) ;)) })) (if_statement "if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" if (parenthesized_expression "(local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" identifier [ number_literal ]) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_000c60b0();" (call_expression "FUN_000c60b0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (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 + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) , (binary_expression (binary_expression IDENT + LIT) < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression LIT - IDENT) ])) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ))) >> LIT) ))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ (binary_expression LIT - IDENT) ])) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ))) >> LIT) ))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) + (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ))) >> LIT) ))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))) + (binary_expression IDENT * LIT)) + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ))) >> LIT) ))) * LIT)) )) * LIT)) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) )) % LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) ))) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) & LIT) ))) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) & LIT) ))) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) )) % LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - IDENT) & LIT) ))) ))))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;)) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) & LIT) ))) ))))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) - IDENT) & LIT) ))) ))))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))))) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (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 { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (parenthesized_expression ( (binary_expression (binary_expression IDENT - (pointer_expression * IDENT)) & LIT) ))) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT * LIT) ]) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression (binary_expression IDENT * LIT) + LIT) ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (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 IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < IDENT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT < LIT))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) == (binary_expression IDENT + IDENT)) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT )))) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT) ))) >> LIT) ))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT)) )))) = LIT) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor (sized_type_specifier short)) ) IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression IDENT + LIT) & LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != (binary_expression IDENT + IDENT)) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression LIT < IDENT) )) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)\n\n{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00084fd0(int *param_1,byte *param_2,int param_3,byte param_4)" (identifier "FUN_00084fd0") (parameter_list "(int *param_1,byte *param_2,int param_3,byte param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte *param_2" (type_identifier "byte") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "byte param_4" (type_identifier "byte") (identifier "param_4")) () ")"))) (compound_statement "{\n  short *psVar1;\n  undefined1 uVar2;\n  byte bVar3;\n  byte bVar4;\n  short sVar5;\n  int iVar6;\n  byte *pbVar7;\n  int iVar8;\n  int iVar9;\n  int *piVar10;\n  uint uVar11;\n  int iVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  int in_GS_OFFSET;\n  byte *local_160;\n  int local_15c;\n  int local_154;\n  int local_14c;\n  int local_138;\n  uint local_134;\n  int local_120 [68];\n  \n  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);\n  iVar6 = *param_1;\n  iVar9 = *(int *)(iVar6 + 0x38ff8);\n  if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }\n  iVar13 = iVar9;\n  if (iVar9 < 1) goto LAB_0008528b;\n  iVar8 = param_3 + iVar9;\n  if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }\nLAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;\n  if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }\n  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }\n                    \n  FUN_000c60b0();\n}" ({ "{") (declaration "short *psVar1;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*psVar1" (* "*") (identifier "psVar1")) (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "short sVar5;" (sized_type_specifier "short" (short "short")) (identifier "sVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "byte *pbVar7;" (type_identifier "byte") (pointer_declarator "*pbVar7" (* "*") (identifier "pbVar7")) (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int *piVar10;" (primitive_type "int") (pointer_declarator "*piVar10" (* "*") (identifier "piVar10")) (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "uint uVar16;" (type_identifier "uint") (identifier "uVar16") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte *local_160;" (type_identifier "byte") (pointer_declarator "*local_160" (* "*") (identifier "local_160")) (; ";")) (declaration "int local_15c;" (primitive_type "int") (identifier "local_15c") (; ";")) (declaration "int local_154;" (primitive_type "int") (identifier "local_154") (; ";")) (declaration "int local_14c;" (primitive_type "int") (identifier "local_14c") (; ";")) (declaration "int local_138;" (primitive_type "int") (identifier "local_138") (; ";")) (declaration "uint local_134;" (type_identifier "uint") (identifier "local_134") (; ";")) (declaration "int local_120 [68];" (primitive_type "int") (array_declarator "local_120 [68]" (identifier "local_120") ([ "[") (number_literal "68") (] "]")) (; ";")) (expression_statement "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" (identifier "local_120") ([ "[") (number_literal "0x40") (] "]")) (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar6 = *param_1;" (assignment_expression "iVar6 = *param_1" (identifier "iVar6") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar9 = *(int *)(iVar6 + 0x38ff8)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar6 + 0x38ff8)" (* "*") (cast_expression "(int *)(iVar6 + 0x38ff8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff8)" (( "(") (binary_expression "iVar6 + 0x38ff8" (identifier "iVar6") (+ "+") (number_literal "0x38ff8")) () ")"))))) (; ";")) (if_statement "if (3 < iVar9) {\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" (if "if") (parenthesized_expression "(3 < iVar9)" (( "(") (binary_expression "3 < iVar9" (number_literal "3") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n                    \n    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");\n  }" ({ "{") (expression_statement "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");" (call_expression "__assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" (identifier "__assert_fail") (argument_list "("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress")" (( "(") (string_literal ""st->npending <= HASHCHARS"" (" """) (string_content "st->npending <= HASHCHARS") (" """)) (, ",") (string_literal ""sshzlib.c"" (" """) (string_content "sshzlib.c") (" """)) (, ",") (number_literal "0xd0") (, ",") (string_literal ""lz77_compress"" (" """) (string_content "lz77_compress") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar13 = iVar9;" (assignment_expression "iVar13 = iVar9" (identifier "iVar13") (= "=") (identifier "iVar9")) (; ";")) (if_statement "if (iVar9 < 1) goto LAB_0008528b;" (if "if") (parenthesized_expression "(iVar9 < 1)" (( "(") (binary_expression "iVar9 < 1" (identifier "iVar9") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_0008528b;" (goto "goto") (statement_identifier "LAB_0008528b") (; ";"))) (expression_statement "iVar8 = param_3 + iVar9;" (assignment_expression "iVar8 = param_3 + iVar9" (identifier "iVar8") (= "=") (binary_expression "param_3 + iVar9" (identifier "param_3") (+ "+") (identifier "iVar9"))) (; ";")) (if_statement "if (iVar8 < 3) {\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }\n  else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" (if "if") (parenthesized_expression "(iVar8 < 3)" (( "(") (binary_expression "iVar8 < 3" (identifier "iVar8") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    iVar8 = 0;\nLAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);\n    if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }\n  }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00085826:\n    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" (statement_identifier "LAB_00085826") (: ":") (expression_statement "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff2)" (( "(") (binary_expression "iVar6 + 0x38ff2" (identifier "iVar6") (+ "+") (number_literal "0x38ff2")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff2 + iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" (( "(") (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" (identifier "iVar6") (+ "+") (number_literal "0x38ff2")) (+ "+") (identifier "iVar8")) () ")"))))) (; ";"))) (if_statement "if ((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)) {\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" (if "if") (parenthesized_expression "((iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9))" (( "(") (binary_expression "(iVar8 + 1 < iVar9) &&\n       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" (parenthesized_expression "(iVar8 + 1 < iVar9)" (( "(") (binary_expression "iVar8 + 1 < iVar9" (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1")) (< "<") (identifier "iVar9")) () ")")) (&& "&&") (parenthesized_expression "(*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9)" (( "(") (comma_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),\n       iVar8 + 2 < iVar9" (assignment_expression "*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff3)" (( "(") (binary_expression "iVar6 + 0x38ff3" (identifier "iVar6") (+ "+") (number_literal "0x38ff3")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff3 + iVar8)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff3 + iVar8)" (( "(") (binary_expression "iVar6 + 0x38ff3 + iVar8" (binary_expression "iVar6 + 0x38ff3" (identifier "iVar6") (+ "+") (number_literal "0x38ff3")) (+ "+") (identifier "iVar8")) () ")"))))) (, ",") (binary_expression "iVar8 + 2 < iVar9" (binary_expression "iVar8 + 2" (identifier "iVar8") (+ "+") (number_literal "2")) (< "<") (identifier "iVar9"))) () ")"))) () ")")) (compound_statement "{\n      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);\n    }" ({ "{") (expression_statement "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4)" (pointer_expression "*(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" (* "*") (cast_expression "(undefined1 *)((iVar6 - iVar8) + 0x38ff4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((iVar6 - iVar8) + 0x38ff4)" (( "(") (binary_expression "(iVar6 - iVar8) + 0x38ff4" (parenthesized_expression "(iVar6 - iVar8)" (( "(") (binary_expression "iVar6 - iVar8" (identifier "iVar6") (- "-") (identifier "iVar8")) () ")")) (+ "+") (number_literal "0x38ff4")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff4)" (( "(") (binary_expression "iVar6 + 0x38ff4" (identifier "iVar6") (+ "+") (number_literal "0x38ff4")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" (else "else") (compound_statement "{\n    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);\n    iVar13 = *(int *)(iVar6 + 0x38000);\n    if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }\n    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;\n    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n    psVar1 = (short *)(iVar6 + iVar13 * 6);\n    if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }\n    psVar1[2] = (short)iVar12;\n    iVar12 = iVar6 + iVar12 * 2;\n    psVar1[1] = -1;\n    sVar5 = *(short *)(iVar12 + 0x38004);\n    *psVar1 = sVar5;\n    *(short *)(iVar12 + 0x38004) = (short)iVar13;\n    if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }\n    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;\n    uVar11 = iVar13 + 1U & 0x7fff;\n    *(uint *)(iVar6 + 0x38000) = uVar11;\n    if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }\n    iVar13 = iVar9 - iVar13;\n  }" ({ "{") (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff2)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff2)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff2)" (( "(") (binary_expression "iVar6 + 0x38ff2" (identifier "iVar6") (+ "+") (number_literal "0x38ff2")) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar13 = *(int *)(iVar6 + 0x38000)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar6 + 0x38000)" (* "*") (cast_expression "(int *)(iVar6 + 0x38000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 1) {\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }\n    else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" (if "if") (parenthesized_expression "(iVar9 == 1)" (( "(") (binary_expression "iVar9 == 1" (identifier "iVar9") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      uVar11 = (uint)*param_2;\nLAB_0008504a:\n      bVar3 = param_2[2 - iVar9];\n    }" ({ "{") (expression_statement "uVar11 = (uint)*param_2;" (assignment_expression "uVar11 = (uint)*param_2" (identifier "uVar11") (= "=") (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2"))) (; ";")) (labeled_statement "LAB_0008504a:\n      bVar3 = param_2[2 - iVar9];" (statement_identifier "LAB_0008504a") (: ":") (expression_statement "bVar3 = param_2[2 - iVar9];" (assignment_expression "bVar3 = param_2[2 - iVar9]" (identifier "bVar3") (= "=") (subscript_expression "param_2[2 - iVar9]" (identifier "param_2") ([ "[") (binary_expression "2 - iVar9" (number_literal "2") (- "-") (identifier "iVar9")) (] "]"))) (; ";"))) (} "}")) (else_clause "else {\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" (else "else") (compound_statement "{\n      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);\n      if (iVar9 != 3) goto LAB_0008504a;\n      bVar3 = *(byte *)(iVar6 + 0x38ff4);\n    }" ({ "{") (expression_statement "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);" (assignment_expression "uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3)" (identifier "uVar11") (= "=") (binary_expression "(uint)*(byte *)(iVar6 + 0x38ff3)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar6 + 0x38ff3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff3)" (( "(") (binary_expression "iVar6 + 0x38ff3" (identifier "iVar6") (+ "+") (number_literal "0x38ff3")) () ")"))))) (; ";")) (if_statement "if (iVar9 != 3) goto LAB_0008504a;" (if "if") (parenthesized_expression "(iVar9 != 3)" (( "(") (binary_expression "iVar9 != 3" (identifier "iVar9") (!= "!=") (number_literal "3")) () ")")) (goto_statement "goto LAB_0008504a;" (goto "goto") (statement_identifier "LAB_0008504a") (; ";"))) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" (* "*") (cast_expression "(byte *)(iVar6 + 0x38ff4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff4)" (( "(") (binary_expression "iVar6 + 0x38ff4" (identifier "iVar6") (+ "+") (number_literal "0x38ff4")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;" (assignment_expression "iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" (identifier "iVar12") (= "=") (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107" (binary_expression "(uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)bVar3 * 0x10d" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (* "*") (number_literal "0x10d")) (+ "+") (cast_expression "(uint)CONCAT11(uVar2,uVar2)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(uVar2,uVar2)" (identifier "CONCAT11") (argument_list "(uVar2,uVar2)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar2") () ")"))))) (+ "+") (binary_expression "uVar11 * 0x107" (identifier "uVar11") (* "*") (number_literal "0x107")))) (; ";")) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar12") (= "=") (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar12") (+ "+") (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (( "(") (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "((longlong)iVar12 * 0x10121457)" (( "(") (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "iVar12")) (* "*") (number_literal "0x10121457")) () ")"))) (>> ">>") (number_literal "0x27")) () ")"))) (* "*") (number_literal "-0x7f7")))) (; ";")) (expression_statement "psVar1 = (short *)(iVar6 + iVar13 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar13 * 6)" (identifier "psVar1") (= "=") (cast_expression "(short *)(iVar6 + iVar13 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar13 * 6)" (( "(") (binary_expression "iVar6 + iVar13 * 6" (identifier "iVar6") (+ "+") (binary_expression "iVar13 * 6" (identifier "iVar13") (* "*") (number_literal "6"))) () ")")))) (; ";")) (if_statement "if (psVar1[1] == -1) {\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }\n    else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" (if "if") (parenthesized_expression "(psVar1[1] == -1)" (( "(") (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }\n    }" ({ "{") (if_statement "if (psVar1[2] != -1) {\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" (if "if") (parenthesized_expression "(psVar1[2] != -1)" (( "(") (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n      }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (* "*") (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" (identifier "iVar6") (+ "+") (number_literal "0x38004")) (+ "+") (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (* "*") (number_literal "2"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" (else "else") (compound_statement "{\n      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n    }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" (* "*") (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + psVar1[1] * 6)" (( "(") (binary_expression "iVar6 + psVar1[1] * 6" (identifier "iVar6") (+ "+") (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "6"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}")))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(short)iVar12" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar12"))) (; ";")) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" (identifier "iVar12") (= "=") (binary_expression "iVar6 + iVar12 * 2" (identifier "iVar6") (+ "+") (binary_expression "iVar12 * 2" (identifier "iVar12") (* "*") (number_literal "2")))) (; ";")) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar12 + 0x38004)" (* "*") (cast_expression "(short *)(iVar12 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x38004)" (( "(") (binary_expression "iVar12 + 0x38004" (identifier "iVar12") (+ "+") (number_literal "0x38004")) () ")"))))) (; ";")) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (= "=") (identifier "sVar5")) (; ";")) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar13;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar13" (pointer_expression "*(short *)(iVar12 + 0x38004)" (* "*") (cast_expression "(short *)(iVar12 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x38004)" (( "(") (binary_expression "iVar12 + 0x38004" (identifier "iVar12") (+ "+") (number_literal "0x38004")) () ")")))) (= "=") (cast_expression "(short)iVar13" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar13"))) (; ";")) (if_statement "if (sVar5 != -1) {\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" (if "if") (parenthesized_expression "(sVar5 != -1)" (( "(") (binary_expression "sVar5 != -1" (identifier "sVar5") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;\n    }" ({ "{") (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" (* "*") (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" (( "(") (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2")) (+ "+") (binary_expression "sVar5 * 6" (identifier "sVar5") (* "*") (number_literal "6"))) () ")")))) (= "=") (cast_expression "(short)iVar13" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar13"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + iVar13)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x30000 + iVar13)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + iVar13)" (( "(") (binary_expression "iVar6 + 0x30000 + iVar13" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (identifier "iVar13")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar11 = iVar13 + 1U & 0x7fff;" (assignment_expression "uVar11 = iVar13 + 1U & 0x7fff" (identifier "uVar11") (= "=") (binary_expression "iVar13 + 1U & 0x7fff" (binary_expression "iVar13 + 1U" (identifier "iVar13") (+ "+") (number_literal "1U")) (& "&") (number_literal "0x7fff"))) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" (* "*") (cast_expression "(uint *)(iVar6 + 0x38000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (iVar9 == 1) {\n      iVar13 = 1;\n    }\n    else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" (if "if") (parenthesized_expression "(iVar9 == 1)" (( "(") (binary_expression "iVar9 == 1" (identifier "iVar9") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n      iVar13 = 1;\n    }" ({ "{") (expression_statement "iVar13 = 1;" (assignment_expression "iVar13 = 1" (identifier "iVar13") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" (else "else") (compound_statement "{\n      if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }\n      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);\n      if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }\n      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;\n      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n      psVar1 = (short *)(iVar6 + uVar11 * 6);\n      if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }\n      psVar1[2] = (short)iVar13;\n      iVar13 = iVar6 + iVar13 * 2;\n      psVar1[1] = -1;\n      sVar5 = *(short *)(iVar13 + 0x38004);\n      *psVar1 = sVar5;\n      *(short *)(iVar13 + 0x38004) = (short)uVar11;\n      if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }\n      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n      uVar11 = uVar11 + 1 & 0x7fff;\n      *(uint *)(iVar6 + 0x38000) = uVar11;\n      if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }\n    }" ({ "{") (if_statement "if (iVar8 == 3) {\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" (if "if") (parenthesized_expression "(iVar8 == 3)" (( "(") (binary_expression "iVar8 == 3" (identifier "iVar8") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        iVar8 = 1;\nLAB_0008589d:\n        iVar13 = iVar9 - iVar8;\n        goto LAB_00085826;\n      }" ({ "{") (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0008589d:\n        iVar13 = iVar9 - iVar8;" (statement_identifier "LAB_0008589d") (: ":") (expression_statement "iVar13 = iVar9 - iVar8;" (assignment_expression "iVar13 = iVar9 - iVar8" (identifier "iVar13") (= "=") (binary_expression "iVar9 - iVar8" (identifier "iVar9") (- "-") (identifier "iVar8"))) (; ";"))) (goto_statement "goto LAB_00085826;" (goto "goto") (statement_identifier "LAB_00085826") (; ";")) (} "}"))) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff3)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff3)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff3)" (( "(") (binary_expression "iVar6 + 0x38ff3" (identifier "iVar6") (+ "+") (number_literal "0x38ff3")) () ")"))))) (; ";")) (if_statement "if (iVar9 == 3) {\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }\n      else {\n        bVar3 = *param_2;\n      }" (if "if") (parenthesized_expression "(iVar9 == 3)" (( "(") (binary_expression "iVar9 == 3" (identifier "iVar9") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        bVar3 = *(byte *)(iVar6 + 0x38ff4);\n      }" ({ "{") (expression_statement "bVar3 = *(byte *)(iVar6 + 0x38ff4);" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x38ff4)" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar6 + 0x38ff4)" (* "*") (cast_expression "(byte *)(iVar6 + 0x38ff4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff4)" (( "(") (binary_expression "iVar6 + 0x38ff4" (identifier "iVar6") (+ "+") (number_literal "0x38ff4")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n        bVar3 = *param_2;\n      }" (else "else") (compound_statement "{\n        bVar3 = *param_2;\n      }" ({ "{") (expression_statement "bVar3 = *param_2;" (assignment_expression "bVar3 = *param_2" (identifier "bVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (} "}")))) (expression_statement "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;" (assignment_expression "iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" (identifier "iVar13") (= "=") (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d" (binary_expression "(uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107" (cast_expression "(uint)CONCAT11(uVar2,uVar2)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(uVar2,uVar2)" (identifier "CONCAT11") (argument_list "(uVar2,uVar2)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar2") () ")")))) (+ "+") (binary_expression "(uint)bVar3 * 0x107" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (* "*") (number_literal "0x107"))) (+ "+") (binary_expression "(uint)param_2[3 - iVar9] * 0x10d" (cast_expression "(uint)param_2[3 - iVar9]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[3 - iVar9]" (identifier "param_2") ([ "[") (binary_expression "3 - iVar9" (number_literal "3") (- "-") (identifier "iVar9")) (] "]"))) (* "*") (number_literal "0x10d")))) (; ";")) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar13") (= "=") (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar13") (+ "+") (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (( "(") (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "((longlong)iVar13 * 0x10121457)" (( "(") (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "iVar13")) (* "*") (number_literal "0x10121457")) () ")"))) (>> ">>") (number_literal "0x27")) () ")"))) (* "*") (number_literal "-0x7f7")))) (; ";")) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" (identifier "psVar1") (= "=") (cast_expression "(short *)(iVar6 + uVar11 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + uVar11 * 6)" (( "(") (binary_expression "iVar6 + uVar11 * 6" (identifier "iVar6") (+ "+") (binary_expression "uVar11 * 6" (identifier "uVar11") (* "*") (number_literal "6"))) () ")")))) (; ";")) (if_statement "if (psVar1[1] == -1) {\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }\n      else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" (if "if") (parenthesized_expression "(psVar1[1] == -1)" (( "(") (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }\n      }" ({ "{") (if_statement "if (psVar1[2] != -1) {\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" (if "if") (parenthesized_expression "(psVar1[2] != -1)" (( "(") (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n        }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (* "*") (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" (identifier "iVar6") (+ "+") (number_literal "0x38004")) (+ "+") (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (* "*") (number_literal "2"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" (else "else") (compound_statement "{\n        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n      }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" (* "*") (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + psVar1[1] * 6)" (( "(") (binary_expression "iVar6 + psVar1[1] * 6" (identifier "iVar6") (+ "+") (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "6"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}")))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(short)iVar13" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar13"))) (; ";")) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" (identifier "iVar13") (= "=") (binary_expression "iVar6 + iVar13 * 2" (identifier "iVar6") (+ "+") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")))) (; ";")) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar13 + 0x38004)" (* "*") (cast_expression "(short *)(iVar13 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x38004)" (( "(") (binary_expression "iVar13 + 0x38004" (identifier "iVar13") (+ "+") (number_literal "0x38004")) () ")"))))) (; ";")) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (= "=") (identifier "sVar5")) (; ";")) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" (* "*") (cast_expression "(short *)(iVar13 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x38004)" (( "(") (binary_expression "iVar13 + 0x38004" (identifier "iVar13") (+ "+") (number_literal "0x38004")) () ")")))) (= "=") (cast_expression "(short)uVar11" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar11"))) (; ";")) (if_statement "if (sVar5 != -1) {\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" (if "if") (parenthesized_expression "(sVar5 != -1)" (( "(") (binary_expression "sVar5 != -1" (identifier "sVar5") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n      }" ({ "{") (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" (* "*") (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" (( "(") (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2")) (+ "+") (binary_expression "sVar5 * 6" (identifier "sVar5") (* "*") (number_literal "6"))) () ")")))) (= "=") (cast_expression "(short)uVar11" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar11"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" (( "(") (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (identifier "uVar11")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "uVar11 = uVar11 + 1 & 0x7fff;" (assignment_expression "uVar11 = uVar11 + 1 & 0x7fff" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (& "&") (number_literal "0x7fff"))) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11" (pointer_expression "*(uint *)(iVar6 + 0x38000)" (* "*") (cast_expression "(uint *)(iVar6 + 0x38000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (if_statement "if (iVar9 == 3) {\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }\n      else {\n        iVar13 = 2;\n      }" (if "if") (parenthesized_expression "(iVar9 == 3)" (( "(") (binary_expression "iVar9 == 3" (identifier "iVar9") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n        if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }\n        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);\n        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);\n        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + uVar11 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar13;\n        iVar13 = iVar6 + iVar13 * 2;\n        psVar1[1] = -1;\n        sVar5 = *(short *)(iVar13 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar13 + 0x38004) = (short)uVar11;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }\n        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;\n        iVar13 = 3;\n        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;\n      }" ({ "{") (if_statement "if (iVar8 < 5) {\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" (if "if") (parenthesized_expression "(iVar8 < 5)" (( "(") (binary_expression "iVar8 < 5" (identifier "iVar8") (< "<") (number_literal "5")) () ")")) (compound_statement "{\n          iVar8 = 2;\n          goto LAB_0008589d;\n        }" ({ "{") (expression_statement "iVar8 = 2;" (assignment_expression "iVar8 = 2" (identifier "iVar8") (= "=") (number_literal "2")) (; ";")) (goto_statement "goto LAB_0008589d;" (goto "goto") (statement_identifier "LAB_0008589d") (; ";")) (} "}"))) (expression_statement "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);" (assignment_expression "uVar2 = *(undefined1 *)(iVar6 + 0x38ff4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(iVar6 + 0x38ff4)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x38ff4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff4)" (( "(") (binary_expression "iVar6 + 0x38ff4" (identifier "iVar6") (+ "+") (number_literal "0x38ff4")) () ")"))))) (; ";")) (expression_statement "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);" (assignment_expression "iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" (identifier "iVar13") (= "=") (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2)" (binary_expression "(uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107" (binary_expression "(uint)param_2[1] * 0x10d" (cast_expression "(uint)param_2[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x10d")) (+ "+") (binary_expression "(uint)*param_2 * 0x107" (binary_expression "(uint)*param_2" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "param_2")) (* "*") (number_literal "0x107"))) (+ "+") (cast_expression "(uint)CONCAT11(uVar2,uVar2)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(uVar2,uVar2)" (identifier "CONCAT11") (argument_list "(uVar2,uVar2)" (( "(") (identifier "uVar2") (, ",") (identifier "uVar2") () ")")))))) (; ";")) (expression_statement "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar13") (= "=") (binary_expression "iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar13") (+ "+") (binary_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27)" (( "(") (binary_expression "(ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar13 * 0x10121457)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "((longlong)iVar13 * 0x10121457)" (( "(") (binary_expression "(longlong)iVar13 * 0x10121457" (cast_expression "(longlong)iVar13" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "iVar13")) (* "*") (number_literal "0x10121457")) () ")"))) (>> ">>") (number_literal "0x27")) () ")"))) (* "*") (number_literal "-0x7f7")))) (; ";")) (expression_statement "psVar1 = (short *)(iVar6 + uVar11 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + uVar11 * 6)" (identifier "psVar1") (= "=") (cast_expression "(short *)(iVar6 + uVar11 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + uVar11 * 6)" (( "(") (binary_expression "iVar6 + uVar11 * 6" (identifier "iVar6") (+ "+") (binary_expression "uVar11 * 6" (identifier "uVar11") (* "*") (number_literal "6"))) () ")")))) (; ";")) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" (if "if") (parenthesized_expression "(psVar1[1] == -1)" (( "(") (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" ({ "{") (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" (if "if") (parenthesized_expression "(psVar1[2] != -1)" (( "(") (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (* "*") (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" (identifier "iVar6") (+ "+") (number_literal "0x38004")) (+ "+") (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (* "*") (number_literal "2"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" (else "else") (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" (* "*") (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + psVar1[1] * 6)" (( "(") (binary_expression "iVar6 + psVar1[1] * 6" (identifier "iVar6") (+ "+") (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "6"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}")))) (expression_statement "psVar1[2] = (short)iVar13;" (assignment_expression "psVar1[2] = (short)iVar13" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(short)iVar13" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar13"))) (; ";")) (expression_statement "iVar13 = iVar6 + iVar13 * 2;" (assignment_expression "iVar13 = iVar6 + iVar13 * 2" (identifier "iVar13") (= "=") (binary_expression "iVar6 + iVar13 * 2" (identifier "iVar6") (+ "+") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")))) (; ";")) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "sVar5 = *(short *)(iVar13 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar13 + 0x38004)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar13 + 0x38004)" (* "*") (cast_expression "(short *)(iVar13 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x38004)" (( "(") (binary_expression "iVar13 + 0x38004" (identifier "iVar13") (+ "+") (number_literal "0x38004")) () ")"))))) (; ";")) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (= "=") (identifier "sVar5")) (; ";")) (expression_statement "*(short *)(iVar13 + 0x38004) = (short)uVar11;" (assignment_expression "*(short *)(iVar13 + 0x38004) = (short)uVar11" (pointer_expression "*(short *)(iVar13 + 0x38004)" (* "*") (cast_expression "(short *)(iVar13 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x38004)" (( "(") (binary_expression "iVar13 + 0x38004" (identifier "iVar13") (+ "+") (number_literal "0x38004")) () ")")))) (= "=") (cast_expression "(short)uVar11" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar11"))) (; ";")) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" (if "if") (parenthesized_expression "(sVar5 != -1)" (( "(") (binary_expression "sVar5 != -1" (identifier "sVar5") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;\n        }" ({ "{") (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" (* "*") (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" (( "(") (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2")) (+ "+") (binary_expression "sVar5 * 6" (identifier "sVar5") (* "*") (number_literal "6"))) () ")")))) (= "=") (cast_expression "(short)uVar11" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "uVar11"))) (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;" (assignment_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2" (pointer_expression "*(undefined1 *)(iVar6 + 0x30000 + uVar11)" (* "*") (cast_expression "(undefined1 *)(iVar6 + 0x30000 + uVar11)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + uVar11)" (( "(") (binary_expression "iVar6 + 0x30000 + uVar11" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (identifier "uVar11")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "iVar13 = 3;" (assignment_expression "iVar13 = 3" (identifier "iVar13") (= "=") (number_literal "3")) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" (* "*") (cast_expression "(uint *)(iVar6 + 0x38000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")")))) (= "=") (binary_expression "uVar11 + 1 & 0x7fff" (binary_expression "uVar11 + 1" (identifier "uVar11") (+ "+") (number_literal "1")) (& "&") (number_literal "0x7fff"))) (; ";")) (} "}")) (else_clause "else {\n        iVar13 = 2;\n      }" (else "else") (compound_statement "{\n        iVar13 = 2;\n      }" ({ "{") (expression_statement "iVar13 = 2;" (assignment_expression "iVar13 = 2" (identifier "iVar13") (= "=") (number_literal "2")) (; ";")) (} "}")))) (} "}")))) (expression_statement "iVar13 = iVar9 - iVar13;" (assignment_expression "iVar13 = iVar9 - iVar13" (identifier "iVar13") (= "=") (binary_expression "iVar9 - iVar13" (identifier "iVar9") (- "-") (identifier "iVar13"))) (; ";")) (} "}")))) (labeled_statement "LAB_0008528b:\n  *(int *)(iVar6 + 0x38ff8) = iVar13;" (statement_identifier "LAB_0008528b") (: ":") (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar13;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar13" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" (* "*") (cast_expression "(int *)(iVar6 + 0x38ff8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff8)" (( "(") (binary_expression "iVar6 + 0x38ff8" (identifier "iVar6") (+ "+") (number_literal "0x38ff8")) () ")")))) (= "=") (identifier "iVar13")) (; ";"))) (if_statement "if (0 < param_3) {\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n    local_138 = 0;\n    local_14c = 0;\n    local_134 = 0;\n    local_160 = param_2;\n    local_15c = param_3;\nLAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);\n  }" ({ "{") (expression_statement "local_138 = 0;" (assignment_expression "local_138 = 0" (identifier "local_138") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" (identifier "local_14c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_134 = 0;" (assignment_expression "local_134 = 0" (identifier "local_134") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_160 = param_2;" (assignment_expression "local_160 = param_2" (identifier "local_160") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_15c = param_3;" (assignment_expression "local_15c = param_3" (identifier "local_15c") (= "=") (identifier "param_3")) (; ";")) (labeled_statement "LAB_000852d0:\n    do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" (statement_identifier "LAB_000852d0") (: ":") (do_statement "do {\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    } while (0 < local_15c);" (do "do") (compound_statement "{\n      if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }\nLAB_0008531a:\n      pbVar7 = local_160;\n      do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);\nLAB_0008541a:\n      local_15c = iVar13 + -1;\n      local_160 = pbVar14 + 1;\n    }" ({ "{") (if_statement "if ((local_15c < 3) || ((param_4 & 1) == 0)) {\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }\n      else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" (if "if") (parenthesized_expression "((local_15c < 3) || ((param_4 & 1) == 0))" (( "(") (binary_expression "(local_15c < 3) || ((param_4 & 1) == 0)" (parenthesized_expression "(local_15c < 3)" (( "(") (binary_expression "local_15c < 3" (identifier "local_15c") (< "<") (number_literal "3")) () ")")) (|| "||") (parenthesized_expression "((param_4 & 1) == 0)" (( "(") (binary_expression "(param_4 & 1) == 0" (parenthesized_expression "(param_4 & 1)" (( "(") (binary_expression "param_4 & 1" (identifier "param_4") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }\n      }" ({ "{") (labeled_statement "LAB_000852e2:\n        if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" (statement_identifier "LAB_000852e2") (: ":") (if_statement "if (local_14c == 0) {\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }\n        else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" (if "if") (parenthesized_expression "(local_14c == 0)" (( "(") (binary_expression "local_14c == 0" (identifier "local_14c") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)param_1[2])(param_1,*local_160);\n          iVar9 = 1;\n        }" ({ "{") (expression_statement "(*(code *)param_1[2])(param_1,*local_160);" (call_expression "(*(code *)param_1[2])(param_1,*local_160)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_1,*local_160)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*local_160" (* "*") (identifier "local_160")) () ")"))) (; ";")) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" (else "else") (compound_statement "{\nLAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);\n          iVar9 = local_14c + -1;\n          local_14c = 0;\n          if (iVar9 == 0) goto LAB_000852d0;\n        }" ({ "{") (labeled_statement "LAB_000852f1:\n          (*(code *)param_1[3])(param_1,local_138,local_14c);" (statement_identifier "LAB_000852f1") (: ":") (expression_statement "(*(code *)param_1[3])(param_1,local_138,local_14c);" (call_expression "(*(code *)param_1[3])(param_1,local_138,local_14c)" (parenthesized_expression "(*(code *)param_1[3])" (( "(") (pointer_expression "*(code *)param_1[3]" (* "*") (cast_expression "(code *)param_1[3]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) () ")")) (argument_list "(param_1,local_138,local_14c)" (( "(") (identifier "param_1") (, ",") (identifier "local_138") (, ",") (identifier "local_14c") () ")"))) (; ";"))) (expression_statement "iVar9 = local_14c + -1;" (assignment_expression "iVar9 = local_14c + -1" (identifier "iVar9") (= "=") (binary_expression "local_14c + -1" (identifier "local_14c") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "local_14c = 0;" (assignment_expression "local_14c = 0" (identifier "local_14c") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar9 == 0) goto LAB_000852d0;" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000852d0;" (goto "goto") (statement_identifier "LAB_000852d0") (; ";"))) (} "}"))))) (} "}")) (else_clause "else {\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" (else "else") (compound_statement "{\n        bVar3 = *local_160;\n        uVar15 = (uint)bVar3;\n        uVar16 = (uint)local_160[1];\n        uVar11 = (uint)local_160[2];\n        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;\n        iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);\n        if (iVar9 == -1) goto LAB_000852e2;\n        local_154 = *(int *)(iVar6 + 0x38000);\n        iVar13 = 0;\n        if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }\n        do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);\nLAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;\nLAB_00085698:\n        local_154 = local_154 + 3;\n        iVar8 = 3;\n        if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }\n        local_120[1] = iVar8;\n        if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }\n        local_138 = local_120[0];\n        iVar9 = 1;\n        local_14c = iVar8;\n        local_134 = uVar15;\n      }" ({ "{") (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" (identifier "bVar3") (= "=") (pointer_expression "*local_160" (* "*") (identifier "local_160"))) (; ";")) (expression_statement "uVar15 = (uint)bVar3;" (assignment_expression "uVar15 = (uint)bVar3" (identifier "uVar15") (= "=") (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3"))) (; ";")) (expression_statement "uVar16 = (uint)local_160[1];" (assignment_expression "uVar16 = (uint)local_160[1]" (identifier "uVar16") (= "=") (cast_expression "(uint)local_160[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_160[1]" (identifier "local_160") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "uVar11 = (uint)local_160[2];" (assignment_expression "uVar11 = (uint)local_160[2]" (identifier "uVar11") (= "=") (cast_expression "(uint)local_160[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "local_160[2]" (identifier "local_160") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;" (assignment_expression "iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" (identifier "iVar9") (= "=") (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(bVar3,bVar3)" (identifier "CONCAT11") (argument_list "(bVar3,bVar3)" (( "(") (identifier "bVar3") (, ",") (identifier "bVar3") () ")")))) (+ "+") (binary_expression "uVar16 * 0x107" (identifier "uVar16") (* "*") (number_literal "0x107"))) (+ "+") (binary_expression "uVar11 * 0x10d" (identifier "uVar11") (* "*") (number_literal "0x10d")))) (; ";")) (expression_statement "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" (identifier "iVar9") (= "=") (cast_expression "(int)*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" (* "*") (cast_expression "(short *)(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2)" (( "(") (binary_expression "iVar6 + 0x38004 +\n                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (binary_expression "iVar6 + 0x38004" (identifier "iVar6") (+ "+") (number_literal "0x38004")) (+ "+") (binary_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7) * 2" (parenthesized_expression "(iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7)" (( "(") (binary_expression "iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" (identifier "iVar9") (+ "+") (binary_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *\n                                        -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27)" (( "(") (binary_expression "(ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar9 * 0x10121457)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "((longlong)iVar9 * 0x10121457)" (( "(") (binary_expression "(longlong)iVar9 * 0x10121457" (cast_expression "(longlong)iVar9" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "iVar9")) (* "*") (number_literal "0x10121457")) () ")"))) (>> ">>") (number_literal "0x27")) () ")"))) (* "*") (number_literal "-0x7f7"))) () ")")) (* "*") (number_literal "2"))) () ")")))))) (; ";")) (if_statement "if (iVar9 == -1) goto LAB_000852e2;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_000852e2;" (goto "goto") (statement_identifier "LAB_000852e2") (; ";"))) (expression_statement "local_154 = *(int *)(iVar6 + 0x38000);" (assignment_expression "local_154 = *(int *)(iVar6 + 0x38000)" (identifier "local_154") (= "=") (pointer_expression "*(int *)(iVar6 + 0x38000)" (* "*") (cast_expression "(int *)(iVar6 + 0x38000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")"))))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if (uVar15 != uVar16) {\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" (if "if") (parenthesized_expression "(uVar15 != uVar16)" (( "(") (binary_expression "uVar15 != uVar16" (identifier "uVar15") (!= "!=") (identifier "uVar16")) () ")")) (compound_statement "{\nLAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);\njoined_r0x0008568a:\n          iVar9 = (int)sVar5;\n          if (iVar9 == -1) goto LAB_00085690;\n          goto LAB_0008563d;\n        }" ({ "{") (labeled_statement "LAB_0008563d:\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (statement_identifier "LAB_0008563d") (: ":") (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" (identifier "iVar8") (= "=") (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" (( "(") (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" (( "(") (binary_expression "iVar9 + 0x8000" (identifier "iVar9") (+ "+") (number_literal "0x8000")) () ")")) (- "-") (identifier "local_154")) () ")")) (% "%") (number_literal "0x8000"))) (; ";"))) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" (identifier "iVar12") (= "=") (binary_expression "0x8000 - iVar8" (number_literal "0x8000") (- "-") (identifier "iVar8"))) (; ";")) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" (if "if") (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" (( "(") (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (identifier "uVar15") (== "==") (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" (( "(") (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" (identifier "local_154") (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) () ")")) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }\n            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" ({ "{") (if_statement "if (iVar8 == 0x7fff) {\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" (if "if") (parenthesized_expression "(iVar8 == 0x7fff)" (( "(") (binary_expression "iVar8 == 0x7fff" (identifier "iVar8") (== "==") (number_literal "0x7fff")) () ")")) (compound_statement "{\n              sVar5 = *(short *)(iVar6 + iVar9 * 6);\n              goto joined_r0x0008568a;\n            }" ({ "{") (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" (* "*") (cast_expression "(short *)(iVar6 + iVar9 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9 * 6)" (( "(") (binary_expression "iVar6 + iVar9 * 6" (identifier "iVar6") (+ "+") (binary_expression "iVar9 * 6" (identifier "iVar9") (* "*") (number_literal "6"))) () ")"))))) (; ";")) (goto_statement "goto joined_r0x0008568a;" (goto "goto") (statement_identifier "joined_r0x0008568a") (; ";")) (} "}"))) (if_statement "if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" (if "if") (parenthesized_expression "(uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" (( "(") (binary_expression "uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (identifier "uVar16") (== "==") (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" (( "(") (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" (( "(") (binary_expression "local_154 + 1" (identifier "local_154") (+ "+") (number_literal "1")) () ")")) (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) () ")")) (compound_statement "{\n              if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }\n              if (uVar11 != bVar3) goto LAB_00085631;\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" ({ "{") (if_statement "if (iVar8 == 0x7ffe) {\n                bVar3 = *local_160;\n              }\n              else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" (if "if") (parenthesized_expression "(iVar8 == 0x7ffe)" (( "(") (binary_expression "iVar8 == 0x7ffe" (identifier "iVar8") (== "==") (number_literal "0x7ffe")) () ")")) (compound_statement "{\n                bVar3 = *local_160;\n              }" ({ "{") (expression_statement "bVar3 = *local_160;" (assignment_expression "bVar3 = *local_160" (identifier "bVar3") (= "=") (pointer_expression "*local_160" (* "*") (identifier "local_160"))) (; ";")) (} "}")) (else_clause "else {\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" (else "else") (compound_statement "{\n                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n              }" ({ "{") (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" (( "(") (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" (( "(") (binary_expression "local_154 + 2" (identifier "local_154") (+ "+") (number_literal "2")) () ")")) (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) (; ";")) (} "}")))) (if_statement "if (uVar11 != bVar3) goto LAB_00085631;" (if "if") (parenthesized_expression "(uVar11 != bVar3)" (( "(") (binary_expression "uVar11 != bVar3" (identifier "uVar11") (!= "!=") (identifier "bVar3")) () ")")) (goto_statement "goto LAB_00085631;" (goto "goto") (statement_identifier "LAB_00085631") (; ";"))) (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" (if "if") (parenthesized_expression "(0x1f < iVar13)" (( "(") (binary_expression "0x1f < iVar13" (number_literal "0x1f") (< "<") (identifier "iVar13")) () ")")) (goto_statement "goto LAB_00085698;" (goto "goto") (statement_identifier "LAB_00085698") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00085631:\n          sVar5 = *(short *)(iVar6 + iVar9 * 6);" (statement_identifier "LAB_00085631") (: ":") (expression_statement "sVar5 = *(short *)(iVar6 + iVar9 * 6);" (assignment_expression "sVar5 = *(short *)(iVar6 + iVar9 * 6)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" (* "*") (cast_expression "(short *)(iVar6 + iVar9 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9 * 6)" (( "(") (binary_expression "iVar6 + iVar9 * 6" (identifier "iVar6") (+ "+") (binary_expression "iVar9 * 6" (identifier "iVar9") (* "*") (number_literal "6"))) () ")"))))) (; ";"))) (labeled_statement "joined_r0x0008568a:\n          iVar9 = (int)sVar5;" (statement_identifier "joined_r0x0008568a") (: ":") (expression_statement "iVar9 = (int)sVar5;" (assignment_expression "iVar9 = (int)sVar5" (identifier "iVar9") (= "=") (cast_expression "(int)sVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar5"))) (; ";"))) (if_statement "if (iVar9 == -1) goto LAB_00085690;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00085690;" (goto "goto") (statement_identifier "LAB_00085690") (; ";"))) (goto_statement "goto LAB_0008563d;" (goto "goto") (statement_identifier "LAB_0008563d") (; ";")) (} "}"))) (do_statement "do {\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        } while (iVar9 != -1);" (do "do") (compound_statement "{\n          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;\n          iVar12 = 0x8000 - iVar8;\n          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }\nLAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);\n        }" ({ "{") (expression_statement "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;" (assignment_expression "iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000" (identifier "iVar8") (= "=") (binary_expression "((iVar9 + 0x8000) - local_154) % 0x8000" (parenthesized_expression "((iVar9 + 0x8000) - local_154)" (( "(") (binary_expression "(iVar9 + 0x8000) - local_154" (parenthesized_expression "(iVar9 + 0x8000)" (( "(") (binary_expression "iVar9 + 0x8000" (identifier "iVar9") (+ "+") (number_literal "0x8000")) () ")")) (- "-") (identifier "local_154")) () ")")) (% "%") (number_literal "0x8000"))) (; ";")) (expression_statement "iVar12 = 0x8000 - iVar8;" (assignment_expression "iVar12 = 0x8000 - iVar8" (identifier "iVar12") (= "=") (binary_expression "0x8000 - iVar8" (number_literal "0x8000") (- "-") (identifier "iVar8"))) (; ";")) (if_statement "if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" (if "if") (parenthesized_expression "(uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)))" (( "(") (binary_expression "uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (identifier "uVar15") (== "==") (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "(local_154 - iVar12 & 0x7fffU)" (( "(") (binary_expression "local_154 - iVar12 & 0x7fffU" (binary_expression "local_154 - iVar12" (identifier "local_154") (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) () ")")) (compound_statement "{\n            if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }\n            if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }\n          }" ({ "{") (if_statement "if (iVar8 == 0x7fff) {\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }\n            else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" (if "if") (parenthesized_expression "(iVar8 == 0x7fff)" (( "(") (binary_expression "iVar8 == 0x7fff" (identifier "iVar8") (== "==") (number_literal "0x7fff")) () ")")) (compound_statement "{\n              iVar8 = 1;\nLAB_0008552d:\n              bVar3 = local_160[iVar8];\n            }" ({ "{") (expression_statement "iVar8 = 1;" (assignment_expression "iVar8 = 1" (identifier "iVar8") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0008552d:\n              bVar3 = local_160[iVar8];" (statement_identifier "LAB_0008552d") (: ":") (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" (identifier "bVar3") (= "=") (subscript_expression "local_160[iVar8]" (identifier "local_160") ([ "[") (identifier "iVar8") (] "]"))) (; ";"))) (} "}")) (else_clause "else {\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" (else "else") (compound_statement "{\n              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;\n              if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }\n              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));\n            }" ({ "{") (if_statement "if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))\n              goto LAB_00085553;" (if "if") (parenthesized_expression "(uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))" (( "(") (binary_expression "uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (identifier "uVar16") (!= "!=") (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "((local_154 + 1) - iVar12 & 0x7fffU)" (( "(") (binary_expression "(local_154 + 1) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 1) - iVar12" (parenthesized_expression "(local_154 + 1)" (( "(") (binary_expression "local_154 + 1" (identifier "local_154") (+ "+") (number_literal "1")) () ")")) (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) () ")")) (goto_statement "goto LAB_00085553;" (goto "goto") (statement_identifier "LAB_00085553") (; ";"))) (if_statement "if (iVar8 == 0x7ffe) {\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" (if "if") (parenthesized_expression "(iVar8 == 0x7ffe)" (( "(") (binary_expression "iVar8 == 0x7ffe" (identifier "iVar8") (== "==") (number_literal "0x7ffe")) () ")")) (compound_statement "{\n                iVar8 = 0;\n                goto LAB_0008552d;\n              }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0008552d;" (goto "goto") (statement_identifier "LAB_0008552d") (; ";")) (} "}"))) (expression_statement "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));" (assignment_expression "bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (identifier "bVar3") (= "=") (pointer_expression "*(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "((local_154 + 2) - iVar12 & 0x7fffU)" (( "(") (binary_expression "(local_154 + 2) - iVar12 & 0x7fffU" (binary_expression "(local_154 + 2) - iVar12" (parenthesized_expression "(local_154 + 2)" (( "(") (binary_expression "local_154 + 2" (identifier "local_154") (+ "+") (number_literal "2")) () ")")) (- "-") (identifier "iVar12")) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) (; ";")) (} "}")))) (if_statement "if (uVar11 == bVar3) {\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" (if "if") (parenthesized_expression "(uVar11 == bVar3)" (( "(") (binary_expression "uVar11 == bVar3" (identifier "uVar11") (== "==") (identifier "bVar3")) () ")")) (compound_statement "{\n              local_120[iVar13 * 2] = iVar12;\n              local_120[iVar13 * 2 + 1] = 3;\n              iVar13 = iVar13 + 1;\n              if (0x1f < iVar13) goto LAB_00085698;\n            }" ({ "{") (expression_statement "local_120[iVar13 * 2] = iVar12;" (assignment_expression "local_120[iVar13 * 2] = iVar12" (subscript_expression "local_120[iVar13 * 2]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "local_120[iVar13 * 2 + 1] = 3;" (assignment_expression "local_120[iVar13 * 2 + 1] = 3" (subscript_expression "local_120[iVar13 * 2 + 1]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (= "=") (number_literal "3")) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (0x1f < iVar13) goto LAB_00085698;" (if "if") (parenthesized_expression "(0x1f < iVar13)" (( "(") (binary_expression "0x1f < iVar13" (number_literal "0x1f") (< "<") (identifier "iVar13")) () ")")) (goto_statement "goto LAB_00085698;" (goto "goto") (statement_identifier "LAB_00085698") (; ";"))) (} "}"))) (} "}"))) (labeled_statement "LAB_00085553:\n          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" (statement_identifier "LAB_00085553") (: ":") (expression_statement "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);" (assignment_expression "iVar9 = (int)*(short *)(iVar6 + iVar9 * 6)" (identifier "iVar9") (= "=") (cast_expression "(int)*(short *)(iVar6 + iVar9 * 6)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (pointer_expression "*(short *)(iVar6 + iVar9 * 6)" (* "*") (cast_expression "(short *)(iVar6 + iVar9 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar9 * 6)" (( "(") (binary_expression "iVar6 + iVar9 * 6" (identifier "iVar6") (+ "+") (binary_expression "iVar9 * 6" (identifier "iVar9") (* "*") (number_literal "6"))) () ")")))))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar9 != -1)" (( "(") (binary_expression "iVar9 != -1" (identifier "iVar9") (!= "!=") (number_literal "-1")) () ")")) (; ";")) (labeled_statement "LAB_00085690:\n        if (iVar13 == 0) goto LAB_000852e2;" (statement_identifier "LAB_00085690") (: ":") (if_statement "if (iVar13 == 0) goto LAB_000852e2;" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000852e2;" (goto "goto") (statement_identifier "LAB_000852e2") (; ";")))) (labeled_statement "LAB_00085698:\n        local_154 = local_154 + 3;" (statement_identifier "LAB_00085698") (: ":") (expression_statement "local_154 = local_154 + 3;" (assignment_expression "local_154 = local_154 + 3" (identifier "local_154") (= "=") (binary_expression "local_154 + 3" (identifier "local_154") (+ "+") (number_literal "3"))) (; ";"))) (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" (identifier "iVar8") (= "=") (number_literal "3")) (; ";")) (if_statement "if (local_15c == 3) {\n          iVar8 = 3;\n        }\n        else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" (if "if") (parenthesized_expression "(local_15c == 3)" (( "(") (binary_expression "local_15c == 3" (identifier "local_15c") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n          iVar8 = 3;\n        }" ({ "{") (expression_statement "iVar8 = 3;" (assignment_expression "iVar8 = 3" (identifier "iVar8") (= "=") (number_literal "3")) (; ";")) (} "}")) (else_clause "else {\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" (else "else") (compound_statement "{\n          do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);\n        }" ({ "{") (do_statement "do {\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          } while (iVar8 != local_15c);" (do "do") (compound_statement "{\n            bVar3 = local_160[iVar8];\n            iVar9 = iVar13 * 2;\n            iVar13 = 0;\n            piVar10 = local_120;\n            do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);\n            if (iVar13 == 0) break;\n            iVar8 = iVar8 + 1;\n            local_154 = local_154 + 1;\n          }" ({ "{") (expression_statement "bVar3 = local_160[iVar8];" (assignment_expression "bVar3 = local_160[iVar8]" (identifier "bVar3") (= "=") (subscript_expression "local_160[iVar8]" (identifier "local_160") ([ "[") (identifier "iVar8") (] "]"))) (; ";")) (expression_statement "iVar9 = iVar13 * 2;" (assignment_expression "iVar9 = iVar13 * 2" (identifier "iVar9") (= "=") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2"))) (; ";")) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar10 = local_120;" (assignment_expression "piVar10 = local_120" (identifier "piVar10") (= "=") (identifier "local_120")) (; ";")) (do_statement "do {\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            } while (piVar10 != local_120 + iVar9);" (do "do") (compound_statement "{\n              iVar12 = iVar8 - *piVar10;\n              if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }\n              if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }\n              piVar10 = piVar10 + 2;\n            }" ({ "{") (expression_statement "iVar12 = iVar8 - *piVar10;" (assignment_expression "iVar12 = iVar8 - *piVar10" (identifier "iVar12") (= "=") (binary_expression "iVar8 - *piVar10" (identifier "iVar8") (- "-") (pointer_expression "*piVar10" (* "*") (identifier "piVar10")))) (; ";")) (if_statement "if (iVar12 < 0) {\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }\n              else {\n                bVar4 = local_160[iVar12];\n              }" (if "if") (parenthesized_expression "(iVar12 < 0)" (( "(") (binary_expression "iVar12 < 0" (identifier "iVar12") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));\n              }" ({ "{") (expression_statement "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));" (assignment_expression "bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" (identifier "bVar4") (= "=") (pointer_expression "*(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU))" (( "(") (binary_expression "iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU)" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (parenthesized_expression "(local_154 - *piVar10 & 0x7fffU)" (( "(") (binary_expression "local_154 - *piVar10 & 0x7fffU" (binary_expression "local_154 - *piVar10" (identifier "local_154") (- "-") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (& "&") (number_literal "0x7fffU")) () ")"))) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n                bVar4 = local_160[iVar12];\n              }" (else "else") (compound_statement "{\n                bVar4 = local_160[iVar12];\n              }" ({ "{") (expression_statement "bVar4 = local_160[iVar12];" (assignment_expression "bVar4 = local_160[iVar12]" (identifier "bVar4") (= "=") (subscript_expression "local_160[iVar12]" (identifier "local_160") ([ "[") (identifier "iVar12") (] "]"))) (; ";")) (} "}")))) (if_statement "if (bVar4 == bVar3) {\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" (if "if") (parenthesized_expression "(bVar4 == bVar3)" (( "(") (binary_expression "bVar4 == bVar3" (identifier "bVar4") (== "==") (identifier "bVar3")) () ")")) (compound_statement "{\n                iVar12 = piVar10[1];\n                local_120[iVar13 * 2] = *piVar10;\n                local_120[iVar13 * 2 + 1] = iVar12;\n                iVar13 = iVar13 + 1;\n              }" ({ "{") (expression_statement "iVar12 = piVar10[1];" (assignment_expression "iVar12 = piVar10[1]" (identifier "iVar12") (= "=") (subscript_expression "piVar10[1]" (identifier "piVar10") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_120[iVar13 * 2] = *piVar10;" (assignment_expression "local_120[iVar13 * 2] = *piVar10" (subscript_expression "local_120[iVar13 * 2]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (] "]")) (= "=") (pointer_expression "*piVar10" (* "*") (identifier "piVar10"))) (; ";")) (expression_statement "local_120[iVar13 * 2 + 1] = iVar12;" (assignment_expression "local_120[iVar13 * 2 + 1] = iVar12" (subscript_expression "local_120[iVar13 * 2 + 1]" (identifier "local_120") ([ "[") (binary_expression "iVar13 * 2 + 1" (binary_expression "iVar13 * 2" (identifier "iVar13") (* "*") (number_literal "2")) (+ "+") (number_literal "1")) (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "piVar10 = piVar10 + 2;" (assignment_expression "piVar10 = piVar10 + 2" (identifier "piVar10") (= "=") (binary_expression "piVar10 + 2" (identifier "piVar10") (+ "+") (number_literal "2"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar10 != local_120 + iVar9)" (( "(") (binary_expression "piVar10 != local_120 + iVar9" (identifier "piVar10") (!= "!=") (binary_expression "local_120 + iVar9" (identifier "local_120") (+ "+") (identifier "iVar9"))) () ")")) (; ";")) (if_statement "if (iVar13 == 0) break;" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_154 = local_154 + 1;" (assignment_expression "local_154 = local_154 + 1" (identifier "local_154") (= "=") (binary_expression "local_154 + 1" (identifier "local_154") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != local_15c)" (( "(") (binary_expression "iVar8 != local_15c" (identifier "iVar8") (!= "!=") (identifier "local_15c")) () ")")) (; ";")) (} "}")))) (expression_statement "local_120[1] = iVar8;" (assignment_expression "local_120[1] = iVar8" (subscript_expression "local_120[1]" (identifier "local_120") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar8")) (; ";")) (if_statement "if (local_14c != 0) {\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" (if "if") (parenthesized_expression "(local_14c != 0)" (( "(") (binary_expression "local_14c != 0" (identifier "local_14c") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }\n          goto LAB_000852f1;\n        }" ({ "{") (if_statement "if (local_14c + 1 < iVar8) {\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" (if "if") (parenthesized_expression "(local_14c + 1 < iVar8)" (( "(") (binary_expression "local_14c + 1 < iVar8" (binary_expression "local_14c + 1" (identifier "local_14c") (+ "+") (number_literal "1")) (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n            (*(code *)param_1[2])(param_1,local_134);\n            local_138 = local_120[0];\n            iVar9 = 1;\n            local_14c = iVar8;\n            local_134 = (uint)*local_160;\n            goto LAB_0008531a;\n          }" ({ "{") (expression_statement "(*(code *)param_1[2])(param_1,local_134);" (call_expression "(*(code *)param_1[2])(param_1,local_134)" (parenthesized_expression "(*(code *)param_1[2])" (( "(") (pointer_expression "*(code *)param_1[2]" (* "*") (cast_expression "(code *)param_1[2]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (argument_list "(param_1,local_134)" (( "(") (identifier "param_1") (, ",") (identifier "local_134") () ")"))) (; ";")) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" (identifier "local_138") (= "=") (subscript_expression "local_120[0]" (identifier "local_120") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" (identifier "local_14c") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "local_134 = (uint)*local_160;" (assignment_expression "local_134 = (uint)*local_160" (identifier "local_134") (= "=") (binary_expression "(uint)*local_160" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "local_160"))) (; ";")) (goto_statement "goto LAB_0008531a;" (goto "goto") (statement_identifier "LAB_0008531a") (; ";")) (} "}"))) (goto_statement "goto LAB_000852f1;" (goto "goto") (statement_identifier "LAB_000852f1") (; ";")) (} "}"))) (expression_statement "local_138 = local_120[0];" (assignment_expression "local_138 = local_120[0]" (identifier "local_138") (= "=") (subscript_expression "local_120[0]" (identifier "local_120") ([ "[") (number_literal "0") (] "]"))) (; ";")) (expression_statement "iVar9 = 1;" (assignment_expression "iVar9 = 1" (identifier "iVar9") (= "=") (number_literal "1")) (; ";")) (expression_statement "local_14c = iVar8;" (assignment_expression "local_14c = iVar8" (identifier "local_14c") (= "=") (identifier "iVar8")) (; ";")) (expression_statement "local_134 = uVar15;" (assignment_expression "local_134 = uVar15" (identifier "local_134") (= "=") (identifier "uVar15")) (; ";")) (} "}")))) (labeled_statement "LAB_0008531a:\n      pbVar7 = local_160;" (statement_identifier "LAB_0008531a") (: ":") (expression_statement "pbVar7 = local_160;" (assignment_expression "pbVar7 = local_160" (identifier "pbVar7") (= "=") (identifier "local_160")) (; ";"))) (do_statement "do {\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      } while (pbVar14 + 1 != local_160 + iVar9);" (do "do") (compound_statement "{\n        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }\n        bVar3 = *pbVar14;\n        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;\n        iVar8 = *(int *)(iVar6 + 0x38000);\n        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;\n        psVar1 = (short *)(iVar6 + iVar8 * 6);\n        if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }\n        psVar1[2] = (short)iVar12;\n        psVar1[1] = -1;\n        iVar12 = iVar6 + iVar12 * 2;\n        sVar5 = *(short *)(iVar12 + 0x38004);\n        *psVar1 = sVar5;\n        *(short *)(iVar12 + 0x38004) = (short)iVar8;\n        if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }\n        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;\n        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;\n        pbVar7 = pbVar14 + 1;\n        local_15c = iVar13 + -1;\n      }" ({ "{") (while_statement "while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" (while "while") (parenthesized_expression "(iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3)" (( "(") (comma_expression "iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "iVar13 = local_15c" (identifier "iVar13") (= "=") (identifier "local_15c")) (, ",") (comma_expression "pbVar14 = pbVar7, iVar13 < 3" (assignment_expression "pbVar14 = pbVar7" (identifier "pbVar14") (= "=") (identifier "pbVar7")) (, ",") (binary_expression "iVar13 < 3" (identifier "iVar13") (< "<") (number_literal "3")))) () ")")) (compound_statement "{\n          iVar8 = *(int *)(iVar6 + 0x38ff8);\n          if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }\n          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;\n          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;\n          pbVar7 = pbVar14 + 1;\n          local_15c = iVar13 + -1;\n          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;\n        }" ({ "{") (expression_statement "iVar8 = *(int *)(iVar6 + 0x38ff8);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38ff8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar6 + 0x38ff8)" (* "*") (cast_expression "(int *)(iVar6 + 0x38ff8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff8)" (( "(") (binary_expression "iVar6 + 0x38ff8" (identifier "iVar6") (+ "+") (number_literal "0x38ff8")) () ")"))))) (; ";")) (if_statement "if (2 < iVar8) {\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" (if "if") (parenthesized_expression "(2 < iVar8)" (( "(") (binary_expression "2 < iVar8" (number_literal "2") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n                    \n            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");\n          }" ({ "{") (expression_statement "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");" (call_expression "__assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" (identifier "__assert_fail") (argument_list "("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress")" (( "(") (string_literal ""st->npending < HASHCHARS"" (" """) (string_content "st->npending < HASHCHARS") (" """)) (, ",") (string_literal ""sshzlib.c"" (" """) (string_content "sshzlib.c") (" """)) (, ",") (number_literal "0x157") (, ",") (string_literal ""lz77_compress"" (" """) (string_content "lz77_compress") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1;" (assignment_expression "*(int *)(iVar6 + 0x38ff8) = iVar8 + 1" (pointer_expression "*(int *)(iVar6 + 0x38ff8)" (* "*") (cast_expression "(int *)(iVar6 + 0x38ff8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff8)" (( "(") (binary_expression "iVar6 + 0x38ff8" (identifier "iVar6") (+ "+") (number_literal "0x38ff8")) () ")")))) (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;" (assignment_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14" (pointer_expression "*(byte *)(iVar6 + 0x38ff2 + iVar8)" (* "*") (cast_expression "(byte *)(iVar6 + 0x38ff2 + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38ff2 + iVar8)" (( "(") (binary_expression "iVar6 + 0x38ff2 + iVar8" (binary_expression "iVar6 + 0x38ff2" (identifier "iVar6") (+ "+") (number_literal "0x38ff2")) (+ "+") (identifier "iVar8")) () ")")))) (= "=") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14"))) (; ";")) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" (identifier "local_15c") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;" (if "if") (parenthesized_expression "(pbVar14 + 1 == local_160 + iVar9)" (( "(") (binary_expression "pbVar14 + 1 == local_160 + iVar9" (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1")) (== "==") (binary_expression "local_160 + iVar9" (identifier "local_160") (+ "+") (identifier "iVar9"))) () ")")) (goto_statement "goto LAB_0008541a;" (goto "goto") (statement_identifier "LAB_0008541a") (; ";"))) (} "}"))) (expression_statement "bVar3 = *pbVar14;" (assignment_expression "bVar3 = *pbVar14" (identifier "bVar3") (= "=") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14"))) (; ";")) (expression_statement "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;" (assignment_expression "iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" (identifier "iVar12") (= "=") (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d" (binary_expression "(uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107" (cast_expression "(uint)CONCAT11(bVar3,bVar3)" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (call_expression "CONCAT11(bVar3,bVar3)" (identifier "CONCAT11") (argument_list "(bVar3,bVar3)" (( "(") (identifier "bVar3") (, ",") (identifier "bVar3") () ")")))) (+ "+") (binary_expression "(uint)pbVar14[1] * 0x107" (cast_expression "(uint)pbVar14[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar14[1]" (identifier "pbVar14") ([ "[") (number_literal "1") (] "]"))) (* "*") (number_literal "0x107"))) (+ "+") (binary_expression "(uint)pbVar14[2] * 0x10d" (cast_expression "(uint)pbVar14[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar14[2]" (identifier "pbVar14") ([ "[") (number_literal "2") (] "]"))) (* "*") (number_literal "0x10d")))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar6 + 0x38000);" (assignment_expression "iVar8 = *(int *)(iVar6 + 0x38000)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(iVar6 + 0x38000)" (* "*") (cast_expression "(int *)(iVar6 + 0x38000)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")"))))) (; ";")) (expression_statement "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;" (assignment_expression "iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar12") (= "=") (binary_expression "iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (identifier "iVar12") (+ "+") (binary_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7" (call_expression "(uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27)" (( "(") (binary_expression "(ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27" (call_expression "(ulonglong)((longlong)iVar12 * 0x10121457)" (parenthesized_expression "(ulonglong)" (( "(") (identifier "ulonglong") () ")")) (argument_list "((longlong)iVar12 * 0x10121457)" (( "(") (binary_expression "(longlong)iVar12 * 0x10121457" (cast_expression "(longlong)iVar12" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (identifier "iVar12")) (* "*") (number_literal "0x10121457")) () ")"))) (>> ">>") (number_literal "0x27")) () ")"))) (* "*") (number_literal "-0x7f7")))) (; ";")) (expression_statement "psVar1 = (short *)(iVar6 + iVar8 * 6);" (assignment_expression "psVar1 = (short *)(iVar6 + iVar8 * 6)" (identifier "psVar1") (= "=") (cast_expression "(short *)(iVar6 + iVar8 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + iVar8 * 6)" (( "(") (binary_expression "iVar6 + iVar8 * 6" (identifier "iVar6") (+ "+") (binary_expression "iVar8 * 6" (identifier "iVar8") (* "*") (number_literal "6"))) () ")")))) (; ";")) (if_statement "if (psVar1[1] == -1) {\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }\n        else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" (if "if") (parenthesized_expression "(psVar1[1] == -1)" (( "(") (binary_expression "psVar1[1] == -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n          if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }\n        }" ({ "{") (if_statement "if (psVar1[2] != -1) {\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" (if "if") (parenthesized_expression "(psVar1[2] != -1)" (( "(") (binary_expression "psVar1[2] != -1" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;\n          }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (* "*") (cast_expression "(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38004 + psVar1[2] * 2)" (( "(") (binary_expression "iVar6 + 0x38004 + psVar1[2] * 2" (binary_expression "iVar6 + 0x38004" (identifier "iVar6") (+ "+") (number_literal "0x38004")) (+ "+") (binary_expression "psVar1[2] * 2" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (* "*") (number_literal "2"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" (else "else") (compound_statement "{\n          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;\n        }" ({ "{") (expression_statement "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;" (assignment_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff" (pointer_expression "*(undefined2 *)(iVar6 + psVar1[1] * 6)" (* "*") (cast_expression "(undefined2 *)(iVar6 + psVar1[1] * 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + psVar1[1] * 6)" (( "(") (binary_expression "iVar6 + psVar1[1] * 6" (identifier "iVar6") (+ "+") (binary_expression "psVar1[1] * 6" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (* "*") (number_literal "6"))) () ")")))) (= "=") (number_literal "0xffff")) (; ";")) (} "}")))) (expression_statement "psVar1[2] = (short)iVar12;" (assignment_expression "psVar1[2] = (short)iVar12" (subscript_expression "psVar1[2]" (identifier "psVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(short)iVar12" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar12"))) (; ";")) (expression_statement "psVar1[1] = -1;" (assignment_expression "psVar1[1] = -1" (subscript_expression "psVar1[1]" (identifier "psVar1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "-1")) (; ";")) (expression_statement "iVar12 = iVar6 + iVar12 * 2;" (assignment_expression "iVar12 = iVar6 + iVar12 * 2" (identifier "iVar12") (= "=") (binary_expression "iVar6 + iVar12 * 2" (identifier "iVar6") (+ "+") (binary_expression "iVar12 * 2" (identifier "iVar12") (* "*") (number_literal "2")))) (; ";")) (expression_statement "sVar5 = *(short *)(iVar12 + 0x38004);" (assignment_expression "sVar5 = *(short *)(iVar12 + 0x38004)" (identifier "sVar5") (= "=") (pointer_expression "*(short *)(iVar12 + 0x38004)" (* "*") (cast_expression "(short *)(iVar12 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x38004)" (( "(") (binary_expression "iVar12 + 0x38004" (identifier "iVar12") (+ "+") (number_literal "0x38004")) () ")"))))) (; ";")) (expression_statement "*psVar1 = sVar5;" (assignment_expression "*psVar1 = sVar5" (pointer_expression "*psVar1" (* "*") (identifier "psVar1")) (= "=") (identifier "sVar5")) (; ";")) (expression_statement "*(short *)(iVar12 + 0x38004) = (short)iVar8;" (assignment_expression "*(short *)(iVar12 + 0x38004) = (short)iVar8" (pointer_expression "*(short *)(iVar12 + 0x38004)" (* "*") (cast_expression "(short *)(iVar12 + 0x38004)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x38004)" (( "(") (binary_expression "iVar12 + 0x38004" (identifier "iVar12") (+ "+") (number_literal "0x38004")) () ")")))) (= "=") (cast_expression "(short)iVar8" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar8"))) (; ";")) (if_statement "if (sVar5 != -1) {\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" (if "if") (parenthesized_expression "(sVar5 != -1)" (( "(") (binary_expression "sVar5 != -1" (identifier "sVar5") (!= "!=") (number_literal "-1")) () ")")) (compound_statement "{\n          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;\n        }" ({ "{") (expression_statement "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;" (assignment_expression "*(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8" (pointer_expression "*(short *)(iVar6 + 2 + sVar5 * 6)" (* "*") (cast_expression "(short *)(iVar6 + 2 + sVar5 * 6)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 2 + sVar5 * 6)" (( "(") (binary_expression "iVar6 + 2 + sVar5 * 6" (binary_expression "iVar6 + 2" (identifier "iVar6") (+ "+") (number_literal "2")) (+ "+") (binary_expression "sVar5 * 6" (identifier "sVar5") (* "*") (number_literal "6"))) () ")")))) (= "=") (cast_expression "(short)iVar8" (( "(") (type_descriptor "short" (sized_type_specifier "short" (short "short"))) () ")") (identifier "iVar8"))) (; ";")) (} "}"))) (expression_statement "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;" (assignment_expression "*(byte *)(iVar6 + 0x30000 + iVar8) = bVar3" (pointer_expression "*(byte *)(iVar6 + 0x30000 + iVar8)" (* "*") (cast_expression "(byte *)(iVar6 + 0x30000 + iVar8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x30000 + iVar8)" (( "(") (binary_expression "iVar6 + 0x30000 + iVar8" (binary_expression "iVar6 + 0x30000" (identifier "iVar6") (+ "+") (number_literal "0x30000")) (+ "+") (identifier "iVar8")) () ")")))) (= "=") (identifier "bVar3")) (; ";")) (expression_statement "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;" (assignment_expression "*(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff" (pointer_expression "*(uint *)(iVar6 + 0x38000)" (* "*") (cast_expression "(uint *)(iVar6 + 0x38000)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x38000)" (( "(") (binary_expression "iVar6 + 0x38000" (identifier "iVar6") (+ "+") (number_literal "0x38000")) () ")")))) (= "=") (binary_expression "iVar8 + 1U & 0x7fff" (binary_expression "iVar8 + 1U" (identifier "iVar8") (+ "+") (number_literal "1U")) (& "&") (number_literal "0x7fff"))) (; ";")) (expression_statement "pbVar7 = pbVar14 + 1;" (assignment_expression "pbVar7 = pbVar14 + 1" (identifier "pbVar7") (= "=") (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" (identifier "local_15c") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar14 + 1 != local_160 + iVar9)" (( "(") (binary_expression "pbVar14 + 1 != local_160 + iVar9" (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1")) (!= "!=") (binary_expression "local_160 + iVar9" (identifier "local_160") (+ "+") (identifier "iVar9"))) () ")")) (; ";")) (labeled_statement "LAB_0008541a:\n      local_15c = iVar13 + -1;" (statement_identifier "LAB_0008541a") (: ":") (expression_statement "local_15c = iVar13 + -1;" (assignment_expression "local_15c = iVar13 + -1" (identifier "local_15c") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "local_160 = pbVar14 + 1;" (assignment_expression "local_160 = pbVar14 + 1" (identifier "local_160") (= "=") (binary_expression "pbVar14 + 1" (identifier "pbVar14") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(0 < local_15c)" (( "(") (binary_expression "0 < local_15c" (number_literal "0") (< "<") (identifier "local_15c")) () ")")) (; ";"))) (} "}"))) (if_statement "if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)" (subscript_expression "local_120[0x40]" (identifier "local_120") ([ "[") (number_literal "0x40") (] "]")) (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000c60b0();" (call_expression "FUN_000c60b0()" (identifier "FUN_000c60b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 function_1(type_1 *ctx,type_2 *var_6,int var_4,int var_13)

{
  type_3 *pWVar1;
  type_4 *var_22;
  type_2 uVar3;
  type_5 var_18;
  type_5 var_20;
  short var_11;
  int var_25;
  type_6 *pLVar8;
  type_5 *pbVar9;
  int var_5;
  int var_2;
  type_4 *var_21;
  type_7 var_8;
  int var_9;
  int var_10;
  type_5 *var_24;
  type_7 var_16;
  type_7 var_15;
  int var_1;
  type_5 *var_23;
  int var_12;
  int var_17;
  int var_14;
  int local_138;
  type_7 local_134;
  type_4 var_19 [32];
  
  var_25 = *(int *)(var_1 + 0x14);
  pLVar8 = ctx->ictx;
  var_2 = pLVar8->npending;
  if (3 < var_2) {
                    /* WARNING: Subroutine does not return */
    var_3("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");
  }
  var_10 = var_2;
  if (var_2 < 1) goto LAB_0008528b;
  var_5 = var_4 + var_2;
  if (var_5 < 3) {
    var_5 = 0;
LAB_00085826:
    pLVar8->pending[0] = pLVar8->pending[var_5];
    if ((var_5 + 1 < var_2) &&
       (pLVar8->pending[1] = pLVar8->pending[var_5 + 1], var_5 + 2 < var_2)) {
      *(type_2 *)((int)pLVar8 + (0x38ff4 - var_5)) = pLVar8->pending[2];
    }
  }
  else {
    uVar3 = pLVar8->pending[0];
    var_10 = pLVar8->winpos;
    if (var_2 == 1) {
      var_8 = (type_7)*var_6;
LAB_0008504a:
      var_18 = var_6[2 - var_2];
    }
    else {
      var_8 = (type_7)pLVar8->pending[1];
      if (var_2 != 3) goto LAB_0008504a;
      var_18 = pLVar8->pending[2];
    }
    var_9 = (type_7)var_18 * 0x10d + (type_7)var_7(uVar3,uVar3) + var_8 * 0x107;
    var_9 = var_9 + (type_7)((ulonglong)((type_8)var_9 * 0x10121457) >> 0x27) * -0x7f7;
    pWVar1 = pLVar8->win + var_10;
    if (pWVar1->prev == -1) {
      if (pWVar1->hashval != -1) {
        pLVar8->hashtab[pWVar1->hashval].first = -1;
      }
    }
    else {
      pLVar8->win[pWVar1->prev].next = -1;
    }
    pWVar1->hashval = (short)var_9;
    pWVar1->prev = -1;
    var_11 = *(short *)((int)pLVar8 + var_9 * 2 + 0x38004);
    pWVar1->next = var_11;
    *(short *)((int)pLVar8 + var_9 * 2 + 0x38004) = (short)var_10;
    if (var_11 != -1) {
      pLVar8->win[var_11].prev = (short)var_10;
    }
    pLVar8->var_6[var_10] = uVar3;
    var_8 = var_10 + 1U & 0x7fff;
    pLVar8->winpos = var_8;
    if (var_2 == 1) {
      var_10 = 1;
    }
    else {
      if (var_5 == 3) {
        var_5 = 1;
LAB_0008589d:
        var_10 = var_2 - var_5;
        goto LAB_00085826;
      }
      uVar3 = pLVar8->pending[1];
      if (var_2 == 3) {
        var_18 = pLVar8->pending[2];
      }
      else {
        var_18 = *var_6;
      }
      var_10 = (type_7)var_7(uVar3,uVar3) + (type_7)var_18 * 0x107 + (type_7)var_6[3 - var_2] * 0x10d;
      var_10 = var_10 + (type_7)((ulonglong)((type_8)var_10 * 0x10121457) >> 0x27) * -0x7f7;
      pWVar1 = pLVar8->win + var_8;
      if (pWVar1->prev == -1) {
        if (pWVar1->hashval != -1) {
          pLVar8->hashtab[pWVar1->hashval].first = -1;
        }
      }
      else {
        pLVar8->win[pWVar1->prev].next = -1;
      }
      pWVar1->hashval = (short)var_10;
      pWVar1->prev = -1;
      var_11 = *(short *)((int)pLVar8 + var_10 * 2 + 0x38004);
      pWVar1->next = var_11;
      *(short *)((int)pLVar8 + var_10 * 2 + 0x38004) = (short)var_8;
      if (var_11 != -1) {
        pLVar8->win[var_11].prev = (short)var_8;
      }
      pLVar8->var_6[var_8] = uVar3;
      var_8 = var_8 + 1 & 0x7fff;
      pLVar8->winpos = var_8;
      if (var_2 == 3) {
        if (var_5 < 5) {
          var_5 = 2;
          goto LAB_0008589d;
        }
        uVar3 = pLVar8->pending[2];
        var_10 = (type_7)var_6[1] * 0x10d + (type_7)*var_6 * 0x107 + (type_7)var_7(uVar3,uVar3);
        var_10 = var_10 + (type_7)((ulonglong)((type_8)var_10 * 0x10121457) >> 0x27) * -0x7f7;
        pWVar1 = pLVar8->win + var_8;
        if (pWVar1->prev == -1) {
          if (pWVar1->hashval != -1) {
            pLVar8->hashtab[pWVar1->hashval].first = -1;
          }
        }
        else {
          pLVar8->win[pWVar1->prev].next = -1;
        }
        pWVar1->hashval = (short)var_10;
        pWVar1->prev = -1;
        var_11 = *(short *)((int)pLVar8 + var_10 * 2 + 0x38004);
        pWVar1->next = var_11;
        *(short *)((int)pLVar8 + var_10 * 2 + 0x38004) = (short)var_8;
        if (var_11 != -1) {
          pLVar8->win[var_11].prev = (short)var_8;
        }
        pLVar8->var_6[var_8] = uVar3;
        var_10 = 3;
        pLVar8->winpos = var_8 + 1 & 0x7fff;
      }
      else {
        var_10 = 2;
      }
    }
    var_10 = var_2 - var_10;
  }
LAB_0008528b:
  pLVar8->npending = var_10;
  if (0 < var_4) {
    local_138 = 0;
    var_14 = 0;
    local_134 = 0;
    var_23 = var_6;
    var_12 = var_4;
LAB_000852d0:
    do {
      if ((var_12 < 3) || ((var_13 & 1U) == 0)) {
LAB_000852e2:
        if (var_14 == 0) {
          (*ctx->literal)(ctx,*var_23);
          var_2 = 1;
        }
        else {
LAB_000852f1:
          (*ctx->match)(ctx,local_138,var_14);
          var_2 = var_14 + -1;
          var_14 = 0;
          if (var_2 == 0) goto LAB_000852d0;
        }
      }
      else {
        var_18 = *var_23;
        var_16 = (type_7)var_18;
        var_15 = (type_7)var_23[1];
        var_8 = (type_7)var_23[2];
        var_2 = (type_7)var_7(var_18,var_18) + var_15 * 0x107 + var_8 * 0x10d;
        var_2 = (int)*(short *)((int)pLVar8 +
                                (var_2 + (type_7)((ulonglong)((type_8)var_2 * 0x10121457) >> 0x27)
                                          * -0x7f7) * 2 + 0x38004);
        if (var_2 == -1) goto LAB_000852e2;
        var_17 = pLVar8->winpos;
        var_10 = 0;
        if (var_16 != var_15) {
LAB_0008563d:
          var_5 = ((var_2 + 0x8000) - var_17) % 0x8000;
          var_9 = 0x8000 - var_5;
          if (var_16 == pLVar8->var_6[var_17 - var_9 & 0x7fff]) {
            if (var_5 == 0x7fff) {
              var_11 = pLVar8->win[var_2].next;
              goto joined_r0x0008568a;
            }
            if (var_15 == pLVar8->var_6[(var_17 + 1) - var_9 & 0x7fff]) {
              if (var_5 == 0x7ffe) {
                var_18 = *var_23;
              }
              else {
                var_18 = pLVar8->var_6[(var_17 + 2) - var_9 & 0x7fff];
              }
              if (var_8 != var_18) goto LAB_00085631;
              var_19[var_10].distance = var_9;
              var_19[var_10].var_4 = 3;
              var_10 = var_10 + 1;
              if (0x1f < var_10) goto LAB_00085698;
            }
          }
LAB_00085631:
          var_11 = pLVar8->win[var_2].next;
joined_r0x0008568a:
          var_2 = (int)var_11;
          if (var_2 == -1) goto LAB_00085690;
          goto LAB_0008563d;
        }
        do {
          var_5 = ((var_2 + 0x8000) - var_17) % 0x8000;
          var_9 = 0x8000 - var_5;
          if (var_16 == pLVar8->var_6[var_17 - var_9 & 0x7fff]) {
            if (var_5 == 0x7fff) {
              var_5 = 1;
LAB_0008552d:
              var_18 = var_23[var_5];
            }
            else {
              if (var_15 != pLVar8->var_6[(var_17 + 1) - var_9 & 0x7fff]) goto LAB_00085553;
              if (var_5 == 0x7ffe) {
                var_5 = 0;
                goto LAB_0008552d;
              }
              var_18 = pLVar8->var_6[(var_17 + 2) - var_9 & 0x7fff];
            }
            if (var_8 == var_18) {
              var_19[var_10].distance = var_9;
              var_19[var_10].var_4 = 3;
              var_10 = var_10 + 1;
              if (0x1f < var_10) goto LAB_00085698;
            }
          }
LAB_00085553:
          var_2 = (int)pLVar8->win[var_2].next;
        } while (var_2 != -1);
LAB_00085690:
        if (var_10 == 0) goto LAB_000852e2;
LAB_00085698:
        var_17 = var_17 + 3;
        var_5 = 3;
        if (var_12 == 3) {
          var_5 = 3;
        }
        else {
          do {
            var_18 = var_23[var_5];
            var_22 = var_19 + var_10;
            var_10 = 0;
            var_21 = var_19;
            do {
              var_2 = var_5 - var_21->distance;
              if (var_2 < 0) {
                var_20 = pLVar8->var_6[var_17 - var_21->distance & 0x7fff];
              }
              else {
                var_20 = var_23[var_2];
              }
              if (var_20 == var_18) {
                var_2 = var_21->var_4;
                var_19[var_10].distance = var_21->distance;
                var_19[var_10].var_4 = var_2;
                var_10 = var_10 + 1;
              }
              var_21 = var_21 + 1;
            } while (var_21 != var_22);
            if (var_10 == 0) break;
            var_5 = var_5 + 1;
            var_17 = var_17 + 1;
          } while (var_5 != var_12);
        }
        var_19[0].var_4 = var_5;
        if (var_14 != 0) {
          if (var_14 + 1 < var_5) {
            (*ctx->literal)(ctx,(type_2)local_134);
            local_138 = var_19[0].distance;
            var_2 = 1;
            var_14 = var_5;
            local_134 = (type_7)*var_23;
            goto LAB_0008531a;
          }
          goto LAB_000852f1;
        }
        local_138 = var_19[0].distance;
        var_2 = 1;
        var_14 = var_5;
        local_134 = var_16;
      }
LAB_0008531a:
      pbVar9 = var_23;
      do {
        while (var_10 = var_12, var_24 = pbVar9, var_10 < 3) {
          var_5 = pLVar8->npending;
          if (2 < var_5) {
                    /* WARNING: Subroutine does not return */
            var_3("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");
          }
          pLVar8->npending = var_5 + 1;
          pLVar8->pending[var_5] = *var_24;
          pbVar9 = var_24 + 1;
          var_12 = var_10 + -1;
          if (var_24 + 1 == var_23 + var_2) goto LAB_0008541a;
        }
        var_18 = *var_24;
        var_9 = (type_7)var_7(var_18,var_18) + (type_7)var_24[1] * 0x107 + (type_7)var_24[2] * 0x10d;
        var_5 = pLVar8->winpos;
        var_9 = var_9 + (type_7)((ulonglong)((type_8)var_9 * 0x10121457) >> 0x27) * -0x7f7;
        pWVar1 = pLVar8->win + var_5;
        if (pWVar1->prev == -1) {
          if (pWVar1->hashval != -1) {
            pLVar8->hashtab[pWVar1->hashval].first = -1;
          }
        }
        else {
          pLVar8->win[pWVar1->prev].next = -1;
        }
        pWVar1->hashval = (short)var_9;
        pWVar1->prev = -1;
        var_11 = *(short *)((int)pLVar8 + var_9 * 2 + 0x38004);
        pWVar1->next = var_11;
        *(short *)((int)pLVar8 + var_9 * 2 + 0x38004) = (short)var_5;
        if (var_11 != -1) {
          pLVar8->win[var_11].prev = (short)var_5;
        }
        pLVar8->var_6[var_5] = var_18;
        pLVar8->winpos = var_5 + 1U & 0x7fff;
        pbVar9 = var_24 + 1;
        var_12 = var_10 + -1;
      } while (var_24 + 1 != var_23 + var_2);
LAB_0008541a:
      var_12 = var_10 + -1;
      var_23 = var_24 + 1;
    } while (0 < var_12);
  }
  if (var_25 == *(int *)(var_1 + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_26();
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void __regparm3 MASKED(int *param_1,byte *param_2,int param_3,byte param_4)

{
  short *psVar1;
  undefined1 uVar2;
  byte bVar3;
  byte bVar4;
  short sVar5;
  int iVar6;
  byte *pbVar7;
  int iVar8;
  int iVar9;
  int *piVar10;
  uint uVar11;
  int iVar12;
  int iVar13;
  byte *pbVar14;
  uint uVar15;
  uint uVar16;
  int in_GS_OFFSET;
  byte *local_160;
  int local_15c;
  int local_154;
  int local_14c;
  int local_138;
  uint local_134;
  int local_120 [68];
  
  local_120[0x40] = *(int *)(in_GS_OFFSET + 0x14);
  iVar6 = *param_1;
  iVar9 = *(int *)(iVar6 + 0x38ff8);
  if (3 < iVar9) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("st->npending <= HASHCHARS","sshzlib.c",0xd0,"lz77_compress");
  }
  iVar13 = iVar9;
  if (iVar9 < 1) goto LAB_0008528b;
  iVar8 = param_3 + iVar9;
  if (iVar8 < 3) {
    iVar8 = 0;
LAB_00085826:
    *(undefined1 *)(iVar6 + 0x38ff2) = *(undefined1 *)(iVar6 + 0x38ff2 + iVar8);
    if ((iVar8 + 1 < iVar9) &&
       (*(undefined1 *)(iVar6 + 0x38ff3) = *(undefined1 *)(iVar6 + 0x38ff3 + iVar8),
       iVar8 + 2 < iVar9)) {
      *(undefined1 *)((iVar6 - iVar8) + 0x38ff4) = *(undefined1 *)(iVar6 + 0x38ff4);
    }
  }
  else {
    uVar2 = *(undefined1 *)(iVar6 + 0x38ff2);
    iVar13 = *(int *)(iVar6 + 0x38000);
    if (iVar9 == 1) {
      uVar11 = (uint)*param_2;
LAB_0008504a:
      bVar3 = param_2[2 - iVar9];
    }
    else {
      uVar11 = (uint)*(byte *)(iVar6 + 0x38ff3);
      if (iVar9 != 3) goto LAB_0008504a;
      bVar3 = *(byte *)(iVar6 + 0x38ff4);
    }
    iVar12 = (uint)bVar3 * 0x10d + (uint)CONCAT11(uVar2,uVar2) + uVar11 * 0x107;
    iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;
    psVar1 = (short *)(iVar6 + iVar13 * 6);
    if (psVar1[1] == -1) {
      if (psVar1[2] != -1) {
        *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
      }
    }
    else {
      *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
    }
    psVar1[2] = (short)iVar12;
    iVar12 = iVar6 + iVar12 * 2;
    psVar1[1] = -1;
    sVar5 = *(short *)(iVar12 + 0x38004);
    *psVar1 = sVar5;
    *(short *)(iVar12 + 0x38004) = (short)iVar13;
    if (sVar5 != -1) {
      *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar13;
    }
    *(undefined1 *)(iVar6 + 0x30000 + iVar13) = uVar2;
    uVar11 = iVar13 + 1U & 0x7fff;
    *(uint *)(iVar6 + 0x38000) = uVar11;
    if (iVar9 == 1) {
      iVar13 = 1;
    }
    else {
      if (iVar8 == 3) {
        iVar8 = 1;
LAB_0008589d:
        iVar13 = iVar9 - iVar8;
        goto LAB_00085826;
      }
      uVar2 = *(undefined1 *)(iVar6 + 0x38ff3);
      if (iVar9 == 3) {
        bVar3 = *(byte *)(iVar6 + 0x38ff4);
      }
      else {
        bVar3 = *param_2;
      }
      iVar13 = (uint)CONCAT11(uVar2,uVar2) + (uint)bVar3 * 0x107 + (uint)param_2[3 - iVar9] * 0x10d;
      iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;
      psVar1 = (short *)(iVar6 + uVar11 * 6);
      if (psVar1[1] == -1) {
        if (psVar1[2] != -1) {
          *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
        }
      }
      else {
        *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
      }
      psVar1[2] = (short)iVar13;
      iVar13 = iVar6 + iVar13 * 2;
      psVar1[1] = -1;
      sVar5 = *(short *)(iVar13 + 0x38004);
      *psVar1 = sVar5;
      *(short *)(iVar13 + 0x38004) = (short)uVar11;
      if (sVar5 != -1) {
        *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;
      }
      *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;
      uVar11 = uVar11 + 1 & 0x7fff;
      *(uint *)(iVar6 + 0x38000) = uVar11;
      if (iVar9 == 3) {
        if (iVar8 < 5) {
          iVar8 = 2;
          goto LAB_0008589d;
        }
        uVar2 = *(undefined1 *)(iVar6 + 0x38ff4);
        iVar13 = (uint)param_2[1] * 0x10d + (uint)*param_2 * 0x107 + (uint)CONCAT11(uVar2,uVar2);
        iVar13 = iVar13 + (uint)((ulonglong)((longlong)iVar13 * 0x10121457) >> 0x27) * -0x7f7;
        psVar1 = (short *)(iVar6 + uVar11 * 6);
        if (psVar1[1] == -1) {
          if (psVar1[2] != -1) {
            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
          }
        }
        else {
          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
        }
        psVar1[2] = (short)iVar13;
        iVar13 = iVar6 + iVar13 * 2;
        psVar1[1] = -1;
        sVar5 = *(short *)(iVar13 + 0x38004);
        *psVar1 = sVar5;
        *(short *)(iVar13 + 0x38004) = (short)uVar11;
        if (sVar5 != -1) {
          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)uVar11;
        }
        *(undefined1 *)(iVar6 + 0x30000 + uVar11) = uVar2;
        iVar13 = 3;
        *(uint *)(iVar6 + 0x38000) = uVar11 + 1 & 0x7fff;
      }
      else {
        iVar13 = 2;
      }
    }
    iVar13 = iVar9 - iVar13;
  }
LAB_0008528b:
  *(int *)(iVar6 + 0x38ff8) = iVar13;
  if (0 < param_3) {
    local_138 = 0;
    local_14c = 0;
    local_134 = 0;
    local_160 = param_2;
    local_15c = param_3;
LAB_000852d0:
    do {
      if ((local_15c < 3) || ((param_4 & 1) == 0)) {
LAB_000852e2:
        if (local_14c == 0) {
          (*(code *)param_1[2])(param_1,*local_160);
          iVar9 = 1;
        }
        else {
LAB_000852f1:
          (*(code *)param_1[3])(param_1,local_138,local_14c);
          iVar9 = local_14c + -1;
          local_14c = 0;
          if (iVar9 == 0) goto LAB_000852d0;
        }
      }
      else {
        bVar3 = *local_160;
        uVar15 = (uint)bVar3;
        uVar16 = (uint)local_160[1];
        uVar11 = (uint)local_160[2];
        iVar9 = (uint)CONCAT11(bVar3,bVar3) + uVar16 * 0x107 + uVar11 * 0x10d;
        iVar9 = (int)*(short *)(iVar6 + 0x38004 +
                               (iVar9 + (uint)((ulonglong)((longlong)iVar9 * 0x10121457) >> 0x27) *
                                        -0x7f7) * 2);
        if (iVar9 == -1) goto LAB_000852e2;
        local_154 = *(int *)(iVar6 + 0x38000);
        iVar13 = 0;
        if (uVar15 != uVar16) {
LAB_0008563d:
          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;
          iVar12 = 0x8000 - iVar8;
          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {
            if (iVar8 == 0x7fff) {
              sVar5 = *(short *)(iVar6 + iVar9 * 6);
              goto joined_r0x0008568a;
            }
            if (uVar16 == *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU))) {
              if (iVar8 == 0x7ffe) {
                bVar3 = *local_160;
              }
              else {
                bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));
              }
              if (uVar11 != bVar3) goto LAB_00085631;
              local_120[iVar13 * 2] = iVar12;
              local_120[iVar13 * 2 + 1] = 3;
              iVar13 = iVar13 + 1;
              if (0x1f < iVar13) goto LAB_00085698;
            }
          }
LAB_00085631:
          sVar5 = *(short *)(iVar6 + iVar9 * 6);
joined_r0x0008568a:
          iVar9 = (int)sVar5;
          if (iVar9 == -1) goto LAB_00085690;
          goto LAB_0008563d;
        }
        do {
          iVar8 = ((iVar9 + 0x8000) - local_154) % 0x8000;
          iVar12 = 0x8000 - iVar8;
          if (uVar15 == *(byte *)(iVar6 + 0x30000 + (local_154 - iVar12 & 0x7fffU))) {
            if (iVar8 == 0x7fff) {
              iVar8 = 1;
LAB_0008552d:
              bVar3 = local_160[iVar8];
            }
            else {
              if (uVar16 != *(byte *)(iVar6 + 0x30000 + ((local_154 + 1) - iVar12 & 0x7fffU)))
              goto LAB_00085553;
              if (iVar8 == 0x7ffe) {
                iVar8 = 0;
                goto LAB_0008552d;
              }
              bVar3 = *(byte *)(iVar6 + 0x30000 + ((local_154 + 2) - iVar12 & 0x7fffU));
            }
            if (uVar11 == bVar3) {
              local_120[iVar13 * 2] = iVar12;
              local_120[iVar13 * 2 + 1] = 3;
              iVar13 = iVar13 + 1;
              if (0x1f < iVar13) goto LAB_00085698;
            }
          }
LAB_00085553:
          iVar9 = (int)*(short *)(iVar6 + iVar9 * 6);
        } while (iVar9 != -1);
LAB_00085690:
        if (iVar13 == 0) goto LAB_000852e2;
LAB_00085698:
        local_154 = local_154 + 3;
        iVar8 = 3;
        if (local_15c == 3) {
          iVar8 = 3;
        }
        else {
          do {
            bVar3 = local_160[iVar8];
            iVar9 = iVar13 * 2;
            iVar13 = 0;
            piVar10 = local_120;
            do {
              iVar12 = iVar8 - *piVar10;
              if (iVar12 < 0) {
                bVar4 = *(byte *)(iVar6 + 0x30000 + (local_154 - *piVar10 & 0x7fffU));
              }
              else {
                bVar4 = local_160[iVar12];
              }
              if (bVar4 == bVar3) {
                iVar12 = piVar10[1];
                local_120[iVar13 * 2] = *piVar10;
                local_120[iVar13 * 2 + 1] = iVar12;
                iVar13 = iVar13 + 1;
              }
              piVar10 = piVar10 + 2;
            } while (piVar10 != local_120 + iVar9);
            if (iVar13 == 0) break;
            iVar8 = iVar8 + 1;
            local_154 = local_154 + 1;
          } while (iVar8 != local_15c);
        }
        local_120[1] = iVar8;
        if (local_14c != 0) {
          if (local_14c + 1 < iVar8) {
            (*(code *)param_1[2])(param_1,local_134);
            local_138 = local_120[0];
            iVar9 = 1;
            local_14c = iVar8;
            local_134 = (uint)*local_160;
            goto LAB_0008531a;
          }
          goto LAB_000852f1;
        }
        local_138 = local_120[0];
        iVar9 = 1;
        local_14c = iVar8;
        local_134 = uVar15;
      }
LAB_0008531a:
      pbVar7 = local_160;
      do {
        while (iVar13 = local_15c, pbVar14 = pbVar7, iVar13 < 3) {
          iVar8 = *(int *)(iVar6 + 0x38ff8);
          if (2 < iVar8) {
                    /* WARNING: Subroutine does not return */
            __assert_fail("st->npending < HASHCHARS","sshzlib.c",0x157,"lz77_compress");
          }
          *(int *)(iVar6 + 0x38ff8) = iVar8 + 1;
          *(byte *)(iVar6 + 0x38ff2 + iVar8) = *pbVar14;
          pbVar7 = pbVar14 + 1;
          local_15c = iVar13 + -1;
          if (pbVar14 + 1 == local_160 + iVar9) goto LAB_0008541a;
        }
        bVar3 = *pbVar14;
        iVar12 = (uint)CONCAT11(bVar3,bVar3) + (uint)pbVar14[1] * 0x107 + (uint)pbVar14[2] * 0x10d;
        iVar8 = *(int *)(iVar6 + 0x38000);
        iVar12 = iVar12 + (uint)((ulonglong)((longlong)iVar12 * 0x10121457) >> 0x27) * -0x7f7;
        psVar1 = (short *)(iVar6 + iVar8 * 6);
        if (psVar1[1] == -1) {
          if (psVar1[2] != -1) {
            *(undefined2 *)(iVar6 + 0x38004 + psVar1[2] * 2) = 0xffff;
          }
        }
        else {
          *(undefined2 *)(iVar6 + psVar1[1] * 6) = 0xffff;
        }
        psVar1[2] = (short)iVar12;
        psVar1[1] = -1;
        iVar12 = iVar6 + iVar12 * 2;
        sVar5 = *(short *)(iVar12 + 0x38004);
        *psVar1 = sVar5;
        *(short *)(iVar12 + 0x38004) = (short)iVar8;
        if (sVar5 != -1) {
          *(short *)(iVar6 + 2 + sVar5 * 6) = (short)iVar8;
        }
        *(byte *)(iVar6 + 0x30000 + iVar8) = bVar3;
        *(uint *)(iVar6 + 0x38000) = iVar8 + 1U & 0x7fff;
        pbVar7 = pbVar14 + 1;
        local_15c = iVar13 + -1;
      } while (pbVar14 + 1 != local_160 + iVar9);
LAB_0008541a:
      local_15c = iVar13 + -1;
      local_160 = pbVar14 + 1;
    } while (0 < local_15c);
  }
  if (local_120[0x40] == *(int *)(in_GS_OFFSET + 0x14)) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000c60b0();
}

