
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void _M_fill_insert(vector<bool,_std::allocator<bool>_> * this,
   iterator __position, size_type __n, bool __x) */

void __thiscall
std::vector<bool,_std::allocator<bool>_>::_M_fill_insert
          (vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)

{
  char cVar1;
  ulong uVar2;
  _Bit_type *p_Var3;
  ulong uVar4;
  ulong uVar5;
  ulong uVar6;
  size_t sVar7;
  size_type sVar8;
  ulong uVar9;
  ulong *puVar10;
  uint uVar11;
  ulong *puVar12;
  ulong *puVar13;
  long lVar14;
  ulong uVar15;
  ulong uVar16;
  ulong *puVar17;
  uint uVar18;
  int iVar19;
  long lVar20;
  ulong *local_88;
  ulong *local_78;
  uint local_60;
  
  puVar10 = __position.super__Bit_iterator_base._M_p;
  if (__n == 0) {
    return;
  }
  p_Var3 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
           _M_start.super__Bit_iterator_base._M_p;
  puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
            _M_finish.super__Bit_iterator_base._M_p;
  uVar4 = (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data
                 ._M_finish.super__Bit_iterator_base._M_offset;
  local_60 = __position.super__Bit_iterator_base._M_offset;
  lVar14 = uVar4 + ((long)puVar13 - (long)p_Var3) * 8;
  uVar15 = lVar14 - (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.
                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset;
  if ((ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.
                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14) < __n)
  {
    if (0x7fffffffffffffc0 - uVar15 < __n) {
                    /* WARNING: Subroutine does not return */
      __throw_length_error("vector<bool>::_M_fill_insert");
    }
    sVar8 = __n;
    if (__n < uVar15) {
      sVar8 = uVar15;
    }
    if ((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))) {
      local_78 = (ulong *)0xffffffffffffff8;
    }
    else {
      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);
    }
    p_Var3 = (_Bit_type *)operator_new((ulong)local_78);
    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
              _M_start.super__Bit_iterator_base._M_p;
    if (puVar13 != puVar10) {
      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);
    }
    uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;
    puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13));
    if (((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==
        (undefined1  [16])0x0) {
      uVar15 = 0;
      uVar11 = 0;
    }
    else {
      uVar11 = 0;
      uVar15 = uVar4;
      puVar17 = puVar10;
      do {
        while( true ) {
          uVar9 = 1L << ((byte)uVar11 & 0x3f);
          uVar2 = ~uVar9 & *puVar12;
          if ((*puVar17 & uVar9) != 0) {
            uVar2 = uVar9 | *puVar12;
          }
          *puVar12 = uVar2;
          if (uVar11 != 0x3f) break;
          puVar17 = puVar17 + 1;
          puVar12 = puVar12 + 1;
          uVar11 = 0;
          uVar15 = uVar15 - 1;
          if (uVar15 == 0) goto LAB_00165da0;
        }
        uVar11 = uVar11 + 1;
        uVar15 = uVar15 - 1;
      } while (uVar15 != 0);
LAB_00165da0:
      uVar15 = (ulong)uVar11;
    }
    lVar20 = uVar15 + __n;
    lVar14 = lVar20 + 0x3f;
    if (-1 < lVar20) {
      lVar14 = lVar20;
    }
    puVar17 = puVar12 + (lVar14 >> 6);
    uVar15 = lVar20 % 0x40;
    if ((long)uVar15 < 0) {
      uVar15 = uVar15 + 0x40;
      puVar17 = puVar17 + -1;
    }
    uVar18 = (uint)uVar15;
    uVar2 = uVar15 & 0xffffffff;
    cVar1 = (char)uVar15;
    if (puVar17 == puVar12) {
      if (uVar18 != uVar11) {
        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);
        uVar15 = uVar9 | *puVar17;
        if (!__x) {
          uVar15 = ~uVar9 & *puVar17;
        }
        *puVar17 = uVar15;
      }
      goto LAB_00165e60;
    }
    if (uVar11 == 0) {
      sVar7 = (long)puVar17 - (long)puVar12;
      if (!__x) goto LAB_00166049;
LAB_00165e1b:
      memset(puVar12,-1,sVar7);
      if (uVar15 != 0) {
        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      }
    }
    else {
      puVar13 = puVar12 + 1;
      uVar9 = -1L << ((byte)uVar11 & 0x3f);
      sVar7 = (long)puVar17 - (long)puVar13;
      if (__x) {
        *puVar12 = uVar9 | *puVar12;
        puVar12 = puVar13;
        goto LAB_00165e1b;
      }
      *puVar12 = ~uVar9 & *puVar12;
      puVar12 = puVar13;
LAB_00166049:
      memset(puVar12,0,sVar7);
      if (uVar15 != 0) {
        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
      }
    }
    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
              _M_start.super__Bit_iterator_base._M_p;
LAB_00165e60:
    lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.
                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +
             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.
                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10
             ) * 8) - uVar4;
    if (0 < lVar14) {
      do {
        while( true ) {
          iVar19 = (int)uVar2;
          uVar15 = 1L << ((byte)uVar2 & 0x3f);
          uVar4 = ~uVar15 & *puVar17;
          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {
            uVar4 = uVar15 | *puVar17;
          }
          *puVar17 = uVar4;
          if (local_60 == 0x3f) break;
          local_60 = local_60 + 1;
          if (iVar19 != 0x3f) goto LAB_00165e92;
LAB_00165eda:
          puVar17 = puVar17 + 1;
          uVar2 = 0;
          uVar18 = 0;
          lVar14 = lVar14 + -1;
          if (lVar14 == 0) goto LAB_00165ee7;
        }
        puVar10 = puVar10 + 1;
        local_60 = 0;
        if (iVar19 == 0x3f) goto LAB_00165eda;
LAB_00165e92:
        uVar18 = iVar19 + 1;
        uVar2 = (ulong)uVar18;
        lVar14 = lVar14 + -1;
      } while (lVar14 != 0);
    }
LAB_00165ee7:
    if (puVar13 != (ulong *)0x0) {
      operator_delete(puVar13);
    }
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.
    super__Bit_iterator_base._M_p = p_Var3;
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.
    super__Bit_iterator_base._M_offset = 0;
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = puVar17;
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3);
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_offset = uVar18;
    return;
  }
  lVar14 = __n + uVar4;
  lVar20 = lVar14 + 0x3f;
  if (-1 < lVar14) {
    lVar20 = lVar14;
  }
  local_78 = puVar13 + (lVar20 >> 6);
  uVar2 = lVar14 % 0x40;
  uVar15 = uVar2;
  puVar12 = local_78;
  if ((long)uVar2 < 0) {
    uVar15 = uVar2 + 0x40;
    puVar12 = local_78 + -1;
  }
  uVar9 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;
  lVar14 = (uVar4 + ((long)puVar13 - (long)puVar10) * 8) - uVar9;
  if (0 < lVar14) {
    do {
      iVar19 = (int)uVar15;
      if ((int)uVar4 == 0) {
        puVar13 = puVar13 + -1;
        uVar4 = 0x3f;
        uVar16 = 0x8000000000000000;
        uVar6 = 0x8000000000000000;
        if (iVar19 == 0) goto LAB_00165bbd;
LAB_00165b7f:
        uVar15 = (ulong)(iVar19 - 1U);
        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);
      }
      else {
        uVar11 = (int)uVar4 - 1;
        uVar4 = (ulong)uVar11;
        uVar16 = 1L << ((byte)uVar11 & 0x3f);
        uVar6 = uVar16;
        if (iVar19 != 0) goto LAB_00165b7f;
LAB_00165bbd:
        puVar12 = puVar12 + -1;
        uVar15 = 0x3f;
        uVar5 = 0x8000000000000000;
        uVar16 = uVar6;
      }
      uVar6 = ~uVar5 & *puVar12;
      if ((*puVar13 & uVar16) != 0) {
        uVar6 = *puVar12 | uVar5;
      }
      *puVar12 = uVar6;
      lVar14 = lVar14 + -1;
    } while (lVar14 != 0);
  }
  lVar20 = uVar9 + __n;
  lVar14 = lVar20 + 0x3f;
  if (-1 < lVar20) {
    lVar14 = lVar20;
  }
  puVar13 = puVar10 + (lVar14 >> 6);
  lVar20 = lVar20 % 0x40;
  if (lVar20 < 0) {
    lVar20 = lVar20 + 0x40;
    puVar13 = puVar13 + -1;
  }
  cVar1 = (char)lVar20;
  if (puVar13 == puVar10) {
    if ((uint)lVar20 != local_60) {
      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &
               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      uVar4 = *puVar13 | uVar15;
      if (!__x) {
        uVar4 = ~uVar15 & *puVar13;
      }
      *puVar13 = uVar4;
    }
    goto LAB_00165c8f;
  }
  if (local_60 == 0) {
    sVar7 = (long)puVar13 - (long)puVar10;
    local_88 = puVar10;
    if (__x) goto LAB_00165c30;
LAB_00165faf:
    memset(local_88,0,sVar7);
    if (lVar20 != 0) {
      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
    }
  }
  else {
    local_88 = puVar10 + 1;
    uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);
    sVar7 = (long)puVar13 - (long)local_88;
    if (!__x) {
      *puVar10 = ~uVar4 & *puVar10;
      goto LAB_00165faf;
    }
    *puVar10 = uVar4 | *puVar10;
LAB_00165c30:
    memset(local_88,-1,sVar7);
    if (lVar20 != 0) {
      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
    }
  }
  lVar20 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
           _M_finish.super__Bit_iterator_base._M_offset + __n;
  lVar14 = lVar20 + 0x3f;
  if (-1 < lVar20) {
    lVar14 = lVar20;
  }
  local_78 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.
             _M_finish.super__Bit_iterator_base._M_p + (lVar14 >> 6);
  uVar2 = lVar20 % 0x40;
LAB_00165c8f:
  if ((long)uVar2 < 0) {
    uVar2 = uVar2 + 0x40;
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = local_78 + -1;
  }
  else {
    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = local_78;
  }
  (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.
  super__Bit_iterator_base._M_offset = (uint)uVar2;
  return;
}



void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)

{
  char cVar1;
  ulong uVar2;
  void *__dest;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  size_t sVar6;
  uint uVar7;
  ulong *puVar8;
  ulong *puVar9;
  long lVar10;
  ulong uVar11;
  ulong uVar12;
  ulong *puVar13;
  uint uVar14;
  int iVar15;
  long lVar16;
  ulong *local_88;
  ulong *local_78;
  
  if (param_4 == 0) {
    return;
  }
  puVar9 = (ulong *)param_1[2];
  uVar3 = (ulong)*(uint *)(param_1 + 3);
  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;
  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);
  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {
    if (0x7fffffffffffffc0 - uVar11 < param_4) {
                    /* WARNING: Subroutine does not return */
      FUN_003195a0("vector<bool>::_M_fill_insert");
    }
    uVar3 = param_4;
    if (param_4 < uVar11) {
      uVar3 = uVar11;
    }
    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {
      local_78 = (ulong *)0xffffffffffffff8;
    }
    else {
      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);
    }
    __dest = (void *)FUN_002d94a0(local_78);
    puVar9 = (ulong *)*param_1;
    if (puVar9 != param_2) {
      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);
    }
    uVar3 = (ulong)param_3;
    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));
    if (uVar3 == 0) {
      uVar11 = 0;
      uVar7 = 0;
    }
    else {
      uVar7 = 0;
      uVar11 = uVar3;
      puVar13 = param_2;
      do {
        while( true ) {
          uVar12 = 1L << ((byte)uVar7 & 0x3f);
          uVar2 = ~uVar12 & *puVar8;
          if ((*puVar13 & uVar12) != 0) {
            uVar2 = uVar12 | *puVar8;
          }
          *puVar8 = uVar2;
          if (uVar7 != 0x3f) break;
          puVar13 = puVar13 + 1;
          puVar8 = puVar8 + 1;
          uVar7 = 0;
          uVar11 = uVar11 - 1;
          if (uVar11 == 0) goto LAB_00165da0;
        }
        uVar7 = uVar7 + 1;
        uVar11 = uVar11 - 1;
      } while (uVar11 != 0);
LAB_00165da0:
      uVar11 = (ulong)uVar7;
    }
    lVar16 = uVar11 + param_4;
    lVar10 = lVar16 + 0x3f;
    if (-1 < lVar16) {
      lVar10 = lVar16;
    }
    puVar13 = puVar8 + (lVar10 >> 6);
    uVar11 = lVar16 % 0x40;
    if ((long)uVar11 < 0) {
      uVar11 = uVar11 + 0x40;
      puVar13 = puVar13 + -1;
    }
    uVar14 = (uint)uVar11;
    uVar2 = uVar11 & 0xffffffff;
    cVar1 = (char)uVar11;
    if (puVar13 == puVar8) {
      if (uVar14 != uVar7) {
        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);
        uVar11 = uVar12 | *puVar13;
        if (param_5 == '\0') {
          uVar11 = ~uVar12 & *puVar13;
        }
        *puVar13 = uVar11;
      }
      goto LAB_00165e60;
    }
    if (uVar7 == 0) {
      sVar6 = (long)puVar13 - (long)puVar8;
      if (param_5 == '\0') goto LAB_00166049;
LAB_00165e1b:
      memset(puVar8,-1,sVar6);
      if (uVar11 != 0) {
        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      }
    }
    else {
      puVar9 = puVar8 + 1;
      uVar12 = -1L << ((byte)uVar7 & 0x3f);
      sVar6 = (long)puVar13 - (long)puVar9;
      if (param_5 != '\0') {
        *puVar8 = uVar12 | *puVar8;
        puVar8 = puVar9;
        goto LAB_00165e1b;
      }
      *puVar8 = ~uVar12 & *puVar8;
      puVar8 = puVar9;
LAB_00166049:
      memset(puVar8,0,sVar6);
      if (uVar11 != 0) {
        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
      }
    }
    puVar9 = (ulong *)*param_1;
LAB_00165e60:
    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;
    if (0 < lVar10) {
      do {
        while( true ) {
          iVar15 = (int)uVar2;
          uVar11 = 1L << ((byte)uVar2 & 0x3f);
          uVar3 = ~uVar11 & *puVar13;
          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {
            uVar3 = uVar11 | *puVar13;
          }
          *puVar13 = uVar3;
          if (param_3 == 0x3f) break;
          param_3 = param_3 + 1;
          if (iVar15 != 0x3f) goto LAB_00165e92;
LAB_00165eda:
          puVar13 = puVar13 + 1;
          uVar2 = 0;
          uVar14 = 0;
          lVar10 = lVar10 + -1;
          if (lVar10 == 0) goto LAB_00165ee7;
        }
        param_2 = param_2 + 1;
        param_3 = 0;
        if (iVar15 == 0x3f) goto LAB_00165eda;
LAB_00165e92:
        uVar14 = iVar15 + 1;
        uVar2 = (ulong)uVar14;
        lVar10 = lVar10 + -1;
      } while (lVar10 != 0);
    }
LAB_00165ee7:
    if (puVar9 != (ulong *)0x0) {
      FUN_002dac70(puVar9);
    }
    *param_1 = (long)__dest;
    *(undefined4 *)(param_1 + 1) = 0;
    param_1[2] = (long)puVar13;
    param_1[4] = (long)local_78 + (long)__dest;
    *(uint *)(param_1 + 3) = uVar14;
    return;
  }
  lVar10 = param_4 + uVar3;
  lVar16 = lVar10 + 0x3f;
  if (-1 < lVar10) {
    lVar16 = lVar10;
  }
  local_78 = puVar9 + (lVar16 >> 6);
  uVar2 = lVar10 % 0x40;
  uVar11 = uVar2;
  puVar8 = local_78;
  if ((long)uVar2 < 0) {
    uVar11 = uVar2 + 0x40;
    puVar8 = local_78 + -1;
  }
  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;
  if (0 < lVar10) {
    do {
      iVar15 = (int)uVar11;
      if ((int)uVar3 == 0) {
        puVar9 = puVar9 + -1;
        uVar3 = 0x3f;
        uVar12 = 0x8000000000000000;
        uVar5 = 0x8000000000000000;
        if (iVar15 == 0) goto LAB_00165bbd;
LAB_00165b7f:
        uVar11 = (ulong)(iVar15 - 1U);
        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);
      }
      else {
        uVar7 = (int)uVar3 - 1;
        uVar3 = (ulong)uVar7;
        uVar12 = 1L << ((byte)uVar7 & 0x3f);
        uVar5 = uVar12;
        if (iVar15 != 0) goto LAB_00165b7f;
LAB_00165bbd:
        puVar8 = puVar8 + -1;
        uVar11 = 0x3f;
        uVar4 = 0x8000000000000000;
        uVar12 = uVar5;
      }
      uVar5 = ~uVar4 & *puVar8;
      if ((*puVar9 & uVar12) != 0) {
        uVar5 = *puVar8 | uVar4;
      }
      *puVar8 = uVar5;
      lVar10 = lVar10 + -1;
    } while (lVar10 != 0);
  }
  lVar16 = param_3 + param_4;
  lVar10 = lVar16 + 0x3f;
  if (-1 < lVar16) {
    lVar10 = lVar16;
  }
  puVar9 = param_2 + (lVar10 >> 6);
  lVar16 = lVar16 % 0x40;
  if (lVar16 < 0) {
    lVar16 = lVar16 + 0x40;
    puVar9 = puVar9 + -1;
  }
  cVar1 = (char)lVar16;
  if (puVar9 == param_2) {
    if ((uint)lVar16 != param_3) {
      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      uVar3 = *puVar9 | uVar11;
      if (param_5 == '\0') {
        uVar3 = ~uVar11 & *puVar9;
      }
      *puVar9 = uVar3;
    }
    goto LAB_00165c8f;
  }
  if (param_3 == 0) {
    sVar6 = (long)puVar9 - (long)param_2;
    local_88 = param_2;
    if (param_5 != '\0') goto LAB_00165c30;
LAB_00165faf:
    memset(local_88,0,sVar6);
    if (lVar16 != 0) {
      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
    }
  }
  else {
    local_88 = param_2 + 1;
    uVar3 = -1L << ((byte)param_3 & 0x3f);
    sVar6 = (long)puVar9 - (long)local_88;
    if (param_5 == '\0') {
      *param_2 = ~uVar3 & *param_2;
      goto LAB_00165faf;
    }
    *param_2 = uVar3 | *param_2;
LAB_00165c30:
    memset(local_88,-1,sVar6);
    if (lVar16 != 0) {
      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
    }
  }
  lVar16 = *(uint *)(param_1 + 3) + param_4;
  lVar10 = lVar16 + 0x3f;
  if (-1 < lVar16) {
    lVar10 = lVar16;
  }
  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);
  uVar2 = lVar16 % 0x40;
LAB_00165c8f:
  if ((long)uVar2 < 0) {
    uVar2 = uVar2 + 0x40;
    param_1[2] = (long)(local_78 + -1);
  }
  else {
    param_1[2] = (long)local_78;
  }
  *(int *)(param_1 + 3) = (int)uVar2;
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x68
MOV qword ptr [RSP + 0x30],RSI
MOV qword ptr [RSP + 0x38],RDX
TEST RCX,RCX
JZ 0x00165ca4
MOV RBX,RDI
MOV dword ptr [RSP + 0x18],R8D
MOV RAX,qword ptr [RDI]
MOV RBP,RSI
MOV R8,qword ptr [RBX + 0x10]
MOV R9,qword ptr [RBX + 0x20]
MOV qword ptr [RSP + 0x10],RSI
MOV R15,RCX
MOV EDX,dword ptr [RDI + 0x18]
MOV R12D,dword ptr [RSP + 0x38]
MOV qword ptr [RSP + 0x8],RCX
MOV RSI,R8
SUB R9,RAX
MOV ECX,dword ptr [RDI + 0x8]
SUB RSI,RAX
MOV RAX,R9
MOV RDI,RDX
LEA RSI,[RDX + RSI*0x8]
SHL RAX,0x3
MOV R11,RSI
SUB RAX,RSI
SUB R11,RCX
MOV RCX,R11
CMP RAX,R15
JC 0x00165cb8
LEA RAX,[R15 + RDX*0x1]
TEST RAX,RAX
LEA RCX,[RAX + 0x3f]
CMOVNS RCX,RAX
SAR RCX,0x6
LEA RSI,[R8 + RCX*0x8]
MOV RCX,RAX
SAR RCX,0x3f
MOV qword ptr [RSP + 0x20],RSI
MOV R10,RSI
SHR RCX,0x3a
ADD RAX,RCX
AND EAX,0x3f
SUB RAX,RCX
MOV RCX,RSI
MOV RSI,RAX
JNS 0x00165b3e
LEA RSI,[RAX + 0x40]
LEA R10,[RCX + -0x8]
MOV RCX,R8
MOV R11D,R12D
MOV R15D,0x1
MOV R14,-0x8000000000000000
SUB RCX,RBP
MOV qword ptr [RSP + 0x28],R11
LEA R9,[RDX + RCX*0x8]
SUB R9,R11
TEST R9,R9
JG 0x00165ba9
JMP 0x00165bd0
SUB EDI,0x1
MOV R11,R15
MOV ECX,EDI
SHL R11,CL
TEST ESI,ESI
JZ 0x00165bbd
SUB ESI,0x1
MOV RDX,R15
MOV ECX,ESI
SHL RDX,CL
MOV R13,qword ptr [R10]
MOV RCX,R13
OR RCX,RDX
NOT RDX
AND RDX,R13
TEST qword ptr [R8],R11
CMOVNZ RDX,RCX
MOV qword ptr [R10],RDX
SUB R9,0x1
JZ 0x00165bd0
TEST EDI,EDI
JNZ 0x00165b70
SUB R8,0x8
MOV R11,R14
MOV EDI,0x3f
TEST ESI,ESI
JNZ 0x00165b7f
SUB R10,0x8
MOV RDX,R14
MOV ESI,0x3f
JMP 0x00165b8a
MOV R13,qword ptr [RSP + 0x28]
ADD R13,qword ptr [RSP + 0x8]
LEA RDX,[R13 + 0x3f]
CMOVNS RDX,R13
SAR RDX,0x6
LEA R14,[RBP + RDX*0x8]
MOV RDX,R13
SAR RDX,0x3f
SHR RDX,0x3a
ADD R13,RDX
AND R13D,0x3f
SUB R13,RDX
JNS 0x00165c0a
ADD R13,0x40
SUB R14,0x8
MOV R15D,R13D
CMP R14,RBP
JZ 0x00165fe8
TEST R12D,R12D
JNZ 0x00165f30
MOV RDX,R14
SUB RDX,RBP
CMP byte ptr [RSP + 0x18],0x0
JZ 0x00165faf
MOV RDI,qword ptr [RSP + 0x10]
MOV ESI,0xffffffff
CALL 0x00147100
TEST R13,R13
JZ 0x00165c59
MOV ECX,0x40
MOV RAX,-0x1
SUB ECX,R15D
SHR RAX,CL
OR qword ptr [R14],RAX
MOV ECX,dword ptr [RBX + 0x18]
ADD RCX,qword ptr [RSP + 0x8]
LEA RAX,[RCX + 0x3f]
MOV RDX,qword ptr [RBX + 0x10]
CMOVNS RAX,RCX
SAR RAX,0x6
LEA RAX,[RDX + RAX*0x8]
MOV RDX,RCX
SAR RDX,0x3f
MOV qword ptr [RSP + 0x20],RAX
SHR RDX,0x3a
LEA RAX,[RCX + RDX*0x1]
AND EAX,0x3f
SUB RAX,RDX
TEST RAX,RAX
JS 0x00165f80
MOV RDI,qword ptr [RSP + 0x20]
MOV qword ptr [RBX + 0x10],RDI
MOV dword ptr [RBX + 0x18],EAX
ADD RSP,0x68
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RAX,0x7fffffffffffffc0
MOV RDX,RAX
SUB RDX,R11
CMP qword ptr [RSP + 0x8],RDX
JA 0x00166101
MOV RDI,qword ptr [RSP + 0x8]
CMP RDI,R11
MOV RDX,RDI
CMOVC RDX,R11
ADD RCX,RDX
SETC DL
MOVZX EDX,DL
CMP RCX,RAX
JA 0x00165f68
TEST RDX,RDX
JNZ 0x00165f68
ADD RCX,0x3f
SHR RCX,0x6
LEA RAX,[RCX*0x8]
MOV qword ptr [RSP + 0x20],RAX
MOV RDI,qword ptr [RSP + 0x20]
MOV R13,RBP
CALL 0x002d94a0
MOV R15,qword ptr [RBX]
MOV R8,RAX
SUB R13,R15
CMP R15,RBP
JZ 0x00165d3e
MOV RDX,R13
MOV RSI,R15
MOV RDI,RAX
CALL 0x001476d0
MOV R8,RAX
MOV R9D,R12D
LEA RDI,[R8 + R13*0x1]
TEST R9,R9
JZ 0x001660f8
XOR ESI,ESI
MOV R11,RBP
MOV R10,R9
MOV R13D,0x1
MOV ECX,ESI
JMP 0x00165d69
ADD ECX,0x1
SUB R10,0x1
JZ 0x00165da0
MOV RDX,R13
MOV R14,qword ptr [RDI]
SHL RDX,CL
MOV RAX,RDX
MOV RSI,RDX
NOT RAX
OR RSI,R14
AND RAX,R14
TEST qword ptr [R11],RDX
CMOVNZ RAX,RSI
MOV qword ptr [RDI],RAX
CMP ECX,0x3f
JNZ 0x00165d60
ADD R11,0x8
ADD RDI,0x8
XOR ECX,ECX
SUB R10,0x1
JNZ 0x00165d69
MOV ECX,ECX
MOV RSI,RCX
ADD RCX,qword ptr [RSP + 0x8]
LEA RAX,[RCX + 0x3f]
CMOVNS RAX,RCX
SAR RAX,0x6
LEA R14,[RDI + RAX*0x8]
MOV RAX,RCX
SAR RAX,0x3f
SHR RAX,0x3a
LEA R10,[RCX + RAX*0x1]
AND R10D,0x3f
SUB R10,RAX
JNS 0x00165dda
ADD R10,0x40
SUB R14,0x8
MOV R13D,R10D
CMP R14,RDI
JZ 0x00166098
TEST ESI,ESI
JZ 0x00166038
MOV ECX,ESI
LEA R11,[RDI + 0x8]
MOV RAX,-0x1
MOV RDX,R14
SHL RAX,CL
SUB RDX,R11
CMP byte ptr [RSP + 0x18],0x0
MOV RCX,qword ptr [RDI]
JZ 0x001660e0
OR RAX,RCX
MOV qword ptr [RDI],RAX
MOV RDI,R11
MOV ESI,0xffffffff
MOV qword ptr [RSP + 0x28],R9
MOV qword ptr [RSP + 0x18],R10
MOV qword ptr [RSP + 0x8],R8
CALL 0x00147100
MOV R10,qword ptr [RSP + 0x18]
MOV R8,qword ptr [RSP + 0x8]
MOV R9,qword ptr [RSP + 0x28]
TEST R10,R10
JZ 0x00165e5d
MOV ECX,0x40
MOV RAX,-0x1
SUB ECX,R13D
SHR RAX,CL
OR qword ptr [R14],RAX
MOV R15,qword ptr [RBX]
MOV RAX,qword ptr [RBX + 0x10]
MOV EDX,dword ptr [RBX + 0x18]
SUB RAX,RBP
LEA RDX,[RDX + RAX*0x8]
SUB RDX,R9
TEST RDX,RDX
JLE 0x00165ee7
MOV EDI,0x1
MOV R9,qword ptr [RSP + 0x10]
JMP 0x00165e9c
ADD R12D,0x1
CMP R13D,0x3f
JZ 0x00165eda
ADD R13D,0x1
SUB RDX,0x1
JZ 0x00165ee7
MOV ECX,R13D
MOV RAX,RDI
MOV RSI,qword ptr [R14]
MOV R10,RDI
SHL RAX,CL
MOV ECX,R12D
SHL R10,CL
MOV RCX,RAX
NOT RAX
OR RCX,RSI
AND RAX,RSI
TEST qword ptr [R9],R10
CMOVNZ RAX,RCX
MOV qword ptr [R14],RAX
CMP R12D,0x3f
JNZ 0x00165e88
ADD R9,0x8
XOR R12D,R12D
CMP R13D,0x3f
JNZ 0x00165e92
ADD R14,0x8
XOR R13D,R13D
SUB RDX,0x1
JNZ 0x00165e9c
TEST R15,R15
JZ 0x00165efe
MOV RDI,R15
MOV qword ptr [RSP + 0x8],R8
CALL 0x002dac70
MOV R8,qword ptr [RSP + 0x8]
MOV RAX,qword ptr [RSP + 0x20]
MOV qword ptr [RBX],R8
MOV dword ptr [RBX + 0x8],0x0
ADD RAX,R8
MOV qword ptr [RBX + 0x10],R14
MOV qword ptr [RBX + 0x20],RAX
MOV dword ptr [RBX + 0x18],R13D
ADD RSP,0x68
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV ECX,R12D
LEA RSI,[RBP + 0x8]
MOV RAX,-0x1
MOV RDX,R14
SHL RAX,CL
SUB RDX,RSI
CMP byte ptr [RSP + 0x18],0x0
MOV RCX,qword ptr [RBP]
JZ 0x00165fa0
OR RAX,RCX
MOV qword ptr [RSP + 0x10],RSI
MOV qword ptr [RBP],RAX
JMP 0x00165c30
MOV RAX,0xffffffffffffff8
MOV qword ptr [RSP + 0x20],RAX
JMP 0x00165d12
MOV RDX,qword ptr [RSP + 0x20]
ADD RAX,0x40
SUB RDX,0x8
MOV qword ptr [RBX + 0x10],RDX
JMP 0x00165ca1
NOT RAX
MOV qword ptr [RSP + 0x10],RSI
AND RAX,RCX
MOV qword ptr [RBP],RAX
MOV RDI,qword ptr [RSP + 0x10]
XOR ESI,ESI
CALL 0x00147100
TEST R13,R13
JZ 0x00165c59
MOV ECX,0x40
MOV RAX,-0x1
SUB ECX,R15D
SHR RAX,CL
NOT RAX
AND qword ptr [R14],RAX
JMP 0x00165c59
CMP R13D,R12D
JZ 0x00165c8f
MOV RSI,-0x1
MOV ECX,0x40
SUB ECX,R13D
MOV RDX,RSI
SHR RDX,CL
MOV ECX,R12D
SHL RSI,CL
MOV RCX,RSI
AND RCX,RDX
MOV RDX,qword ptr [R14]
MOV RSI,RCX
NOT RSI
AND RSI,RDX
OR RDX,RCX
CMP byte ptr [RSP + 0x18],0x0
CMOVZ RDX,RSI
MOV qword ptr [R14],RDX
JMP 0x00165c8f
MOV RDX,R14
SUB RDX,RDI
CMP byte ptr [RSP + 0x18],0x0
JNZ 0x00165e1b
XOR ESI,ESI
MOV qword ptr [RSP + 0x28],R9
MOV qword ptr [RSP + 0x18],R10
MOV qword ptr [RSP + 0x8],R8
CALL 0x00147100
MOV R10,qword ptr [RSP + 0x18]
MOV R8,qword ptr [RSP + 0x8]
MOV R9,qword ptr [RSP + 0x28]
TEST R10,R10
JZ 0x00165e5d
MOV ECX,0x40
MOV RAX,-0x1
SUB ECX,R13D
SHR RAX,CL
NOT RAX
AND qword ptr [R14],RAX
JMP 0x00165e5d
CMP R10D,ESI
JZ 0x00165e60
MOV RDX,-0x1
MOV ECX,0x40
SUB ECX,R10D
MOV RAX,RDX
SHR RAX,CL
MOV ECX,ESI
SHL RDX,CL
MOV RCX,qword ptr [R14]
AND RAX,RDX
MOV RDX,RAX
OR RAX,RCX
NOT RDX
AND RDX,RCX
CMP byte ptr [RSP + 0x18],0x0
CMOVZ RAX,RDX
MOV qword ptr [R14],RAX
JMP 0x00165e60
NOT RAX
AND RAX,RCX
MOV qword ptr [RDI],RAX
MOV RDI,R11
JMP 0x00166049
XOR ECX,ECX
XOR ESI,ESI
JMP 0x00165da5
LEA RDI,[0x36b84c]
CALL 0x003195a0
(translation_unit "void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)\n\n{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}\n\n" (function_definition "void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)\n\n{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" identifier (parameter_list "(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "char param_5" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "ulong *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "ulong *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "ulong uVar12;" type_identifier identifier ;) (declaration "ulong *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong *local_88;" type_identifier (pointer_declarator "*local_88" * identifier) ;) (declaration "ulong *local_78;" type_identifier (pointer_declarator "*local_78" * identifier) ;) (if_statement "if (param_4 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (ulong *)param_1[2];" (assignment_expression "puVar9 = (ulong *)param_1[2]" identifier = (cast_expression "(ulong *)param_1[2]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar3 = (ulong)*(uint *)(param_1 + 3);" (assignment_expression "uVar3 = (ulong)*(uint *)(param_1 + 3)" identifier = (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;" (assignment_expression "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8" identifier = (binary_expression "uVar3 + ((long)puVar9 - *param_1) * 8" identifier + (binary_expression "((long)puVar9 - *param_1) * 8" (parenthesized_expression "((long)puVar9 - *param_1)" ( (binary_expression "(long)puVar9 - *param_1" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (pointer_expression "*param_1" * identifier)) )) * number_literal))) ;) (expression_statement "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);" (assignment_expression "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1)" identifier = (binary_expression "lVar10 - (ulong)*(uint *)(param_1 + 1)" identifier - (binary_expression "(ulong)*(uint *)(param_1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))))) ;) (if_statement "if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" if (parenthesized_expression "((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4)" ( (binary_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4" (call_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((param_1[4] - *param_1) * 8 - lVar10)" ( (binary_expression "(param_1[4] - *param_1) * 8 - lVar10" (binary_expression "(param_1[4] - *param_1) * 8" (parenthesized_expression "(param_1[4] - *param_1)" ( (binary_expression "param_1[4] - *param_1" (subscript_expression "param_1[4]" identifier [ number_literal ]) - (pointer_expression "*param_1" * identifier)) )) * number_literal) - identifier) ))) < identifier) )) (compound_statement "{\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" { (if_statement "if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" if (parenthesized_expression "(0x7fffffffffffffc0 - uVar11 < param_4)" ( (binary_expression "0x7fffffffffffffc0 - uVar11 < param_4" (binary_expression "0x7fffffffffffffc0 - uVar11" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" { comment (expression_statement "FUN_003195a0("vector<bool>::_M_fill_insert");" (call_expression "FUN_003195a0("vector<bool>::_M_fill_insert")" identifier (argument_list "("vector<bool>::_M_fill_insert")" ( (string_literal ""vector<bool>::_M_fill_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = param_4;" (assignment_expression "uVar3 = param_4" identifier = identifier) ;) (if_statement "if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }" if (parenthesized_expression "(param_4 < uVar11)" ( (binary_expression "param_4 < uVar11" identifier < identifier) )) (compound_statement "{\n      uVar3 = uVar11;\n    }" { (expression_statement "uVar3 = uVar11;" (assignment_expression "uVar3 = uVar11" identifier = identifier) ;) })) (if_statement "if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" if (parenthesized_expression "((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3)))" ( (binary_expression "(0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))" (parenthesized_expression "(0x7fffffffffffffc0 < uVar11 + uVar3)" ( (binary_expression "0x7fffffffffffffc0 < uVar11 + uVar3" number_literal < (binary_expression "uVar11 + uVar3" identifier + identifier)) )) || (parenthesized_expression "(CARRY8(uVar11,uVar3))" ( (call_expression "CARRY8(uVar11,uVar3)" identifier (argument_list "(uVar11,uVar3)" ( identifier , identifier ))) ))) )) (compound_statement "{\n      local_78 = (ulong *)0xffffffffffffff8;\n    }" { (expression_statement "local_78 = (ulong *)0xffffffffffffff8;" (assignment_expression "local_78 = (ulong *)0xffffffffffffff8" identifier = (cast_expression "(ulong *)0xffffffffffffff8" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" else (compound_statement "{\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" { (expression_statement "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);" (assignment_expression "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" identifier = (cast_expression "(ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar11 + uVar3 + 0x3f >> 6) * 8)" ( (binary_expression "(uVar11 + uVar3 + 0x3f >> 6) * 8" (parenthesized_expression "(uVar11 + uVar3 + 0x3f >> 6)" ( (binary_expression "uVar11 + uVar3 + 0x3f >> 6" (binary_expression "uVar11 + uVar3 + 0x3f" (binary_expression "uVar11 + uVar3" identifier + identifier) + number_literal) >> number_literal) )) * number_literal) )))) ;) }))) (expression_statement "__dest = (void *)FUN_002d94a0(local_78);" (assignment_expression "__dest = (void *)FUN_002d94a0(local_78)" identifier = (cast_expression "(void *)FUN_002d94a0(local_78)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(local_78)" identifier (argument_list "(local_78)" ( identifier ))))) ;) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" identifier = (cast_expression "(ulong *)*param_1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" if (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) (compound_statement "{\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" { (expression_statement "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);" (assignment_expression "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" identifier = (call_expression "memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" identifier (argument_list "(__dest,puVar9,(long)param_2 - (long)puVar9)" ( identifier , identifier , (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (expression_statement "uVar3 = (ulong)param_3;" (assignment_expression "uVar3 = (ulong)param_3" identifier = (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));" (assignment_expression "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" identifier = (cast_expression "(ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + ((long)param_2 - (long)puVar9))" ( (binary_expression "(long)__dest + ((long)param_2 - (long)puVar9)" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)param_2 - (long)puVar9)" ( (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) )))) ;) (if_statement "if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      uVar7 = 0;\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" else (compound_statement "{\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar3;" (assignment_expression "uVar11 = uVar3" identifier = identifier) ;) (expression_statement "puVar13 = param_2;" (assignment_expression "puVar13 = param_2" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);" do (compound_statement "{\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      }" { (while_statement "while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" { (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar2 = ~uVar12 & *puVar8;" (assignment_expression "uVar2 = ~uVar12 & *puVar8" identifier = (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }" if (parenthesized_expression "((*puVar13 & uVar12) != 0)" ( (binary_expression "(*puVar13 & uVar12) != 0" (parenthesized_expression "(*puVar13 & uVar12)" ( (binary_expression "*puVar13 & uVar12" (pointer_expression "*puVar13" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n            uVar2 = uVar12 | *puVar8;\n          }" { (expression_statement "uVar2 = uVar12 | *puVar8;" (assignment_expression "uVar2 = uVar12 | *puVar8" identifier = (binary_expression "uVar12 | *puVar8" identifier | (pointer_expression "*puVar8" * identifier))) ;) })) (expression_statement "*puVar8 = uVar2;" (assignment_expression "*puVar8 = uVar2" (pointer_expression "*puVar8" * identifier) = identifier) ;) (if_statement "if (uVar7 != 0x3f) break;" if (parenthesized_expression "(uVar7 != 0x3f)" ( (binary_expression "uVar7 != 0x3f" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) goto LAB_00165da0;" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165da0;" goto statement_identifier ;)) })) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00165da0:\n      uVar11 = (ulong)uVar7;" statement_identifier : (expression_statement "uVar11 = (ulong)uVar7;" (assignment_expression "uVar11 = (ulong)uVar7" identifier = (cast_expression "(ulong)uVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;)) }))) (expression_statement "lVar16 = uVar11 + param_4;" (assignment_expression "lVar16 = uVar11 + param_4" identifier = (binary_expression "uVar11 + param_4" identifier + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n      lVar10 = lVar16;\n    }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "puVar13 = puVar8 + (lVar10 >> 6);" (assignment_expression "puVar13 = puVar8 + (lVar10 >> 6)" identifier = (binary_expression "puVar8 + (lVar10 >> 6)" identifier + (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar11 = lVar16 % 0x40;" (assignment_expression "uVar11 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (if_statement "if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" if (parenthesized_expression "((long)uVar11 < 0)" ( (binary_expression "(long)uVar11 < 0" (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" { (expression_statement "uVar11 = uVar11 + 0x40;" (assignment_expression "uVar11 = uVar11 + 0x40" identifier = (binary_expression "uVar11 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" identifier = (binary_expression "puVar13 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar14 = (uint)uVar11;" (assignment_expression "uVar14 = (uint)uVar11" identifier = (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = uVar11 & 0xffffffff;" (assignment_expression "uVar2 = uVar11 & 0xffffffff" identifier = (binary_expression "uVar11 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar1 = (char)uVar11;" (assignment_expression "cVar1 = (char)uVar11" identifier = (cast_expression "(char)uVar11" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" if (parenthesized_expression "(puVar13 == puVar8)" ( (binary_expression "puVar13 == puVar8" identifier == identifier) )) (compound_statement "{\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" { (if_statement "if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" if (parenthesized_expression "(uVar14 != uVar7)" ( (binary_expression "uVar14 != uVar7" identifier != identifier) )) (compound_statement "{\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" { (expression_statement "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) & (binary_expression "-1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) (expression_statement "uVar11 = uVar12 | *puVar13;" (assignment_expression "uVar11 = uVar12 | *puVar13" identifier = (binary_expression "uVar12 | *puVar13" identifier | (pointer_expression "*puVar13" * identifier))) ;) (if_statement "if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar11 = ~uVar12 & *puVar13;\n        }" { (expression_statement "uVar11 = ~uVar12 & *puVar13;" (assignment_expression "uVar11 = ~uVar12 & *puVar13" identifier = (binary_expression "~uVar12 & *puVar13" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar13" * identifier))) ;) })) (expression_statement "*puVar13 = uVar11;" (assignment_expression "*puVar13 = uVar11" (pointer_expression "*puVar13" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165e60;" goto statement_identifier ;) })) (if_statement "if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }" { (expression_statement "sVar6 = (long)puVar13 - (long)puVar8;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar8" identifier = (binary_expression "(long)puVar13 - (long)puVar8" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 == '\0') goto LAB_00166049;" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00166049;" goto statement_identifier ;)) (labeled_statement "LAB_00165e1b:\n      memset(puVar8,-1,sVar6);" statement_identifier : (expression_statement "memset(puVar8,-1,sVar6);" (call_expression "memset(puVar8,-1,sVar6)" identifier (argument_list "(puVar8,-1,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" { (expression_statement "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }) (else_clause "else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" else (compound_statement "{\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" { (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar12 = -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = -1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "-1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "sVar6 = (long)puVar13 - (long)puVar9;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar9" identifier = (binary_expression "(long)puVar13 - (long)puVar9" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" if (parenthesized_expression "(param_5 != '\0')" ( (binary_expression "param_5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" { (expression_statement "*puVar8 = uVar12 | *puVar8;" (assignment_expression "*puVar8 = uVar12 | *puVar8" (pointer_expression "*puVar8" * identifier) = (binary_expression "uVar12 | *puVar8" identifier | (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00165e1b;" goto statement_identifier ;) })) (expression_statement "*puVar8 = ~uVar12 & *puVar8;" (assignment_expression "*puVar8 = ~uVar12 & *puVar8" (pointer_expression "*puVar8" * identifier) = (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00166049:\n      memset(puVar8,0,sVar6);" statement_identifier : (expression_statement "memset(puVar8,0,sVar6);" (call_expression "memset(puVar8,0,sVar6)" identifier (argument_list "(puVar8,0,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" { (expression_statement "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }))) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" identifier = (cast_expression "(ulong *)*param_1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (labeled_statement "LAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" statement_identifier : (expression_statement "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" (assignment_expression "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" identifier = (binary_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" (parenthesized_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8)" ( (binary_expression "(ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8" (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) + (binary_expression "(param_1[2] - (long)param_2) * 8" (parenthesized_expression "(param_1[2] - (long)param_2)" ( (binary_expression "param_1[2] - (long)param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - identifier)) ;)) (if_statement "if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" if (parenthesized_expression "(0 < lVar10)" ( (binary_expression "0 < lVar10" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" { (do_statement "do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);" do (compound_statement "{\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      }" { (while_statement "while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" { (expression_statement "iVar15 = (int)uVar2;" (assignment_expression "iVar15 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar11 = 1L << ((byte)uVar2 & 0x3f);" (assignment_expression "uVar11 = 1L << ((byte)uVar2 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar2 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar2 & 0x3f)" ( (binary_expression "(byte)uVar2 & 0x3f" (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar3 = ~uVar11 & *puVar13;" (assignment_expression "uVar3 = ~uVar11 & *puVar13" identifier = (binary_expression "~uVar11 & *puVar13" (unary_expression "~uVar11" ~ identifier) & (pointer_expression "*puVar13" * identifier))) ;) (if_statement "if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }" if (parenthesized_expression "((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0)" ( (binary_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0" (parenthesized_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f))" ( (binary_expression "*param_2 & 1L << ((byte)param_3 & 0x3f)" (pointer_expression "*param_2" * identifier) & (binary_expression "1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) )) (compound_statement "{\n            uVar3 = uVar11 | *puVar13;\n          }" { (expression_statement "uVar3 = uVar11 | *puVar13;" (assignment_expression "uVar3 = uVar11 | *puVar13" identifier = (binary_expression "uVar11 | *puVar13" identifier | (pointer_expression "*puVar13" * identifier))) ;) })) (expression_statement "*puVar13 = uVar3;" (assignment_expression "*puVar13 = uVar3" (pointer_expression "*puVar13" * identifier) = identifier) ;) (if_statement "if (param_3 == 0x3f) break;" if (parenthesized_expression "(param_3 == 0x3f)" ( (binary_expression "param_3 == 0x3f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar15 != 0x3f) goto LAB_00165e92;" if (parenthesized_expression "(iVar15 != 0x3f)" ( (binary_expression "iVar15 != 0x3f" identifier != number_literal) )) (goto_statement "goto LAB_00165e92;" goto statement_identifier ;)) (labeled_statement "LAB_00165eda:\n          puVar13 = puVar13 + 1;" statement_identifier : (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) (if_statement "if (lVar10 == 0) goto LAB_00165ee7;" if (parenthesized_expression "(lVar10 == 0)" ( (binary_expression "lVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165ee7;" goto statement_identifier ;)) })) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) (if_statement "if (iVar15 == 0x3f) goto LAB_00165eda;" if (parenthesized_expression "(iVar15 == 0x3f)" ( (binary_expression "iVar15 == 0x3f" identifier == number_literal) )) (goto_statement "goto LAB_00165eda;" goto statement_identifier ;)) (labeled_statement "LAB_00165e92:\n        uVar14 = iVar15 + 1;" statement_identifier : (expression_statement "uVar14 = iVar15 + 1;" (assignment_expression "uVar14 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = (ulong)uVar14;" (assignment_expression "uVar2 = (ulong)uVar14" identifier = (cast_expression "(ulong)uVar14" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) ;) })) (labeled_statement "LAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" statement_identifier : (if_statement "if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" if (parenthesized_expression "(puVar9 != (ulong *)0x0)" ( (binary_expression "puVar9 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_002dac70(puVar9);\n    }" { (expression_statement "FUN_002dac70(puVar9);" (call_expression "FUN_002dac70(puVar9)" identifier (argument_list "(puVar9)" ( identifier ))) ;) }))) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = (long)puVar13;" (assignment_expression "param_1[2] = (long)puVar13" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[4] = (long)local_78 + (long)__dest;" (assignment_expression "param_1[4] = (long)local_78 + (long)__dest" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "(long)local_78 + (long)__dest" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "*(uint *)(param_1 + 3) = uVar14;" (assignment_expression "*(uint *)(param_1 + 3) = uVar14" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "lVar10 = param_4 + uVar3;" (assignment_expression "lVar10 = param_4 + uVar3" identifier = (binary_expression "param_4 + uVar3" identifier + identifier)) ;) (expression_statement "lVar16 = lVar10 + 0x3f;" (assignment_expression "lVar16 = lVar10 + 0x3f" identifier = (binary_expression "lVar10 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }" if (parenthesized_expression "(-1 < lVar10)" ( (binary_expression "-1 < lVar10" number_literal < identifier) )) (compound_statement "{\n    lVar16 = lVar10;\n  }" { (expression_statement "lVar16 = lVar10;" (assignment_expression "lVar16 = lVar10" identifier = identifier) ;) })) (expression_statement "local_78 = puVar9 + (lVar16 >> 6);" (assignment_expression "local_78 = puVar9 + (lVar16 >> 6)" identifier = (binary_expression "puVar9 + (lVar16 >> 6)" identifier + (parenthesized_expression "(lVar16 >> 6)" ( (binary_expression "lVar16 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar2 = lVar10 % 0x40;" (assignment_expression "uVar2 = lVar10 % 0x40" identifier = (binary_expression "lVar10 % 0x40" identifier % number_literal)) ;) (expression_statement "uVar11 = uVar2;" (assignment_expression "uVar11 = uVar2" identifier = identifier) ;) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" identifier = identifier) ;) (if_statement "if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" { (expression_statement "uVar11 = uVar2 + 0x40;" (assignment_expression "uVar11 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar8 = local_78 + -1;" (assignment_expression "puVar8 = local_78 + -1" identifier = (binary_expression "local_78 + -1" identifier + number_literal)) ;) })) (expression_statement "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;" (assignment_expression "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" identifier = (binary_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" (parenthesized_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8)" ( (binary_expression "uVar3 + ((long)puVar9 - (long)param_2) * 8" identifier + (binary_expression "((long)puVar9 - (long)param_2) * 8" (parenthesized_expression "((long)puVar9 - (long)param_2)" ( (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier))) ;) (if_statement "if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" if (parenthesized_expression "(0 < lVar10)" ( (binary_expression "0 < lVar10" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" { (do_statement "do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);" do (compound_statement "{\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    }" { (expression_statement "iVar15 = (int)uVar11;" (assignment_expression "iVar15 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" if (parenthesized_expression "((int)uVar3 == 0)" ( (binary_expression "(int)uVar3 == 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }" { (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" identifier = (binary_expression "puVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar3 = 0x3f;" (assignment_expression "uVar3 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar12 = 0x8000000000000000;" (assignment_expression "uVar12 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar5 = 0x8000000000000000;" (assignment_expression "uVar5 = 0x8000000000000000" identifier = number_literal) ;) (if_statement "if (iVar15 == 0) goto LAB_00165bbd;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165bbd;" goto statement_identifier ;)) (labeled_statement "LAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);" statement_identifier : (expression_statement "uVar11 = (ulong)(iVar15 - 1U);" (assignment_expression "uVar11 = (ulong)(iVar15 - 1U)" identifier = (call_expression "(ulong)(iVar15 - 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar15 - 1U)" ( (binary_expression "iVar15 - 1U" identifier - number_literal) )))) ;)) (expression_statement "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);" (assignment_expression "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f)" identifier = (binary_expression "1L << ((byte)(iVar15 - 1U) & 0x3f)" number_literal << (parenthesized_expression "((byte)(iVar15 - 1U) & 0x3f)" ( (binary_expression "(byte)(iVar15 - 1U) & 0x3f" (call_expression "(byte)(iVar15 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar15 - 1U)" ( (binary_expression "iVar15 - 1U" identifier - number_literal) ))) & number_literal) )))) ;) }) (else_clause "else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" else (compound_statement "{\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" { (expression_statement "uVar7 = (int)uVar3 - 1;" (assignment_expression "uVar7 = (int)uVar3 - 1" identifier = (binary_expression "(int)uVar3 - 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (expression_statement "uVar3 = (ulong)uVar7;" (assignment_expression "uVar3 = (ulong)uVar7" identifier = (cast_expression "(ulong)uVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar5 = uVar12;" (assignment_expression "uVar5 = uVar12" identifier = identifier) ;) (if_statement "if (iVar15 != 0) goto LAB_00165b7f;" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00165b7f;" goto statement_identifier ;)) (labeled_statement "LAB_00165bbd:\n        puVar8 = puVar8 + -1;" statement_identifier : (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" identifier = (binary_expression "puVar8 + -1" identifier + number_literal)) ;)) (expression_statement "uVar11 = 0x3f;" (assignment_expression "uVar11 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar4 = 0x8000000000000000;" (assignment_expression "uVar4 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar12 = uVar5;" (assignment_expression "uVar12 = uVar5" identifier = identifier) ;) }))) (expression_statement "uVar5 = ~uVar4 & *puVar8;" (assignment_expression "uVar5 = ~uVar4 & *puVar8" identifier = (binary_expression "~uVar4 & *puVar8" (unary_expression "~uVar4" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }" if (parenthesized_expression "((*puVar9 & uVar12) != 0)" ( (binary_expression "(*puVar9 & uVar12) != 0" (parenthesized_expression "(*puVar9 & uVar12)" ( (binary_expression "*puVar9 & uVar12" (pointer_expression "*puVar9" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n        uVar5 = *puVar8 | uVar4;\n      }" { (expression_statement "uVar5 = *puVar8 | uVar4;" (assignment_expression "uVar5 = *puVar8 | uVar4" identifier = (binary_expression "*puVar8 | uVar4" (pointer_expression "*puVar8" * identifier) | identifier)) ;) })) (expression_statement "*puVar8 = uVar5;" (assignment_expression "*puVar8 = uVar5" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) ;) })) (expression_statement "lVar16 = param_3 + param_4;" (assignment_expression "lVar16 = param_3 + param_4" identifier = (binary_expression "param_3 + param_4" identifier + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n    lVar10 = lVar16;\n  }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "puVar9 = param_2 + (lVar10 >> 6);" (assignment_expression "puVar9 = param_2 + (lVar10 >> 6)" identifier = (binary_expression "param_2 + (lVar10 >> 6)" identifier + (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )))) ;) (expression_statement "lVar16 = lVar16 % 0x40;" (assignment_expression "lVar16 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (if_statement "if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" if (parenthesized_expression "(lVar16 < 0)" ( (binary_expression "lVar16 < 0" identifier < number_literal) )) (compound_statement "{\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" { (expression_statement "lVar16 = lVar16 + 0x40;" (assignment_expression "lVar16 = lVar16 + 0x40" identifier = (binary_expression "lVar16 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" identifier = (binary_expression "puVar9 + -1" identifier + number_literal)) ;) })) (expression_statement "cVar1 = (char)lVar16;" (assignment_expression "cVar1 = (char)lVar16" identifier = (cast_expression "(char)lVar16" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" if (parenthesized_expression "(puVar9 == param_2)" ( (binary_expression "puVar9 == param_2" identifier == identifier) )) (compound_statement "{\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" { (if_statement "if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" if (parenthesized_expression "((uint)lVar16 != param_3)" ( (binary_expression "(uint)lVar16 != param_3" (cast_expression "(uint)lVar16" ( (type_descriptor "uint" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" { (expression_statement "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" identifier = (binary_expression "-1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (binary_expression "-1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) (expression_statement "uVar3 = *puVar9 | uVar11;" (assignment_expression "uVar3 = *puVar9 | uVar11" identifier = (binary_expression "*puVar9 | uVar11" (pointer_expression "*puVar9" * identifier) | identifier)) ;) (if_statement "if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar3 = ~uVar11 & *puVar9;\n      }" { (expression_statement "uVar3 = ~uVar11 & *puVar9;" (assignment_expression "uVar3 = ~uVar11 & *puVar9" identifier = (binary_expression "~uVar11 & *puVar9" (unary_expression "~uVar11" ~ identifier) & (pointer_expression "*puVar9" * identifier))) ;) })) (expression_statement "*puVar9 = uVar3;" (assignment_expression "*puVar9 = uVar3" (pointer_expression "*puVar9" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165c8f;" goto statement_identifier ;) })) (if_statement "if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }" { (expression_statement "sVar6 = (long)puVar9 - (long)param_2;" (assignment_expression "sVar6 = (long)puVar9 - (long)param_2" identifier = (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_88 = param_2;" (assignment_expression "local_88 = param_2" identifier = identifier) ;) (if_statement "if (param_5 != '\0') goto LAB_00165c30;" if (parenthesized_expression "(param_5 != '\0')" ( (binary_expression "param_5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00165c30;" goto statement_identifier ;)) (labeled_statement "LAB_00165faf:\n    memset(local_88,0,sVar6);" statement_identifier : (expression_statement "memset(local_88,0,sVar6);" (call_expression "memset(local_88,0,sVar6)" identifier (argument_list "(local_88,0,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" { (expression_statement "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" * identifier) = (binary_expression "*puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" else (compound_statement "{\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" { (expression_statement "local_88 = param_2 + 1;" (assignment_expression "local_88 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = -1L << ((byte)param_3 & 0x3f);" (assignment_expression "uVar3 = -1L << ((byte)param_3 & 0x3f)" identifier = (binary_expression "-1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "sVar6 = (long)puVar9 - (long)local_88;" (assignment_expression "sVar6 = (long)puVar9 - (long)local_88" identifier = (binary_expression "(long)puVar9 - (long)local_88" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)local_88" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" { (expression_statement "*param_2 = ~uVar3 & *param_2;" (assignment_expression "*param_2 = ~uVar3 & *param_2" (pointer_expression "*param_2" * identifier) = (binary_expression "~uVar3 & *param_2" (unary_expression "~uVar3" ~ identifier) & (pointer_expression "*param_2" * identifier))) ;) (goto_statement "goto LAB_00165faf;" goto statement_identifier ;) })) (expression_statement "*param_2 = uVar3 | *param_2;" (assignment_expression "*param_2 = uVar3 | *param_2" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar3 | *param_2" identifier | (pointer_expression "*param_2" * identifier))) ;) (labeled_statement "LAB_00165c30:\n    memset(local_88,-1,sVar6);" statement_identifier : (expression_statement "memset(local_88,-1,sVar6);" (call_expression "memset(local_88,-1,sVar6)" identifier (argument_list "(local_88,-1,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" { (expression_statement "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" * identifier) = (binary_expression "*puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }))) (expression_statement "lVar16 = *(uint *)(param_1 + 3) + param_4;" (assignment_expression "lVar16 = *(uint *)(param_1 + 3) + param_4" identifier = (binary_expression "*(uint *)(param_1 + 3) + param_4" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n    lVar10 = lVar16;\n  }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);" (assignment_expression "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8)" identifier = (cast_expression "(ulong *)(param_1[2] + (lVar10 >> 6) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + (lVar10 >> 6) * 8)" ( (binary_expression "param_1[2] + (lVar10 >> 6) * 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "(lVar10 >> 6) * 8" (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar2 = lVar16 % 0x40;" (assignment_expression "uVar2 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (labeled_statement "LAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" statement_identifier : (if_statement "if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }" { (expression_statement "uVar2 = uVar2 + 0x40;" (assignment_expression "uVar2 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "param_1[2] = (long)(local_78 + -1);" (assignment_expression "param_1[2] = (long)(local_78 + -1)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)(local_78 + -1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_78 + -1)" ( (binary_expression "local_78 + -1" identifier + number_literal) )))) ;) }) (else_clause "else {\n    param_1[2] = (long)local_78;\n  }" else (compound_statement "{\n    param_1[2] = (long)local_78;\n  }" { (expression_statement "param_1[2] = (long)local_78;" (assignment_expression "param_1[2] = (long)local_78" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })))) (expression_statement "*(int *)(param_1 + 3) = (int)uVar2;" (assignment_expression "*(int *)(param_1 + 3) = (int)uVar2" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: void _M_fill_insert(vector<bool,_std::allocator<bool>_> * this,\n   iterator __position, size_type __n, bool __x) */\n\nvoid __thiscall\nstd::vector<bool,_std::allocator<bool>_>::_M_fill_insert\n          (vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)\n\n{\n  char cVar1;\n  ulong uVar2;\n  _Bit_type *p_Var3;\n  ulong uVar4;\n  ulong uVar5;\n  ulong uVar6;\n  size_t sVar7;\n  size_type sVar8;\n  ulong uVar9;\n  ulong *puVar10;\n  uint uVar11;\n  ulong *puVar12;\n  ulong *puVar13;\n  long lVar14;\n  ulong uVar15;\n  ulong uVar16;\n  ulong *puVar17;\n  uint uVar18;\n  int iVar19;\n  long lVar20;\n  ulong *local_88;\n  ulong *local_78;\n  uint local_60;\n  \n  puVar10 = __position.super__Bit_iterator_base._M_p;\n  if (__n == 0) {\n    return;\n  }\n  p_Var3 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start.super__Bit_iterator_base._M_p;\n  puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish.super__Bit_iterator_base._M_p;\n  uVar4 = (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish.super__Bit_iterator_base._M_offset;\n  local_60 = __position.super__Bit_iterator_base._M_offset;\n  lVar14 = uVar4 + ((long)puVar13 - (long)p_Var3) * 8;\n  uVar15 = lVar14 - (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset;\n  if ((ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14) < __n)\n  {\n    if (0x7fffffffffffffc0 - uVar15 < __n) {\n                    /* WARNING: Subroutine does not return */\n      __throw_length_error("vector<bool>::_M_fill_insert");\n    }\n    sVar8 = __n;\n    if (__n < uVar15) {\n      sVar8 = uVar15;\n    }\n    if ((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }\n    p_Var3 = (_Bit_type *)operator_new((ulong)local_78);\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\n    if (puVar13 != puVar10) {\n      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);\n    }\n    uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;\n    puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13));\n    if (((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0) {\n      uVar15 = 0;\n      uVar11 = 0;\n    }\n    else {\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }\n    lVar20 = uVar15 + __n;\n    lVar14 = lVar20 + 0x3f;\n    if (-1 < lVar20) {\n      lVar14 = lVar20;\n    }\n    puVar17 = puVar12 + (lVar14 >> 6);\n    uVar15 = lVar20 % 0x40;\n    if ((long)uVar15 < 0) {\n      uVar15 = uVar15 + 0x40;\n      puVar17 = puVar17 + -1;\n    }\n    uVar18 = (uint)uVar15;\n    uVar2 = uVar15 & 0xffffffff;\n    cVar1 = (char)uVar15;\n    if (puVar17 == puVar12) {\n      if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar11 == 0) {\n      sVar7 = (long)puVar17 - (long)puVar12;\n      if (!__x) goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar12,-1,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\nLAB_00165e60:\n    lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4;\n    if (0 < lVar14) {\n      do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);\n    }\nLAB_00165ee7:\n    if (puVar13 != (ulong *)0x0) {\n      operator_delete(puVar13);\n    }\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p = p_Var3;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset = 0;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = puVar17;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3);\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset = uVar18;\n    return;\n  }\n  lVar14 = __n + uVar4;\n  lVar20 = lVar14 + 0x3f;\n  if (-1 < lVar14) {\n    lVar20 = lVar14;\n  }\n  local_78 = puVar13 + (lVar20 >> 6);\n  uVar2 = lVar14 % 0x40;\n  uVar15 = uVar2;\n  puVar12 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar15 = uVar2 + 0x40;\n    puVar12 = local_78 + -1;\n  }\n  uVar9 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;\n  lVar14 = (uVar4 + ((long)puVar13 - (long)puVar10) * 8) - uVar9;\n  if (0 < lVar14) {\n    do {\n      iVar19 = (int)uVar15;\n      if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }\n      uVar6 = ~uVar5 & *puVar12;\n      if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }\n      *puVar12 = uVar6;\n      lVar14 = lVar14 + -1;\n    } while (lVar14 != 0);\n  }\n  lVar20 = uVar9 + __n;\n  lVar14 = lVar20 + 0x3f;\n  if (-1 < lVar20) {\n    lVar14 = lVar20;\n  }\n  puVar13 = puVar10 + (lVar14 >> 6);\n  lVar20 = lVar20 % 0x40;\n  if (lVar20 < 0) {\n    lVar20 = lVar20 + 0x40;\n    puVar13 = puVar13 + -1;\n  }\n  cVar1 = (char)lVar20;\n  if (puVar13 == puVar10) {\n    if ((uint)lVar20 != local_60) {\n      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar4 = *puVar13 | uVar15;\n      if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }\n      *puVar13 = uVar4;\n    }\n    goto LAB_00165c8f;\n  }\n  if (local_60 == 0) {\n    sVar7 = (long)puVar13 - (long)puVar10;\n    local_88 = puVar10;\n    if (__x) goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = puVar10 + 1;\n    uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);\n    sVar7 = (long)puVar13 - (long)local_88;\n    if (!__x) {\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }\n    *puVar10 = uVar4 | *puVar10;\nLAB_00165c30:\n    memset(local_88,-1,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar20 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base._M_offset + __n;\n  lVar14 = lVar20 + 0x3f;\n  if (-1 < lVar20) {\n    lVar14 = lVar20;\n  }\n  local_78 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base._M_p + (lVar14 >> 6);\n  uVar2 = lVar20 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1;\n  }\n  else {\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;\n  }\n  (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n  super__Bit_iterator_base._M_offset = (uint)uVar2;\n  return;\n}\n\n" comment comment (declaration "void __thiscall\nstd::vector<bool,_std::allocator<bool>_>::_M_fill_insert\n          (vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)\n\n{\n  char cVar1;" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::" identifier : :) identifier (ERROR "<bool" < primitive_type) , (ERROR "_std::allocator<bool>_>::_M_fill_insert\n          (vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)\n\n{\n  char" identifier : : identifier < primitive_type > identifier > : : (function_declarator "_M_fill_insert\n          (vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)" identifier (parameter_list "(vector<bool,_std::allocator<bool>_> *this,iterator __position,size_type __n,bool __x)" ( (parameter_declaration "vector" type_identifier) (ERROR "<bool" < primitive_type) , (parameter_declaration "_std::allocator<bool>_> *this" type_identifier (ERROR "::allocator<bool>_>" : : identifier < primitive_type > identifier >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "iterator __position" type_identifier identifier) , (parameter_declaration "size_type __n" type_identifier identifier) , (parameter_declaration "bool __x" primitive_type identifier) ))) { primitive_type) identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "_Bit_type *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "ulong uVar6;" type_identifier identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "size_type sVar8;" type_identifier identifier ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "ulong *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "ulong *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "ulong *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar15;" type_identifier identifier ;) (declaration "ulong uVar16;" type_identifier identifier ;) (declaration "ulong *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "uint uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "long lVar20;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong *local_88;" type_identifier (pointer_declarator "*local_88" * identifier) ;) (declaration "ulong *local_78;" type_identifier (pointer_declarator "*local_78" * identifier) ;) (declaration "uint local_60;" type_identifier identifier ;) (expression_statement "puVar10 = __position.super__Bit_iterator_base._M_p;" (assignment_expression "puVar10 = __position.super__Bit_iterator_base._M_p" identifier = (field_expression "__position.super__Bit_iterator_base._M_p" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier)) ;) (if_statement "if (__n == 0) {\n    return;\n  }" if (parenthesized_expression "(__n == 0)" ( (binary_expression "__n == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "p_Var3 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start.super__Bit_iterator_base._M_p;" (assignment_expression "p_Var3 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start.super__Bit_iterator_base._M_p" identifier = (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_start" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish.super__Bit_iterator_base._M_p;" (assignment_expression "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish.super__Bit_iterator_base._M_p" identifier = (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n            _M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "uVar4 = (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish.super__Bit_iterator_base._M_offset;" (assignment_expression "uVar4 = (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish.super__Bit_iterator_base._M_offset" identifier = (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish.super__Bit_iterator_base._M_offset" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish.super__Bit_iterator_base" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data\n                 ._M_finish" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (call_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) ))) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (expression_statement "local_60 = __position.super__Bit_iterator_base._M_offset;" (assignment_expression "local_60 = __position.super__Bit_iterator_base._M_offset" identifier = (field_expression "__position.super__Bit_iterator_base._M_offset" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier)) ;) (expression_statement "lVar14 = uVar4 + ((long)puVar13 - (long)p_Var3) * 8;" (assignment_expression "lVar14 = uVar4 + ((long)puVar13 - (long)p_Var3) * 8" identifier = (binary_expression "uVar4 + ((long)puVar13 - (long)p_Var3) * 8" identifier + (binary_expression "((long)puVar13 - (long)p_Var3) * 8" (parenthesized_expression "((long)puVar13 - (long)p_Var3)" ( (binary_expression "(long)puVar13 - (long)p_Var3" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)p_Var3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal))) ;) (expression_statement "uVar15 = lVar14 - (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset;" (assignment_expression "uVar15 = lVar14 - (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset" identifier = (binary_expression "lVar14 - (ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset" identifier - (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start.super__Bit_iterator_base" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data._M_start" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                           super__Bvector_impl_data" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (call_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) ))) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier))) ;) (if_statement "if ((ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14) < __n)\n  {\n    if (0x7fffffffffffffc0 - uVar15 < __n) {\n                    /* WARNING: Subroutine does not return */\n      __throw_length_error("vector<bool>::_M_fill_insert");\n    }\n    sVar8 = __n;\n    if (__n < uVar15) {\n      sVar8 = uVar15;\n    }\n    if ((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }\n    p_Var3 = (_Bit_type *)operator_new((ulong)local_78);\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\n    if (puVar13 != puVar10) {\n      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);\n    }\n    uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;\n    puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13));\n    if (((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0) {\n      uVar15 = 0;\n      uVar11 = 0;\n    }\n    else {\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }\n    lVar20 = uVar15 + __n;\n    lVar14 = lVar20 + 0x3f;\n    if (-1 < lVar20) {\n      lVar14 = lVar20;\n    }\n    puVar17 = puVar12 + (lVar14 >> 6);\n    uVar15 = lVar20 % 0x40;\n    if ((long)uVar15 < 0) {\n      uVar15 = uVar15 + 0x40;\n      puVar17 = puVar17 + -1;\n    }\n    uVar18 = (uint)uVar15;\n    uVar2 = uVar15 & 0xffffffff;\n    cVar1 = (char)uVar15;\n    if (puVar17 == puVar12) {\n      if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar11 == 0) {\n      sVar7 = (long)puVar17 - (long)puVar12;\n      if (!__x) goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar12,-1,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\nLAB_00165e60:\n    lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4;\n    if (0 < lVar14) {\n      do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);\n    }\nLAB_00165ee7:\n    if (puVar13 != (ulong *)0x0) {\n      operator_delete(puVar13);\n    }\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p = p_Var3;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset = 0;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = puVar17;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3);\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset = uVar18;\n    return;\n  }" if (parenthesized_expression "((ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14) < __n)" ( (binary_expression "(ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14) < __n" (call_expression "(ulong)(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14)" ( (binary_expression "((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - lVar14" (binary_expression "((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8" (parenthesized_expression "((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3)" ( (binary_expression "(long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3" (cast_expression "(long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_end_of_storage" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier)) - (cast_expression "(long)p_Var3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal) - identifier) ))) < identifier) )) (compound_statement "{\n    if (0x7fffffffffffffc0 - uVar15 < __n) {\n                    /* WARNING: Subroutine does not return */\n      __throw_length_error("vector<bool>::_M_fill_insert");\n    }\n    sVar8 = __n;\n    if (__n < uVar15) {\n      sVar8 = uVar15;\n    }\n    if ((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }\n    p_Var3 = (_Bit_type *)operator_new((ulong)local_78);\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\n    if (puVar13 != puVar10) {\n      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);\n    }\n    uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;\n    puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13));\n    if (((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0) {\n      uVar15 = 0;\n      uVar11 = 0;\n    }\n    else {\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }\n    lVar20 = uVar15 + __n;\n    lVar14 = lVar20 + 0x3f;\n    if (-1 < lVar20) {\n      lVar14 = lVar20;\n    }\n    puVar17 = puVar12 + (lVar14 >> 6);\n    uVar15 = lVar20 % 0x40;\n    if ((long)uVar15 < 0) {\n      uVar15 = uVar15 + 0x40;\n      puVar17 = puVar17 + -1;\n    }\n    uVar18 = (uint)uVar15;\n    uVar2 = uVar15 & 0xffffffff;\n    cVar1 = (char)uVar15;\n    if (puVar17 == puVar12) {\n      if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar11 == 0) {\n      sVar7 = (long)puVar17 - (long)puVar12;\n      if (!__x) goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar12,-1,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;\nLAB_00165e60:\n    lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4;\n    if (0 < lVar14) {\n      do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);\n    }\nLAB_00165ee7:\n    if (puVar13 != (ulong *)0x0) {\n      operator_delete(puVar13);\n    }\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p = p_Var3;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset = 0;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = puVar17;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3);\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset = uVar18;\n    return;\n  }" { (if_statement "if (0x7fffffffffffffc0 - uVar15 < __n) {\n                    /* WARNING: Subroutine does not return */\n      __throw_length_error("vector<bool>::_M_fill_insert");\n    }" if (parenthesized_expression "(0x7fffffffffffffc0 - uVar15 < __n)" ( (binary_expression "0x7fffffffffffffc0 - uVar15 < __n" (binary_expression "0x7fffffffffffffc0 - uVar15" number_literal - identifier) < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __throw_length_error("vector<bool>::_M_fill_insert");\n    }" { comment (expression_statement "__throw_length_error("vector<bool>::_M_fill_insert");" (call_expression "__throw_length_error("vector<bool>::_M_fill_insert")" identifier (argument_list "("vector<bool>::_M_fill_insert")" ( (string_literal ""vector<bool>::_M_fill_insert"" " string_content ") ))) ;) })) (expression_statement "sVar8 = __n;" (assignment_expression "sVar8 = __n" identifier = identifier) ;) (if_statement "if (__n < uVar15) {\n      sVar8 = uVar15;\n    }" if (parenthesized_expression "(__n < uVar15)" ( (binary_expression "__n < uVar15" identifier < identifier) )) (compound_statement "{\n      sVar8 = uVar15;\n    }" { (expression_statement "sVar8 = uVar15;" (assignment_expression "sVar8 = uVar15" identifier = identifier) ;) })) (if_statement "if ((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }" if (parenthesized_expression "((0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8)))" ( (binary_expression "(0x7fffffffffffffc0 < uVar15 + sVar8) || (CARRY8(uVar15,sVar8))" (parenthesized_expression "(0x7fffffffffffffc0 < uVar15 + sVar8)" ( (binary_expression "0x7fffffffffffffc0 < uVar15 + sVar8" number_literal < (binary_expression "uVar15 + sVar8" identifier + identifier)) )) || (parenthesized_expression "(CARRY8(uVar15,sVar8))" ( (call_expression "CARRY8(uVar15,sVar8)" identifier (argument_list "(uVar15,sVar8)" ( identifier , identifier ))) ))) )) (compound_statement "{\n      local_78 = (ulong *)0xffffffffffffff8;\n    }" { (expression_statement "local_78 = (ulong *)0xffffffffffffff8;" (assignment_expression "local_78 = (ulong *)0xffffffffffffff8" identifier = (cast_expression "(ulong *)0xffffffffffffff8" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }" else (compound_statement "{\n      local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);\n    }" { (expression_statement "local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8);" (assignment_expression "local_78 = (ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8)" identifier = (cast_expression "(ulong *)((uVar15 + sVar8 + 0x3f >> 6) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar15 + sVar8 + 0x3f >> 6) * 8)" ( (binary_expression "(uVar15 + sVar8 + 0x3f >> 6) * 8" (parenthesized_expression "(uVar15 + sVar8 + 0x3f >> 6)" ( (binary_expression "uVar15 + sVar8 + 0x3f >> 6" (binary_expression "uVar15 + sVar8 + 0x3f" (binary_expression "uVar15 + sVar8" identifier + identifier) + number_literal) >> number_literal) )) * number_literal) )))) ;) }))) (expression_statement "p_Var3 = (_Bit_type *)operator_new((ulong)local_78);" (assignment_expression "p_Var3 = (_Bit_type *)operator_new((ulong)local_78)" identifier = (cast_expression "(_Bit_type *)operator_new((ulong)local_78)" ( (type_descriptor "_Bit_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new((ulong)local_78)" identifier (argument_list "((ulong)local_78)" ( (cast_expression "(ulong)local_78" ( (type_descriptor "ulong" type_identifier) ) identifier) ))))) ;) (expression_statement "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;" (assignment_expression "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p" identifier = (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (puVar13 != puVar10) {\n      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);\n    }" if (parenthesized_expression "(puVar13 != puVar10)" ( (binary_expression "puVar13 != puVar10" identifier != identifier) )) (compound_statement "{\n      p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);\n    }" { (expression_statement "p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13);" (assignment_expression "p_Var3 = (_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13)" identifier = (cast_expression "(_Bit_type *)memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13)" ( (type_descriptor "_Bit_type *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "memmove(p_Var3,puVar13,(long)puVar10 - (long)puVar13)" identifier (argument_list "(p_Var3,puVar13,(long)puVar10 - (long)puVar13)" ( identifier , identifier , (binary_expression "(long)puVar10 - (long)puVar13" (cast_expression "(long)puVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))))) ;) })) (expression_statement "uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;" (assignment_expression "uVar4 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff" identifier = (binary_expression "__position.super__Bit_iterator_base._8_8_ & 0xffffffff" (field_expression "__position.super__Bit_iterator_base._8_8_" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier) & number_literal)) ;) (expression_statement "puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13));" (assignment_expression "puVar12 = (ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13))" identifier = (cast_expression "(ulong *)((long)p_Var3 + ((long)puVar10 - (long)puVar13))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)p_Var3 + ((long)puVar10 - (long)puVar13))" ( (binary_expression "(long)p_Var3 + ((long)puVar10 - (long)puVar13)" (cast_expression "(long)p_Var3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)puVar10 - (long)puVar13)" ( (binary_expression "(long)puVar10 - (long)puVar13" (cast_expression "(long)puVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) )))) ;) (if_statement "if (((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0) {\n      uVar15 = 0;\n      uVar11 = 0;\n    }\n    else {\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }" if (parenthesized_expression "(((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0)" ( (binary_expression "((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff) ==\n        (undefined1  [16])0x0" (parenthesized_expression "((undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff)" ( (binary_expression "(undefined1  [16])__position.super__Bit_iterator_base & (undefined1  [16])0xffffffff" (cast_expression "(undefined1  [16])__position.super__Bit_iterator_base" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier)) & (cast_expression "(undefined1  [16])0xffffffff" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) )) == (cast_expression "(undefined1  [16])0x0" ( (type_descriptor "undefined1  [16]" type_identifier (abstract_array_declarator "[16]" [ number_literal ])) ) number_literal)) )) (compound_statement "{\n      uVar15 = 0;\n      uVar11 = 0;\n    }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }" else (compound_statement "{\n      uVar11 = 0;\n      uVar15 = uVar4;\n      puVar17 = puVar10;\n      do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);\nLAB_00165da0:\n      uVar15 = (ulong)uVar11;\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = uVar4;" (assignment_expression "uVar15 = uVar4" identifier = identifier) ;) (expression_statement "puVar17 = puVar10;" (assignment_expression "puVar17 = puVar10" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      } while (uVar15 != 0);" do (compound_statement "{\n        while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }\n        uVar11 = uVar11 + 1;\n        uVar15 = uVar15 - 1;\n      }" { (while_statement "while( true ) {\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar9 = 1L << ((byte)uVar11 & 0x3f);\n          uVar2 = ~uVar9 & *puVar12;\n          if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }\n          *puVar12 = uVar2;\n          if (uVar11 != 0x3f) break;\n          puVar17 = puVar17 + 1;\n          puVar12 = puVar12 + 1;\n          uVar11 = 0;\n          uVar15 = uVar15 - 1;\n          if (uVar15 == 0) goto LAB_00165da0;\n        }" { (expression_statement "uVar9 = 1L << ((byte)uVar11 & 0x3f);" (assignment_expression "uVar9 = 1L << ((byte)uVar11 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar11 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar11 & 0x3f)" ( (binary_expression "(byte)uVar11 & 0x3f" (cast_expression "(byte)uVar11" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar2 = ~uVar9 & *puVar12;" (assignment_expression "uVar2 = ~uVar9 & *puVar12" identifier = (binary_expression "~uVar9 & *puVar12" (unary_expression "~uVar9" ~ identifier) & (pointer_expression "*puVar12" * identifier))) ;) (if_statement "if ((*puVar17 & uVar9) != 0) {\n            uVar2 = uVar9 | *puVar12;\n          }" if (parenthesized_expression "((*puVar17 & uVar9) != 0)" ( (binary_expression "(*puVar17 & uVar9) != 0" (parenthesized_expression "(*puVar17 & uVar9)" ( (binary_expression "*puVar17 & uVar9" (pointer_expression "*puVar17" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n            uVar2 = uVar9 | *puVar12;\n          }" { (expression_statement "uVar2 = uVar9 | *puVar12;" (assignment_expression "uVar2 = uVar9 | *puVar12" identifier = (binary_expression "uVar9 | *puVar12" identifier | (pointer_expression "*puVar12" * identifier))) ;) })) (expression_statement "*puVar12 = uVar2;" (assignment_expression "*puVar12 = uVar2" (pointer_expression "*puVar12" * identifier) = identifier) ;) (if_statement "if (uVar11 != 0x3f) break;" if (parenthesized_expression "(uVar11 != 0x3f)" ( (binary_expression "uVar11 != 0x3f" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" identifier = (binary_expression "puVar17 + 1" identifier + number_literal)) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar15 = uVar15 - 1;" (assignment_expression "uVar15 = uVar15 - 1" identifier = (binary_expression "uVar15 - 1" identifier - number_literal)) ;) (if_statement "if (uVar15 == 0) goto LAB_00165da0;" if (parenthesized_expression "(uVar15 == 0)" ( (binary_expression "uVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165da0;" goto statement_identifier ;)) })) (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) (expression_statement "uVar15 = uVar15 - 1;" (assignment_expression "uVar15 = uVar15 - 1" identifier = (binary_expression "uVar15 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar15 != 0)" ( (binary_expression "uVar15 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00165da0:\n      uVar15 = (ulong)uVar11;" statement_identifier : (expression_statement "uVar15 = (ulong)uVar11;" (assignment_expression "uVar15 = (ulong)uVar11" identifier = (cast_expression "(ulong)uVar11" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;)) }))) (expression_statement "lVar20 = uVar15 + __n;" (assignment_expression "lVar20 = uVar15 + __n" identifier = (binary_expression "uVar15 + __n" identifier + identifier)) ;) (expression_statement "lVar14 = lVar20 + 0x3f;" (assignment_expression "lVar14 = lVar20 + 0x3f" identifier = (binary_expression "lVar20 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar20) {\n      lVar14 = lVar20;\n    }" if (parenthesized_expression "(-1 < lVar20)" ( (binary_expression "-1 < lVar20" number_literal < identifier) )) (compound_statement "{\n      lVar14 = lVar20;\n    }" { (expression_statement "lVar14 = lVar20;" (assignment_expression "lVar14 = lVar20" identifier = identifier) ;) })) (expression_statement "puVar17 = puVar12 + (lVar14 >> 6);" (assignment_expression "puVar17 = puVar12 + (lVar14 >> 6)" identifier = (binary_expression "puVar12 + (lVar14 >> 6)" identifier + (parenthesized_expression "(lVar14 >> 6)" ( (binary_expression "lVar14 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar15 = lVar20 % 0x40;" (assignment_expression "uVar15 = lVar20 % 0x40" identifier = (binary_expression "lVar20 % 0x40" identifier % number_literal)) ;) (if_statement "if ((long)uVar15 < 0) {\n      uVar15 = uVar15 + 0x40;\n      puVar17 = puVar17 + -1;\n    }" if (parenthesized_expression "((long)uVar15 < 0)" ( (binary_expression "(long)uVar15 < 0" (cast_expression "(long)uVar15" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      uVar15 = uVar15 + 0x40;\n      puVar17 = puVar17 + -1;\n    }" { (expression_statement "uVar15 = uVar15 + 0x40;" (assignment_expression "uVar15 = uVar15 + 0x40" identifier = (binary_expression "uVar15 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar17 = puVar17 + -1;" (assignment_expression "puVar17 = puVar17 + -1" identifier = (binary_expression "puVar17 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar18 = (uint)uVar15;" (assignment_expression "uVar18 = (uint)uVar15" identifier = (cast_expression "(uint)uVar15" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = uVar15 & 0xffffffff;" (assignment_expression "uVar2 = uVar15 & 0xffffffff" identifier = (binary_expression "uVar15 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar1 = (char)uVar15;" (assignment_expression "cVar1 = (char)uVar15" identifier = (cast_expression "(char)uVar15" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar17 == puVar12) {\n      if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }\n      goto LAB_00165e60;\n    }" if (parenthesized_expression "(puVar17 == puVar12)" ( (binary_expression "puVar17 == puVar12" identifier == identifier) )) (compound_statement "{\n      if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }\n      goto LAB_00165e60;\n    }" { (if_statement "if (uVar18 != uVar11) {\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }" if (parenthesized_expression "(uVar18 != uVar11)" ( (binary_expression "uVar18 != uVar11" identifier != identifier) )) (compound_statement "{\n        uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);\n        uVar15 = uVar9 | *puVar17;\n        if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }\n        *puVar17 = uVar15;\n      }" { (expression_statement "uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f);" (assignment_expression "uVar9 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f)" identifier = (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar11 & 0x3f)" (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) & (binary_expression "-1L << ((byte)uVar11 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar11 & 0x3f)" ( (binary_expression "(byte)uVar11 & 0x3f" (cast_expression "(byte)uVar11" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) (expression_statement "uVar15 = uVar9 | *puVar17;" (assignment_expression "uVar15 = uVar9 | *puVar17" identifier = (binary_expression "uVar9 | *puVar17" identifier | (pointer_expression "*puVar17" * identifier))) ;) (if_statement "if (!__x) {\n          uVar15 = ~uVar9 & *puVar17;\n        }" if (parenthesized_expression "(!__x)" ( (unary_expression "!__x" ! identifier) )) (compound_statement "{\n          uVar15 = ~uVar9 & *puVar17;\n        }" { (expression_statement "uVar15 = ~uVar9 & *puVar17;" (assignment_expression "uVar15 = ~uVar9 & *puVar17" identifier = (binary_expression "~uVar9 & *puVar17" (unary_expression "~uVar9" ~ identifier) & (pointer_expression "*puVar17" * identifier))) ;) })) (expression_statement "*puVar17 = uVar15;" (assignment_expression "*puVar17 = uVar15" (pointer_expression "*puVar17" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165e60;" goto statement_identifier ;) })) (if_statement "if (uVar11 == 0) {\n      sVar7 = (long)puVar17 - (long)puVar12;\n      if (!__x) goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar12,-1,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n      sVar7 = (long)puVar17 - (long)puVar12;\n      if (!__x) goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar12,-1,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }" { (expression_statement "sVar7 = (long)puVar17 - (long)puVar12;" (assignment_expression "sVar7 = (long)puVar17 - (long)puVar12" identifier = (binary_expression "(long)puVar17 - (long)puVar12" (cast_expression "(long)puVar17" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (!__x) goto LAB_00166049;" if (parenthesized_expression "(!__x)" ( (unary_expression "!__x" ! identifier) )) (goto_statement "goto LAB_00166049;" goto statement_identifier ;)) (labeled_statement "LAB_00165e1b:\n      memset(puVar12,-1,sVar7);" statement_identifier : (expression_statement "memset(puVar12,-1,sVar7);" (call_expression "memset(puVar12,-1,sVar7)" identifier (argument_list "(puVar12,-1,sVar7)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar15 != 0) {\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" if (parenthesized_expression "(uVar15 != 0)" ( (binary_expression "uVar15 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" { (expression_statement "*puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar17 = *puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar17" * identifier) = (binary_expression "*puVar17 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar17" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }) (else_clause "else {\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" else (compound_statement "{\n      puVar13 = puVar12 + 1;\n      uVar9 = -1L << ((byte)uVar11 & 0x3f);\n      sVar7 = (long)puVar17 - (long)puVar13;\n      if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }\n      *puVar12 = ~uVar9 & *puVar12;\n      puVar12 = puVar13;\nLAB_00166049:\n      memset(puVar12,0,sVar7);\n      if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" { (expression_statement "puVar13 = puVar12 + 1;" (assignment_expression "puVar13 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) (expression_statement "uVar9 = -1L << ((byte)uVar11 & 0x3f);" (assignment_expression "uVar9 = -1L << ((byte)uVar11 & 0x3f)" identifier = (binary_expression "-1L << ((byte)uVar11 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar11 & 0x3f)" ( (binary_expression "(byte)uVar11 & 0x3f" (cast_expression "(byte)uVar11" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "sVar7 = (long)puVar17 - (long)puVar13;" (assignment_expression "sVar7 = (long)puVar17 - (long)puVar13" identifier = (binary_expression "(long)puVar17 - (long)puVar13" (cast_expression "(long)puVar17" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__x) {\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }" if (parenthesized_expression "(__x)" ( identifier )) (compound_statement "{\n        *puVar12 = uVar9 | *puVar12;\n        puVar12 = puVar13;\n        goto LAB_00165e1b;\n      }" { (expression_statement "*puVar12 = uVar9 | *puVar12;" (assignment_expression "*puVar12 = uVar9 | *puVar12" (pointer_expression "*puVar12" * identifier) = (binary_expression "uVar9 | *puVar12" identifier | (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "puVar12 = puVar13;" (assignment_expression "puVar12 = puVar13" identifier = identifier) ;) (goto_statement "goto LAB_00165e1b;" goto statement_identifier ;) })) (expression_statement "*puVar12 = ~uVar9 & *puVar12;" (assignment_expression "*puVar12 = ~uVar9 & *puVar12" (pointer_expression "*puVar12" * identifier) = (binary_expression "~uVar9 & *puVar12" (unary_expression "~uVar9" ~ identifier) & (pointer_expression "*puVar12" * identifier))) ;) (expression_statement "puVar12 = puVar13;" (assignment_expression "puVar12 = puVar13" identifier = identifier) ;) (labeled_statement "LAB_00166049:\n      memset(puVar12,0,sVar7);" statement_identifier : (expression_statement "memset(puVar12,0,sVar7);" (call_expression "memset(puVar12,0,sVar7)" identifier (argument_list "(puVar12,0,sVar7)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar15 != 0) {\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" if (parenthesized_expression "(uVar15 != 0)" ( (binary_expression "uVar15 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" { (expression_statement "*puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar17 = *puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar17" * identifier) = (binary_expression "*puVar17 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar17" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }))) (expression_statement "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p;" (assignment_expression "puVar13 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p" identifier = (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n              _M_start" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (labeled_statement "LAB_00165e60:\n    lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4;" statement_identifier : (expression_statement "lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4;" (assignment_expression "lVar14 = ((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4" identifier = (binary_expression "((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8) - uVar4" (parenthesized_expression "((ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8)" ( (binary_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +\n             ((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data._M_finish" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                     super__Bvector_impl_data" (field_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (call_expression "(ulong)(this->super__Bvector_base<std::allocator<bool>_>)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) ))) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) + (binary_expression "((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             ) * 8" (parenthesized_expression "((long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10\n             )" ( (binary_expression "(long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)puVar10" (cast_expression "(long)(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.\n                    super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) - (cast_expression "(long)puVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - identifier)) ;)) (if_statement "if (0 < lVar14) {\n      do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);\n    }" if (parenthesized_expression "(0 < lVar14)" ( (binary_expression "0 < lVar14" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);\n    }" { (do_statement "do {\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      } while (lVar14 != 0);" do (compound_statement "{\n        while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }\n        puVar10 = puVar10 + 1;\n        local_60 = 0;\n        if (iVar19 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar18 = iVar19 + 1;\n        uVar2 = (ulong)uVar18;\n        lVar14 = lVar14 + -1;\n      }" { (while_statement "while( true ) {\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar19 = (int)uVar2;\n          uVar15 = 1L << ((byte)uVar2 & 0x3f);\n          uVar4 = ~uVar15 & *puVar17;\n          if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }\n          *puVar17 = uVar4;\n          if (local_60 == 0x3f) break;\n          local_60 = local_60 + 1;\n          if (iVar19 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar17 = puVar17 + 1;\n          uVar2 = 0;\n          uVar18 = 0;\n          lVar14 = lVar14 + -1;\n          if (lVar14 == 0) goto LAB_00165ee7;\n        }" { (expression_statement "iVar19 = (int)uVar2;" (assignment_expression "iVar19 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar15 = 1L << ((byte)uVar2 & 0x3f);" (assignment_expression "uVar15 = 1L << ((byte)uVar2 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar2 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar2 & 0x3f)" ( (binary_expression "(byte)uVar2 & 0x3f" (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar4 = ~uVar15 & *puVar17;" (assignment_expression "uVar4 = ~uVar15 & *puVar17" identifier = (binary_expression "~uVar15 & *puVar17" (unary_expression "~uVar15" ~ identifier) & (pointer_expression "*puVar17" * identifier))) ;) (if_statement "if ((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0) {\n            uVar4 = uVar15 | *puVar17;\n          }" if (parenthesized_expression "((*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0)" ( (binary_expression "(*puVar10 & 1L << ((byte)local_60 & 0x3f)) != 0" (parenthesized_expression "(*puVar10 & 1L << ((byte)local_60 & 0x3f))" ( (binary_expression "*puVar10 & 1L << ((byte)local_60 & 0x3f)" (pointer_expression "*puVar10" * identifier) & (binary_expression "1L << ((byte)local_60 & 0x3f)" number_literal << (parenthesized_expression "((byte)local_60 & 0x3f)" ( (binary_expression "(byte)local_60 & 0x3f" (cast_expression "(byte)local_60" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) )) (compound_statement "{\n            uVar4 = uVar15 | *puVar17;\n          }" { (expression_statement "uVar4 = uVar15 | *puVar17;" (assignment_expression "uVar4 = uVar15 | *puVar17" identifier = (binary_expression "uVar15 | *puVar17" identifier | (pointer_expression "*puVar17" * identifier))) ;) })) (expression_statement "*puVar17 = uVar4;" (assignment_expression "*puVar17 = uVar4" (pointer_expression "*puVar17" * identifier) = identifier) ;) (if_statement "if (local_60 == 0x3f) break;" if (parenthesized_expression "(local_60 == 0x3f)" ( (binary_expression "local_60 == 0x3f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) (if_statement "if (iVar19 != 0x3f) goto LAB_00165e92;" if (parenthesized_expression "(iVar19 != 0x3f)" ( (binary_expression "iVar19 != 0x3f" identifier != number_literal) )) (goto_statement "goto LAB_00165e92;" goto statement_identifier ;)) (labeled_statement "LAB_00165eda:\n          puVar17 = puVar17 + 1;" statement_identifier : (expression_statement "puVar17 = puVar17 + 1;" (assignment_expression "puVar17 = puVar17 + 1" identifier = (binary_expression "puVar17 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar18 = 0;" (assignment_expression "uVar18 = 0" identifier = number_literal) ;) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" identifier = (binary_expression "lVar14 + -1" identifier + number_literal)) ;) (if_statement "if (lVar14 == 0) goto LAB_00165ee7;" if (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165ee7;" goto statement_identifier ;)) })) (expression_statement "puVar10 = puVar10 + 1;" (assignment_expression "puVar10 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) (if_statement "if (iVar19 == 0x3f) goto LAB_00165eda;" if (parenthesized_expression "(iVar19 == 0x3f)" ( (binary_expression "iVar19 == 0x3f" identifier == number_literal) )) (goto_statement "goto LAB_00165eda;" goto statement_identifier ;)) (labeled_statement "LAB_00165e92:\n        uVar18 = iVar19 + 1;" statement_identifier : (expression_statement "uVar18 = iVar19 + 1;" (assignment_expression "uVar18 = iVar19 + 1" identifier = (binary_expression "iVar19 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = (ulong)uVar18;" (assignment_expression "uVar2 = (ulong)uVar18" identifier = (cast_expression "(ulong)uVar18" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" identifier = (binary_expression "lVar14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) ;) })) (labeled_statement "LAB_00165ee7:\n    if (puVar13 != (ulong *)0x0) {\n      operator_delete(puVar13);\n    }" statement_identifier : (if_statement "if (puVar13 != (ulong *)0x0) {\n      operator_delete(puVar13);\n    }" if (parenthesized_expression "(puVar13 != (ulong *)0x0)" ( (binary_expression "puVar13 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      operator_delete(puVar13);\n    }" { (expression_statement "operator_delete(puVar13);" (call_expression "operator_delete(puVar13)" identifier (argument_list "(puVar13)" ( identifier ))) ;) }))) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p = p_Var3;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p = p_Var3" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset = 0;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset = 0" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base._M_offset" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_start" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = puVar17;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = puVar17" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3);" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage = (_Bit_pointer)((long)local_78 + (long)p_Var3)" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n    _M_end_of_storage" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) = (call_expression "(_Bit_pointer)((long)local_78 + (long)p_Var3)" (parenthesized_expression "(_Bit_pointer)" ( identifier )) (argument_list "((long)local_78 + (long)p_Var3)" ( (binary_expression "(long)local_78 + (long)p_Var3" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)p_Var3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset = uVar18;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset = uVar18" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_offset" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "lVar14 = __n + uVar4;" (assignment_expression "lVar14 = __n + uVar4" identifier = (binary_expression "__n + uVar4" identifier + identifier)) ;) (expression_statement "lVar20 = lVar14 + 0x3f;" (assignment_expression "lVar20 = lVar14 + 0x3f" identifier = (binary_expression "lVar14 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar14) {\n    lVar20 = lVar14;\n  }" if (parenthesized_expression "(-1 < lVar14)" ( (binary_expression "-1 < lVar14" number_literal < identifier) )) (compound_statement "{\n    lVar20 = lVar14;\n  }" { (expression_statement "lVar20 = lVar14;" (assignment_expression "lVar20 = lVar14" identifier = identifier) ;) })) (expression_statement "local_78 = puVar13 + (lVar20 >> 6);" (assignment_expression "local_78 = puVar13 + (lVar20 >> 6)" identifier = (binary_expression "puVar13 + (lVar20 >> 6)" identifier + (parenthesized_expression "(lVar20 >> 6)" ( (binary_expression "lVar20 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar2 = lVar14 % 0x40;" (assignment_expression "uVar2 = lVar14 % 0x40" identifier = (binary_expression "lVar14 % 0x40" identifier % number_literal)) ;) (expression_statement "uVar15 = uVar2;" (assignment_expression "uVar15 = uVar2" identifier = identifier) ;) (expression_statement "puVar12 = local_78;" (assignment_expression "puVar12 = local_78" identifier = identifier) ;) (if_statement "if ((long)uVar2 < 0) {\n    uVar15 = uVar2 + 0x40;\n    puVar12 = local_78 + -1;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar15 = uVar2 + 0x40;\n    puVar12 = local_78 + -1;\n  }" { (expression_statement "uVar15 = uVar2 + 0x40;" (assignment_expression "uVar15 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar12 = local_78 + -1;" (assignment_expression "puVar12 = local_78 + -1" identifier = (binary_expression "local_78 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar9 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;" (assignment_expression "uVar9 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff" identifier = (binary_expression "__position.super__Bit_iterator_base._8_8_ & 0xffffffff" (field_expression "__position.super__Bit_iterator_base._8_8_" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier) & number_literal)) ;) (expression_statement "lVar14 = (uVar4 + ((long)puVar13 - (long)puVar10) * 8) - uVar9;" (assignment_expression "lVar14 = (uVar4 + ((long)puVar13 - (long)puVar10) * 8) - uVar9" identifier = (binary_expression "(uVar4 + ((long)puVar13 - (long)puVar10) * 8) - uVar9" (parenthesized_expression "(uVar4 + ((long)puVar13 - (long)puVar10) * 8)" ( (binary_expression "uVar4 + ((long)puVar13 - (long)puVar10) * 8" identifier + (binary_expression "((long)puVar13 - (long)puVar10) * 8" (parenthesized_expression "((long)puVar13 - (long)puVar10)" ( (binary_expression "(long)puVar13 - (long)puVar10" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - identifier)) ;) (if_statement "if (0 < lVar14) {\n    do {\n      iVar19 = (int)uVar15;\n      if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }\n      uVar6 = ~uVar5 & *puVar12;\n      if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }\n      *puVar12 = uVar6;\n      lVar14 = lVar14 + -1;\n    } while (lVar14 != 0);\n  }" if (parenthesized_expression "(0 < lVar14)" ( (binary_expression "0 < lVar14" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar19 = (int)uVar15;\n      if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }\n      uVar6 = ~uVar5 & *puVar12;\n      if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }\n      *puVar12 = uVar6;\n      lVar14 = lVar14 + -1;\n    } while (lVar14 != 0);\n  }" { (do_statement "do {\n      iVar19 = (int)uVar15;\n      if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }\n      uVar6 = ~uVar5 & *puVar12;\n      if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }\n      *puVar12 = uVar6;\n      lVar14 = lVar14 + -1;\n    } while (lVar14 != 0);" do (compound_statement "{\n      iVar19 = (int)uVar15;\n      if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }\n      uVar6 = ~uVar5 & *puVar12;\n      if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }\n      *puVar12 = uVar6;\n      lVar14 = lVar14 + -1;\n    }" { (expression_statement "iVar19 = (int)uVar15;" (assignment_expression "iVar19 = (int)uVar15" identifier = (cast_expression "(int)uVar15" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)uVar4 == 0) {\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }\n      else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }" if (parenthesized_expression "((int)uVar4 == 0)" ( (binary_expression "(int)uVar4 == 0" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n        puVar13 = puVar13 + -1;\n        uVar4 = 0x3f;\n        uVar16 = 0x8000000000000000;\n        uVar6 = 0x8000000000000000;\n        if (iVar19 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);\n        uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);\n      }" { (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" identifier = (binary_expression "puVar13 + -1" identifier + number_literal)) ;) (expression_statement "uVar4 = 0x3f;" (assignment_expression "uVar4 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar16 = 0x8000000000000000;" (assignment_expression "uVar16 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar6 = 0x8000000000000000;" (assignment_expression "uVar6 = 0x8000000000000000" identifier = number_literal) ;) (if_statement "if (iVar19 == 0) goto LAB_00165bbd;" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165bbd;" goto statement_identifier ;)) (labeled_statement "LAB_00165b7f:\n        uVar15 = (ulong)(iVar19 - 1U);" statement_identifier : (expression_statement "uVar15 = (ulong)(iVar19 - 1U);" (assignment_expression "uVar15 = (ulong)(iVar19 - 1U)" identifier = (call_expression "(ulong)(iVar19 - 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar19 - 1U)" ( (binary_expression "iVar19 - 1U" identifier - number_literal) )))) ;)) (expression_statement "uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f);" (assignment_expression "uVar5 = 1L << ((byte)(iVar19 - 1U) & 0x3f)" identifier = (binary_expression "1L << ((byte)(iVar19 - 1U) & 0x3f)" number_literal << (parenthesized_expression "((byte)(iVar19 - 1U) & 0x3f)" ( (binary_expression "(byte)(iVar19 - 1U) & 0x3f" (call_expression "(byte)(iVar19 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar19 - 1U)" ( (binary_expression "iVar19 - 1U" identifier - number_literal) ))) & number_literal) )))) ;) }) (else_clause "else {\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }" else (compound_statement "{\n        uVar11 = (int)uVar4 - 1;\n        uVar4 = (ulong)uVar11;\n        uVar16 = 1L << ((byte)uVar11 & 0x3f);\n        uVar6 = uVar16;\n        if (iVar19 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar12 = puVar12 + -1;\n        uVar15 = 0x3f;\n        uVar5 = 0x8000000000000000;\n        uVar16 = uVar6;\n      }" { (expression_statement "uVar11 = (int)uVar4 - 1;" (assignment_expression "uVar11 = (int)uVar4 - 1" identifier = (binary_expression "(int)uVar4 - 1" (cast_expression "(int)uVar4" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (expression_statement "uVar4 = (ulong)uVar11;" (assignment_expression "uVar4 = (ulong)uVar11" identifier = (cast_expression "(ulong)uVar11" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar16 = 1L << ((byte)uVar11 & 0x3f);" (assignment_expression "uVar16 = 1L << ((byte)uVar11 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar11 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar11 & 0x3f)" ( (binary_expression "(byte)uVar11 & 0x3f" (cast_expression "(byte)uVar11" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar6 = uVar16;" (assignment_expression "uVar6 = uVar16" identifier = identifier) ;) (if_statement "if (iVar19 != 0) goto LAB_00165b7f;" if (parenthesized_expression "(iVar19 != 0)" ( (binary_expression "iVar19 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00165b7f;" goto statement_identifier ;)) (labeled_statement "LAB_00165bbd:\n        puVar12 = puVar12 + -1;" statement_identifier : (expression_statement "puVar12 = puVar12 + -1;" (assignment_expression "puVar12 = puVar12 + -1" identifier = (binary_expression "puVar12 + -1" identifier + number_literal)) ;)) (expression_statement "uVar15 = 0x3f;" (assignment_expression "uVar15 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar5 = 0x8000000000000000;" (assignment_expression "uVar5 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar16 = uVar6;" (assignment_expression "uVar16 = uVar6" identifier = identifier) ;) }))) (expression_statement "uVar6 = ~uVar5 & *puVar12;" (assignment_expression "uVar6 = ~uVar5 & *puVar12" identifier = (binary_expression "~uVar5 & *puVar12" (unary_expression "~uVar5" ~ identifier) & (pointer_expression "*puVar12" * identifier))) ;) (if_statement "if ((*puVar13 & uVar16) != 0) {\n        uVar6 = *puVar12 | uVar5;\n      }" if (parenthesized_expression "((*puVar13 & uVar16) != 0)" ( (binary_expression "(*puVar13 & uVar16) != 0" (parenthesized_expression "(*puVar13 & uVar16)" ( (binary_expression "*puVar13 & uVar16" (pointer_expression "*puVar13" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n        uVar6 = *puVar12 | uVar5;\n      }" { (expression_statement "uVar6 = *puVar12 | uVar5;" (assignment_expression "uVar6 = *puVar12 | uVar5" identifier = (binary_expression "*puVar12 | uVar5" (pointer_expression "*puVar12" * identifier) | identifier)) ;) })) (expression_statement "*puVar12 = uVar6;" (assignment_expression "*puVar12 = uVar6" (pointer_expression "*puVar12" * identifier) = identifier) ;) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" identifier = (binary_expression "lVar14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) ;) })) (expression_statement "lVar20 = uVar9 + __n;" (assignment_expression "lVar20 = uVar9 + __n" identifier = (binary_expression "uVar9 + __n" identifier + identifier)) ;) (expression_statement "lVar14 = lVar20 + 0x3f;" (assignment_expression "lVar14 = lVar20 + 0x3f" identifier = (binary_expression "lVar20 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar20) {\n    lVar14 = lVar20;\n  }" if (parenthesized_expression "(-1 < lVar20)" ( (binary_expression "-1 < lVar20" number_literal < identifier) )) (compound_statement "{\n    lVar14 = lVar20;\n  }" { (expression_statement "lVar14 = lVar20;" (assignment_expression "lVar14 = lVar20" identifier = identifier) ;) })) (expression_statement "puVar13 = puVar10 + (lVar14 >> 6);" (assignment_expression "puVar13 = puVar10 + (lVar14 >> 6)" identifier = (binary_expression "puVar10 + (lVar14 >> 6)" identifier + (parenthesized_expression "(lVar14 >> 6)" ( (binary_expression "lVar14 >> 6" identifier >> number_literal) )))) ;) (expression_statement "lVar20 = lVar20 % 0x40;" (assignment_expression "lVar20 = lVar20 % 0x40" identifier = (binary_expression "lVar20 % 0x40" identifier % number_literal)) ;) (if_statement "if (lVar20 < 0) {\n    lVar20 = lVar20 + 0x40;\n    puVar13 = puVar13 + -1;\n  }" if (parenthesized_expression "(lVar20 < 0)" ( (binary_expression "lVar20 < 0" identifier < number_literal) )) (compound_statement "{\n    lVar20 = lVar20 + 0x40;\n    puVar13 = puVar13 + -1;\n  }" { (expression_statement "lVar20 = lVar20 + 0x40;" (assignment_expression "lVar20 = lVar20 + 0x40" identifier = (binary_expression "lVar20 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" identifier = (binary_expression "puVar13 + -1" identifier + number_literal)) ;) })) (expression_statement "cVar1 = (char)lVar20;" (assignment_expression "cVar1 = (char)lVar20" identifier = (cast_expression "(char)lVar20" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar13 == puVar10) {\n    if ((uint)lVar20 != local_60) {\n      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar4 = *puVar13 | uVar15;\n      if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }\n      *puVar13 = uVar4;\n    }\n    goto LAB_00165c8f;\n  }" if (parenthesized_expression "(puVar13 == puVar10)" ( (binary_expression "puVar13 == puVar10" identifier == identifier) )) (compound_statement "{\n    if ((uint)lVar20 != local_60) {\n      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar4 = *puVar13 | uVar15;\n      if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }\n      *puVar13 = uVar4;\n    }\n    goto LAB_00165c8f;\n  }" { (if_statement "if ((uint)lVar20 != local_60) {\n      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar4 = *puVar13 | uVar15;\n      if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }\n      *puVar13 = uVar4;\n    }" if (parenthesized_expression "((uint)lVar20 != local_60)" ( (binary_expression "(uint)lVar20 != local_60" (cast_expression "(uint)lVar20" ( (type_descriptor "uint" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar4 = *puVar13 | uVar15;\n      if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }\n      *puVar13 = uVar4;\n    }" { (expression_statement "uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "uVar15 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" identifier = (binary_expression "-1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &\n               0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (binary_expression "-1L << (__position.super__Bit_iterator_base._M_offset & 0x3f)" number_literal << (parenthesized_expression "(__position.super__Bit_iterator_base._M_offset & 0x3f)" ( (binary_expression "__position.super__Bit_iterator_base._M_offset & 0x3f" (field_expression "__position.super__Bit_iterator_base._M_offset" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier) & number_literal) ))) & (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) (expression_statement "uVar4 = *puVar13 | uVar15;" (assignment_expression "uVar4 = *puVar13 | uVar15" identifier = (binary_expression "*puVar13 | uVar15" (pointer_expression "*puVar13" * identifier) | identifier)) ;) (if_statement "if (!__x) {\n        uVar4 = ~uVar15 & *puVar13;\n      }" if (parenthesized_expression "(!__x)" ( (unary_expression "!__x" ! identifier) )) (compound_statement "{\n        uVar4 = ~uVar15 & *puVar13;\n      }" { (expression_statement "uVar4 = ~uVar15 & *puVar13;" (assignment_expression "uVar4 = ~uVar15 & *puVar13" identifier = (binary_expression "~uVar15 & *puVar13" (unary_expression "~uVar15" ~ identifier) & (pointer_expression "*puVar13" * identifier))) ;) })) (expression_statement "*puVar13 = uVar4;" (assignment_expression "*puVar13 = uVar4" (pointer_expression "*puVar13" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165c8f;" goto statement_identifier ;) })) (if_statement "if (local_60 == 0) {\n    sVar7 = (long)puVar13 - (long)puVar10;\n    local_88 = puVar10;\n    if (__x) goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = puVar10 + 1;\n    uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);\n    sVar7 = (long)puVar13 - (long)local_88;\n    if (!__x) {\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }\n    *puVar10 = uVar4 | *puVar10;\nLAB_00165c30:\n    memset(local_88,-1,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" if (parenthesized_expression "(local_60 == 0)" ( (binary_expression "local_60 == 0" identifier == number_literal) )) (compound_statement "{\n    sVar7 = (long)puVar13 - (long)puVar10;\n    local_88 = puVar10;\n    if (__x) goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }" { (expression_statement "sVar7 = (long)puVar13 - (long)puVar10;" (assignment_expression "sVar7 = (long)puVar13 - (long)puVar10" identifier = (binary_expression "(long)puVar13 - (long)puVar10" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar10" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_88 = puVar10;" (assignment_expression "local_88 = puVar10" identifier = identifier) ;) (if_statement "if (__x) goto LAB_00165c30;" if (parenthesized_expression "(__x)" ( identifier )) (goto_statement "goto LAB_00165c30;" goto statement_identifier ;)) (labeled_statement "LAB_00165faf:\n    memset(local_88,0,sVar7);" statement_identifier : (expression_statement "memset(local_88,0,sVar7);" (call_expression "memset(local_88,0,sVar7)" identifier (argument_list "(local_88,0,sVar7)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar20 != 0) {\n      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" if (parenthesized_expression "(lVar20 != 0)" ( (binary_expression "lVar20 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" { (expression_statement "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    local_88 = puVar10 + 1;\n    uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);\n    sVar7 = (long)puVar13 - (long)local_88;\n    if (!__x) {\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }\n    *puVar10 = uVar4 | *puVar10;\nLAB_00165c30:\n    memset(local_88,-1,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" else (compound_statement "{\n    local_88 = puVar10 + 1;\n    uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);\n    sVar7 = (long)puVar13 - (long)local_88;\n    if (!__x) {\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }\n    *puVar10 = uVar4 | *puVar10;\nLAB_00165c30:\n    memset(local_88,-1,sVar7);\n    if (lVar20 != 0) {\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" { (expression_statement "local_88 = puVar10 + 1;" (assignment_expression "local_88 = puVar10 + 1" identifier = (binary_expression "puVar10 + 1" identifier + number_literal)) ;) (expression_statement "uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);" (assignment_expression "uVar4 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f)" identifier = (binary_expression "-1L << (__position.super__Bit_iterator_base._M_offset & 0x3f)" number_literal << (parenthesized_expression "(__position.super__Bit_iterator_base._M_offset & 0x3f)" ( (binary_expression "__position.super__Bit_iterator_base._M_offset & 0x3f" (field_expression "__position.super__Bit_iterator_base._M_offset" (field_expression "__position.super__Bit_iterator_base" identifier . field_identifier) . field_identifier) & number_literal) )))) ;) (expression_statement "sVar7 = (long)puVar13 - (long)local_88;" (assignment_expression "sVar7 = (long)puVar13 - (long)local_88" identifier = (binary_expression "(long)puVar13 - (long)local_88" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)local_88" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (!__x) {\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }" if (parenthesized_expression "(!__x)" ( (unary_expression "!__x" ! identifier) )) (compound_statement "{\n      *puVar10 = ~uVar4 & *puVar10;\n      goto LAB_00165faf;\n    }" { (expression_statement "*puVar10 = ~uVar4 & *puVar10;" (assignment_expression "*puVar10 = ~uVar4 & *puVar10" (pointer_expression "*puVar10" * identifier) = (binary_expression "~uVar4 & *puVar10" (unary_expression "~uVar4" ~ identifier) & (pointer_expression "*puVar10" * identifier))) ;) (goto_statement "goto LAB_00165faf;" goto statement_identifier ;) })) (expression_statement "*puVar10 = uVar4 | *puVar10;" (assignment_expression "*puVar10 = uVar4 | *puVar10" (pointer_expression "*puVar10" * identifier) = (binary_expression "uVar4 | *puVar10" identifier | (pointer_expression "*puVar10" * identifier))) ;) (labeled_statement "LAB_00165c30:\n    memset(local_88,-1,sVar7);" statement_identifier : (expression_statement "memset(local_88,-1,sVar7);" (call_expression "memset(local_88,-1,sVar7)" identifier (argument_list "(local_88,-1,sVar7)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar20 != 0) {\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" if (parenthesized_expression "(lVar20 != 0)" ( (binary_expression "lVar20 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" { (expression_statement "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }))) (expression_statement "lVar20 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base._M_offset + __n;" (assignment_expression "lVar20 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base._M_offset + __n" identifier = (binary_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base._M_offset + __n" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base._M_offset" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n           _M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) + identifier)) ;) (expression_statement "lVar14 = lVar20 + 0x3f;" (assignment_expression "lVar14 = lVar20 + 0x3f" identifier = (binary_expression "lVar20 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar20) {\n    lVar14 = lVar20;\n  }" if (parenthesized_expression "(-1 < lVar20)" ( (binary_expression "-1 < lVar20" number_literal < identifier) )) (compound_statement "{\n    lVar14 = lVar20;\n  }" { (expression_statement "lVar14 = lVar20;" (assignment_expression "lVar14 = lVar20" identifier = identifier) ;) })) (expression_statement "local_78 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base._M_p + (lVar14 >> 6);" (assignment_expression "local_78 = (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base._M_p + (lVar14 >> 6)" identifier = (binary_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base._M_p + (lVar14 >> 6)" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish.super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data.\n             _M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) + (parenthesized_expression "(lVar14 >> 6)" ( (binary_expression "lVar14 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar2 = lVar20 % 0x40;" (assignment_expression "uVar2 = lVar20 % 0x40" identifier = (binary_expression "lVar20 % 0x40" identifier % number_literal)) ;) (labeled_statement "LAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1;\n  }\n  else {\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;\n  }" statement_identifier : (if_statement "if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1;\n  }\n  else {\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar2 = uVar2 + 0x40;\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1;\n  }" { (expression_statement "uVar2 = uVar2 + 0x40;" (assignment_expression "uVar2 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78 + -1" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = (binary_expression "local_78 + -1" identifier + number_literal)) ;) }) (else_clause "else {\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;\n  }" else (compound_statement "{\n    (this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;\n  }" { (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p = local_78" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base._M_p" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n    super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = identifier) ;) })))) (expression_statement "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n  super__Bit_iterator_base._M_offset = (uint)uVar2;" (assignment_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n  super__Bit_iterator_base._M_offset = (uint)uVar2" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n  super__Bit_iterator_base._M_offset" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish.\n  super__Bit_iterator_base" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data._M_finish" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl.super__Bvector_impl_data" (field_expression "(this->super__Bvector_base<std::allocator<bool>_>)._M_impl" (parenthesized_expression "(this->super__Bvector_base<std::allocator<bool>_>)" ( (binary_expression "this->super__Bvector_base<std::allocator<bool>_>" (binary_expression "this->super__Bvector_base<std::allocator<bool>_" (binary_expression "this->super__Bvector_base<std::allocator<bool" (binary_expression "this->super__Bvector_base<std" (field_expression "this->super__Bvector_base" identifier -> field_identifier) < identifier) (ERROR "::allocator" : : identifier) < identifier) > identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier) . field_identifier) = (cast_expression "(uint)uVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (return_statement "return;" return ;) (ERROR "}" }))
(translation_unit "void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)\n\n{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}\n\n" (function_definition "void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)\n\n{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" identifier (parameter_list "(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "ulong *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "uint param_3" type_identifier identifier) , (parameter_declaration "ulong param_4" type_identifier identifier) , (parameter_declaration "char param_5" primitive_type identifier) ))) (compound_statement "{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "void *__dest;" primitive_type (pointer_declarator "*__dest" * identifier) ;) (declaration "ulong uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (declaration "ulong uVar5;" type_identifier identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "ulong *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "ulong *puVar9;" type_identifier (pointer_declarator "*puVar9" * identifier) ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong uVar11;" type_identifier identifier ;) (declaration "ulong uVar12;" type_identifier identifier ;) (declaration "ulong *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong *local_88;" type_identifier (pointer_declarator "*local_88" * identifier) ;) (declaration "ulong *local_78;" type_identifier (pointer_declarator "*local_78" * identifier) ;) (if_statement "if (param_4 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "puVar9 = (ulong *)param_1[2];" (assignment_expression "puVar9 = (ulong *)param_1[2]" identifier = (cast_expression "(ulong *)param_1[2]" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "uVar3 = (ulong)*(uint *)(param_1 + 3);" (assignment_expression "uVar3 = (ulong)*(uint *)(param_1 + 3)" identifier = (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;" (assignment_expression "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8" identifier = (binary_expression "uVar3 + ((long)puVar9 - *param_1) * 8" identifier + (binary_expression "((long)puVar9 - *param_1) * 8" (parenthesized_expression "((long)puVar9 - *param_1)" ( (binary_expression "(long)puVar9 - *param_1" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (pointer_expression "*param_1" * identifier)) )) * number_literal))) ;) (expression_statement "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);" (assignment_expression "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1)" identifier = (binary_expression "lVar10 - (ulong)*(uint *)(param_1 + 1)" identifier - (binary_expression "(ulong)*(uint *)(param_1 + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 1)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))))) ;) (if_statement "if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" if (parenthesized_expression "((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4)" ( (binary_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4" (call_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((param_1[4] - *param_1) * 8 - lVar10)" ( (binary_expression "(param_1[4] - *param_1) * 8 - lVar10" (binary_expression "(param_1[4] - *param_1) * 8" (parenthesized_expression "(param_1[4] - *param_1)" ( (binary_expression "param_1[4] - *param_1" (subscript_expression "param_1[4]" identifier [ number_literal ]) - (pointer_expression "*param_1" * identifier)) )) * number_literal) - identifier) ))) < identifier) )) (compound_statement "{\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" { (if_statement "if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" if (parenthesized_expression "(0x7fffffffffffffc0 - uVar11 < param_4)" ( (binary_expression "0x7fffffffffffffc0 - uVar11 < param_4" (binary_expression "0x7fffffffffffffc0 - uVar11" number_literal - identifier) < identifier) )) (compound_statement "{\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" { (expression_statement "FUN_003195a0("vector<bool>::_M_fill_insert");" (call_expression "FUN_003195a0("vector<bool>::_M_fill_insert")" identifier (argument_list "("vector<bool>::_M_fill_insert")" ( (string_literal ""vector<bool>::_M_fill_insert"" " string_content ") ))) ;) })) (expression_statement "uVar3 = param_4;" (assignment_expression "uVar3 = param_4" identifier = identifier) ;) (if_statement "if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }" if (parenthesized_expression "(param_4 < uVar11)" ( (binary_expression "param_4 < uVar11" identifier < identifier) )) (compound_statement "{\n      uVar3 = uVar11;\n    }" { (expression_statement "uVar3 = uVar11;" (assignment_expression "uVar3 = uVar11" identifier = identifier) ;) })) (if_statement "if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" if (parenthesized_expression "((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3)))" ( (binary_expression "(0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))" (parenthesized_expression "(0x7fffffffffffffc0 < uVar11 + uVar3)" ( (binary_expression "0x7fffffffffffffc0 < uVar11 + uVar3" number_literal < (binary_expression "uVar11 + uVar3" identifier + identifier)) )) || (parenthesized_expression "(CARRY8(uVar11,uVar3))" ( (call_expression "CARRY8(uVar11,uVar3)" identifier (argument_list "(uVar11,uVar3)" ( identifier , identifier ))) ))) )) (compound_statement "{\n      local_78 = (ulong *)0xffffffffffffff8;\n    }" { (expression_statement "local_78 = (ulong *)0xffffffffffffff8;" (assignment_expression "local_78 = (ulong *)0xffffffffffffff8" identifier = (cast_expression "(ulong *)0xffffffffffffff8" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" else (compound_statement "{\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" { (expression_statement "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);" (assignment_expression "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" identifier = (cast_expression "(ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uVar11 + uVar3 + 0x3f >> 6) * 8)" ( (binary_expression "(uVar11 + uVar3 + 0x3f >> 6) * 8" (parenthesized_expression "(uVar11 + uVar3 + 0x3f >> 6)" ( (binary_expression "uVar11 + uVar3 + 0x3f >> 6" (binary_expression "uVar11 + uVar3 + 0x3f" (binary_expression "uVar11 + uVar3" identifier + identifier) + number_literal) >> number_literal) )) * number_literal) )))) ;) }))) (expression_statement "__dest = (void *)FUN_002d94a0(local_78);" (assignment_expression "__dest = (void *)FUN_002d94a0(local_78)" identifier = (cast_expression "(void *)FUN_002d94a0(local_78)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002d94a0(local_78)" identifier (argument_list "(local_78)" ( identifier ))))) ;) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" identifier = (cast_expression "(ulong *)*param_1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" if (parenthesized_expression "(puVar9 != param_2)" ( (binary_expression "puVar9 != param_2" identifier != identifier) )) (compound_statement "{\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" { (expression_statement "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);" (assignment_expression "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" identifier = (call_expression "memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" identifier (argument_list "(__dest,puVar9,(long)param_2 - (long)puVar9)" ( identifier , identifier , (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) ;) })) (expression_statement "uVar3 = (ulong)param_3;" (assignment_expression "uVar3 = (ulong)param_3" identifier = (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));" (assignment_expression "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" identifier = (cast_expression "(ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__dest + ((long)param_2 - (long)puVar9))" ( (binary_expression "(long)__dest + ((long)param_2 - (long)puVar9)" (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (parenthesized_expression "((long)param_2 - (long)puVar9)" ( (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) )))) ;) (if_statement "if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" if (parenthesized_expression "(uVar3 == 0)" ( (binary_expression "uVar3 == 0" identifier == number_literal) )) (compound_statement "{\n      uVar11 = 0;\n      uVar7 = 0;\n    }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" else (compound_statement "{\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar3;" (assignment_expression "uVar11 = uVar3" identifier = identifier) ;) (expression_statement "puVar13 = param_2;" (assignment_expression "puVar13 = param_2" identifier = identifier) ;) (do_statement "do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);" do (compound_statement "{\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      }" { (while_statement "while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" { (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar2 = ~uVar12 & *puVar8;" (assignment_expression "uVar2 = ~uVar12 & *puVar8" identifier = (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }" if (parenthesized_expression "((*puVar13 & uVar12) != 0)" ( (binary_expression "(*puVar13 & uVar12) != 0" (parenthesized_expression "(*puVar13 & uVar12)" ( (binary_expression "*puVar13 & uVar12" (pointer_expression "*puVar13" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n            uVar2 = uVar12 | *puVar8;\n          }" { (expression_statement "uVar2 = uVar12 | *puVar8;" (assignment_expression "uVar2 = uVar12 | *puVar8" identifier = (binary_expression "uVar12 | *puVar8" identifier | (pointer_expression "*puVar8" * identifier))) ;) })) (expression_statement "*puVar8 = uVar2;" (assignment_expression "*puVar8 = uVar2" (pointer_expression "*puVar8" * identifier) = identifier) ;) (if_statement "if (uVar7 != 0x3f) break;" if (parenthesized_expression "(uVar7 != 0x3f)" ( (binary_expression "uVar7 != 0x3f" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) (if_statement "if (uVar11 == 0) goto LAB_00165da0;" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165da0;" goto statement_identifier ;)) })) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" identifier = (binary_expression "uVar11 - 1" identifier - number_literal)) ;) }) while (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) ;) (labeled_statement "LAB_00165da0:\n      uVar11 = (ulong)uVar7;" statement_identifier : (expression_statement "uVar11 = (ulong)uVar7;" (assignment_expression "uVar11 = (ulong)uVar7" identifier = (cast_expression "(ulong)uVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;)) }))) (expression_statement "lVar16 = uVar11 + param_4;" (assignment_expression "lVar16 = uVar11 + param_4" identifier = (binary_expression "uVar11 + param_4" identifier + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n      lVar10 = lVar16;\n    }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "puVar13 = puVar8 + (lVar10 >> 6);" (assignment_expression "puVar13 = puVar8 + (lVar10 >> 6)" identifier = (binary_expression "puVar8 + (lVar10 >> 6)" identifier + (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar11 = lVar16 % 0x40;" (assignment_expression "uVar11 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (if_statement "if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" if (parenthesized_expression "((long)uVar11 < 0)" ( (binary_expression "(long)uVar11 < 0" (cast_expression "(long)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" { (expression_statement "uVar11 = uVar11 + 0x40;" (assignment_expression "uVar11 = uVar11 + 0x40" identifier = (binary_expression "uVar11 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" identifier = (binary_expression "puVar13 + -1" identifier + number_literal)) ;) })) (expression_statement "uVar14 = (uint)uVar11;" (assignment_expression "uVar14 = (uint)uVar11" identifier = (cast_expression "(uint)uVar11" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar2 = uVar11 & 0xffffffff;" (assignment_expression "uVar2 = uVar11 & 0xffffffff" identifier = (binary_expression "uVar11 & 0xffffffff" identifier & number_literal)) ;) (expression_statement "cVar1 = (char)uVar11;" (assignment_expression "cVar1 = (char)uVar11" identifier = (cast_expression "(char)uVar11" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" if (parenthesized_expression "(puVar13 == puVar8)" ( (binary_expression "puVar13 == puVar8" identifier == identifier) )) (compound_statement "{\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" { (if_statement "if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" if (parenthesized_expression "(uVar14 != uVar7)" ( (binary_expression "uVar14 != uVar7" identifier != identifier) )) (compound_statement "{\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" { (expression_statement "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) & (binary_expression "-1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))))) ;) (expression_statement "uVar11 = uVar12 | *puVar13;" (assignment_expression "uVar11 = uVar12 | *puVar13" identifier = (binary_expression "uVar12 | *puVar13" identifier | (pointer_expression "*puVar13" * identifier))) ;) (if_statement "if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar11 = ~uVar12 & *puVar13;\n        }" { (expression_statement "uVar11 = ~uVar12 & *puVar13;" (assignment_expression "uVar11 = ~uVar12 & *puVar13" identifier = (binary_expression "~uVar12 & *puVar13" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar13" * identifier))) ;) })) (expression_statement "*puVar13 = uVar11;" (assignment_expression "*puVar13 = uVar11" (pointer_expression "*puVar13" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165e60;" goto statement_identifier ;) })) (if_statement "if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" if (parenthesized_expression "(uVar7 == 0)" ( (binary_expression "uVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }" { (expression_statement "sVar6 = (long)puVar13 - (long)puVar8;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar8" identifier = (binary_expression "(long)puVar13 - (long)puVar8" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 == '\0') goto LAB_00166049;" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00166049;" goto statement_identifier ;)) (labeled_statement "LAB_00165e1b:\n      memset(puVar8,-1,sVar6);" statement_identifier : (expression_statement "memset(puVar8,-1,sVar6);" (call_expression "memset(puVar8,-1,sVar6)" identifier (argument_list "(puVar8,-1,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" { (expression_statement "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }) (else_clause "else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" else (compound_statement "{\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" { (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) (expression_statement "uVar12 = -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = -1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "-1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "sVar6 = (long)puVar13 - (long)puVar9;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar9" identifier = (binary_expression "(long)puVar13 - (long)puVar9" (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" if (parenthesized_expression "(param_5 != '\0')" ( (binary_expression "param_5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" { (expression_statement "*puVar8 = uVar12 | *puVar8;" (assignment_expression "*puVar8 = uVar12 | *puVar8" (pointer_expression "*puVar8" * identifier) = (binary_expression "uVar12 | *puVar8" identifier | (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (goto_statement "goto LAB_00165e1b;" goto statement_identifier ;) })) (expression_statement "*puVar8 = ~uVar12 & *puVar8;" (assignment_expression "*puVar8 = ~uVar12 & *puVar8" (pointer_expression "*puVar8" * identifier) = (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" identifier = identifier) ;) (labeled_statement "LAB_00166049:\n      memset(puVar8,0,sVar6);" statement_identifier : (expression_statement "memset(puVar8,0,sVar6);" (call_expression "memset(puVar8,0,sVar6)" identifier (argument_list "(puVar8,0,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" { (expression_statement "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) = (binary_expression "*puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }))) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" identifier = (cast_expression "(ulong *)*param_1" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (labeled_statement "LAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" statement_identifier : (expression_statement "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" (assignment_expression "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" identifier = (binary_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" (parenthesized_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8)" ( (binary_expression "(ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8" (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) + (binary_expression "(param_1[2] - (long)param_2) * 8" (parenthesized_expression "(param_1[2] - (long)param_2)" ( (binary_expression "param_1[2] - (long)param_2" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - identifier)) ;)) (if_statement "if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" if (parenthesized_expression "(0 < lVar10)" ( (binary_expression "0 < lVar10" number_literal < identifier) )) (compound_statement "{\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" { (do_statement "do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);" do (compound_statement "{\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      }" { (while_statement "while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" { (expression_statement "iVar15 = (int)uVar2;" (assignment_expression "iVar15 = (int)uVar2" identifier = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "uVar11 = 1L << ((byte)uVar2 & 0x3f);" (assignment_expression "uVar11 = 1L << ((byte)uVar2 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar2 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar2 & 0x3f)" ( (binary_expression "(byte)uVar2 & 0x3f" (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar3 = ~uVar11 & *puVar13;" (assignment_expression "uVar3 = ~uVar11 & *puVar13" identifier = (binary_expression "~uVar11 & *puVar13" (unary_expression "~uVar11" ~ identifier) & (pointer_expression "*puVar13" * identifier))) ;) (if_statement "if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }" if (parenthesized_expression "((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0)" ( (binary_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0" (parenthesized_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f))" ( (binary_expression "*param_2 & 1L << ((byte)param_3 & 0x3f)" (pointer_expression "*param_2" * identifier) & (binary_expression "1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) )) != number_literal) )) (compound_statement "{\n            uVar3 = uVar11 | *puVar13;\n          }" { (expression_statement "uVar3 = uVar11 | *puVar13;" (assignment_expression "uVar3 = uVar11 | *puVar13" identifier = (binary_expression "uVar11 | *puVar13" identifier | (pointer_expression "*puVar13" * identifier))) ;) })) (expression_statement "*puVar13 = uVar3;" (assignment_expression "*puVar13 = uVar3" (pointer_expression "*puVar13" * identifier) = identifier) ;) (if_statement "if (param_3 == 0x3f) break;" if (parenthesized_expression "(param_3 == 0x3f)" ( (binary_expression "param_3 == 0x3f" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" identifier = (binary_expression "param_3 + 1" identifier + number_literal)) ;) (if_statement "if (iVar15 != 0x3f) goto LAB_00165e92;" if (parenthesized_expression "(iVar15 != 0x3f)" ( (binary_expression "iVar15 != 0x3f" identifier != number_literal) )) (goto_statement "goto LAB_00165e92;" goto statement_identifier ;)) (labeled_statement "LAB_00165eda:\n          puVar13 = puVar13 + 1;" statement_identifier : (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" identifier = (binary_expression "puVar13 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) (if_statement "if (lVar10 == 0) goto LAB_00165ee7;" if (parenthesized_expression "(lVar10 == 0)" ( (binary_expression "lVar10 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165ee7;" goto statement_identifier ;)) })) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" identifier = number_literal) ;) (if_statement "if (iVar15 == 0x3f) goto LAB_00165eda;" if (parenthesized_expression "(iVar15 == 0x3f)" ( (binary_expression "iVar15 == 0x3f" identifier == number_literal) )) (goto_statement "goto LAB_00165eda;" goto statement_identifier ;)) (labeled_statement "LAB_00165e92:\n        uVar14 = iVar15 + 1;" statement_identifier : (expression_statement "uVar14 = iVar15 + 1;" (assignment_expression "uVar14 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;)) (expression_statement "uVar2 = (ulong)uVar14;" (assignment_expression "uVar2 = (ulong)uVar14" identifier = (cast_expression "(ulong)uVar14" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) ;) })) (labeled_statement "LAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" statement_identifier : (if_statement "if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" if (parenthesized_expression "(puVar9 != (ulong *)0x0)" ( (binary_expression "puVar9 != (ulong *)0x0" identifier != (cast_expression "(ulong *)0x0" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_002dac70(puVar9);\n    }" { (expression_statement "FUN_002dac70(puVar9);" (call_expression "FUN_002dac70(puVar9)" identifier (argument_list "(puVar9)" ( identifier ))) ;) }))) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" * identifier) = (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = (long)puVar13;" (assignment_expression "param_1[2] = (long)puVar13" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)puVar13" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "param_1[4] = (long)local_78 + (long)__dest;" (assignment_expression "param_1[4] = (long)local_78 + (long)__dest" (subscript_expression "param_1[4]" identifier [ number_literal ]) = (binary_expression "(long)local_78 + (long)__dest" (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (cast_expression "(long)__dest" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "*(uint *)(param_1 + 3) = uVar14;" (assignment_expression "*(uint *)(param_1 + 3) = uVar14" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "lVar10 = param_4 + uVar3;" (assignment_expression "lVar10 = param_4 + uVar3" identifier = (binary_expression "param_4 + uVar3" identifier + identifier)) ;) (expression_statement "lVar16 = lVar10 + 0x3f;" (assignment_expression "lVar16 = lVar10 + 0x3f" identifier = (binary_expression "lVar10 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }" if (parenthesized_expression "(-1 < lVar10)" ( (binary_expression "-1 < lVar10" number_literal < identifier) )) (compound_statement "{\n    lVar16 = lVar10;\n  }" { (expression_statement "lVar16 = lVar10;" (assignment_expression "lVar16 = lVar10" identifier = identifier) ;) })) (expression_statement "local_78 = puVar9 + (lVar16 >> 6);" (assignment_expression "local_78 = puVar9 + (lVar16 >> 6)" identifier = (binary_expression "puVar9 + (lVar16 >> 6)" identifier + (parenthesized_expression "(lVar16 >> 6)" ( (binary_expression "lVar16 >> 6" identifier >> number_literal) )))) ;) (expression_statement "uVar2 = lVar10 % 0x40;" (assignment_expression "uVar2 = lVar10 % 0x40" identifier = (binary_expression "lVar10 % 0x40" identifier % number_literal)) ;) (expression_statement "uVar11 = uVar2;" (assignment_expression "uVar11 = uVar2" identifier = identifier) ;) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" identifier = identifier) ;) (if_statement "if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" { (expression_statement "uVar11 = uVar2 + 0x40;" (assignment_expression "uVar11 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar8 = local_78 + -1;" (assignment_expression "puVar8 = local_78 + -1" identifier = (binary_expression "local_78 + -1" identifier + number_literal)) ;) })) (expression_statement "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;" (assignment_expression "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" identifier = (binary_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" (parenthesized_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8)" ( (binary_expression "uVar3 + ((long)puVar9 - (long)param_2) * 8" identifier + (binary_expression "((long)puVar9 - (long)param_2) * 8" (parenthesized_expression "((long)puVar9 - (long)param_2)" ( (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) * number_literal)) )) - (cast_expression "(ulong)param_3" ( (type_descriptor "ulong" type_identifier) ) identifier))) ;) (if_statement "if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" if (parenthesized_expression "(0 < lVar10)" ( (binary_expression "0 < lVar10" number_literal < identifier) )) (compound_statement "{\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" { (do_statement "do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);" do (compound_statement "{\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    }" { (expression_statement "iVar15 = (int)uVar11;" (assignment_expression "iVar15 = (int)uVar11" identifier = (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" if (parenthesized_expression "((int)uVar3 == 0)" ( (binary_expression "(int)uVar3 == 0" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (compound_statement "{\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }" { (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" identifier = (binary_expression "puVar9 + -1" identifier + number_literal)) ;) (expression_statement "uVar3 = 0x3f;" (assignment_expression "uVar3 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar12 = 0x8000000000000000;" (assignment_expression "uVar12 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar5 = 0x8000000000000000;" (assignment_expression "uVar5 = 0x8000000000000000" identifier = number_literal) ;) (if_statement "if (iVar15 == 0) goto LAB_00165bbd;" if (parenthesized_expression "(iVar15 == 0)" ( (binary_expression "iVar15 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00165bbd;" goto statement_identifier ;)) (labeled_statement "LAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);" statement_identifier : (expression_statement "uVar11 = (ulong)(iVar15 - 1U);" (assignment_expression "uVar11 = (ulong)(iVar15 - 1U)" identifier = (call_expression "(ulong)(iVar15 - 1U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(iVar15 - 1U)" ( (binary_expression "iVar15 - 1U" identifier - number_literal) )))) ;)) (expression_statement "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);" (assignment_expression "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f)" identifier = (binary_expression "1L << ((byte)(iVar15 - 1U) & 0x3f)" number_literal << (parenthesized_expression "((byte)(iVar15 - 1U) & 0x3f)" ( (binary_expression "(byte)(iVar15 - 1U) & 0x3f" (call_expression "(byte)(iVar15 - 1U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(iVar15 - 1U)" ( (binary_expression "iVar15 - 1U" identifier - number_literal) ))) & number_literal) )))) ;) }) (else_clause "else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" else (compound_statement "{\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" { (expression_statement "uVar7 = (int)uVar3 - 1;" (assignment_expression "uVar7 = (int)uVar3 - 1" identifier = (binary_expression "(int)uVar3 - 1" (cast_expression "(int)uVar3" ( (type_descriptor "int" primitive_type) ) identifier) - number_literal)) ;) (expression_statement "uVar3 = (ulong)uVar7;" (assignment_expression "uVar3 = (ulong)uVar7" identifier = (cast_expression "(ulong)uVar7" ( (type_descriptor "ulong" type_identifier) ) identifier)) ;) (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" identifier = (binary_expression "1L << ((byte)uVar7 & 0x3f)" number_literal << (parenthesized_expression "((byte)uVar7 & 0x3f)" ( (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "uVar5 = uVar12;" (assignment_expression "uVar5 = uVar12" identifier = identifier) ;) (if_statement "if (iVar15 != 0) goto LAB_00165b7f;" if (parenthesized_expression "(iVar15 != 0)" ( (binary_expression "iVar15 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00165b7f;" goto statement_identifier ;)) (labeled_statement "LAB_00165bbd:\n        puVar8 = puVar8 + -1;" statement_identifier : (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" identifier = (binary_expression "puVar8 + -1" identifier + number_literal)) ;)) (expression_statement "uVar11 = 0x3f;" (assignment_expression "uVar11 = 0x3f" identifier = number_literal) ;) (expression_statement "uVar4 = 0x8000000000000000;" (assignment_expression "uVar4 = 0x8000000000000000" identifier = number_literal) ;) (expression_statement "uVar12 = uVar5;" (assignment_expression "uVar12 = uVar5" identifier = identifier) ;) }))) (expression_statement "uVar5 = ~uVar4 & *puVar8;" (assignment_expression "uVar5 = ~uVar4 & *puVar8" identifier = (binary_expression "~uVar4 & *puVar8" (unary_expression "~uVar4" ~ identifier) & (pointer_expression "*puVar8" * identifier))) ;) (if_statement "if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }" if (parenthesized_expression "((*puVar9 & uVar12) != 0)" ( (binary_expression "(*puVar9 & uVar12) != 0" (parenthesized_expression "(*puVar9 & uVar12)" ( (binary_expression "*puVar9 & uVar12" (pointer_expression "*puVar9" * identifier) & identifier) )) != number_literal) )) (compound_statement "{\n        uVar5 = *puVar8 | uVar4;\n      }" { (expression_statement "uVar5 = *puVar8 | uVar4;" (assignment_expression "uVar5 = *puVar8 | uVar4" identifier = (binary_expression "*puVar8 | uVar4" (pointer_expression "*puVar8" * identifier) | identifier)) ;) })) (expression_statement "*puVar8 = uVar5;" (assignment_expression "*puVar8 = uVar5" (pointer_expression "*puVar8" * identifier) = identifier) ;) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" identifier = (binary_expression "lVar10 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) ;) })) (expression_statement "lVar16 = param_3 + param_4;" (assignment_expression "lVar16 = param_3 + param_4" identifier = (binary_expression "param_3 + param_4" identifier + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n    lVar10 = lVar16;\n  }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "puVar9 = param_2 + (lVar10 >> 6);" (assignment_expression "puVar9 = param_2 + (lVar10 >> 6)" identifier = (binary_expression "param_2 + (lVar10 >> 6)" identifier + (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )))) ;) (expression_statement "lVar16 = lVar16 % 0x40;" (assignment_expression "lVar16 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (if_statement "if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" if (parenthesized_expression "(lVar16 < 0)" ( (binary_expression "lVar16 < 0" identifier < number_literal) )) (compound_statement "{\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" { (expression_statement "lVar16 = lVar16 + 0x40;" (assignment_expression "lVar16 = lVar16 + 0x40" identifier = (binary_expression "lVar16 + 0x40" identifier + number_literal)) ;) (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" identifier = (binary_expression "puVar9 + -1" identifier + number_literal)) ;) })) (expression_statement "cVar1 = (char)lVar16;" (assignment_expression "cVar1 = (char)lVar16" identifier = (cast_expression "(char)lVar16" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (if_statement "if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" if (parenthesized_expression "(puVar9 == param_2)" ( (binary_expression "puVar9 == param_2" identifier == identifier) )) (compound_statement "{\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" { (if_statement "if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" if (parenthesized_expression "((uint)lVar16 != param_3)" ( (binary_expression "(uint)lVar16 != param_3" (cast_expression "(uint)lVar16" ( (type_descriptor "uint" type_identifier) ) identifier) != identifier) )) (compound_statement "{\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" { (expression_statement "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" identifier = (binary_expression "-1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (binary_expression "-1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) ))) & (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) (expression_statement "uVar3 = *puVar9 | uVar11;" (assignment_expression "uVar3 = *puVar9 | uVar11" identifier = (binary_expression "*puVar9 | uVar11" (pointer_expression "*puVar9" * identifier) | identifier)) ;) (if_statement "if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar3 = ~uVar11 & *puVar9;\n      }" { (expression_statement "uVar3 = ~uVar11 & *puVar9;" (assignment_expression "uVar3 = ~uVar11 & *puVar9" identifier = (binary_expression "~uVar11 & *puVar9" (unary_expression "~uVar11" ~ identifier) & (pointer_expression "*puVar9" * identifier))) ;) })) (expression_statement "*puVar9 = uVar3;" (assignment_expression "*puVar9 = uVar3" (pointer_expression "*puVar9" * identifier) = identifier) ;) })) (goto_statement "goto LAB_00165c8f;" goto statement_identifier ;) })) (if_statement "if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }" { (expression_statement "sVar6 = (long)puVar9 - (long)param_2;" (assignment_expression "sVar6 = (long)puVar9 - (long)param_2" identifier = (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_88 = param_2;" (assignment_expression "local_88 = param_2" identifier = identifier) ;) (if_statement "if (param_5 != '\0') goto LAB_00165c30;" if (parenthesized_expression "(param_5 != '\0')" ( (binary_expression "param_5 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00165c30;" goto statement_identifier ;)) (labeled_statement "LAB_00165faf:\n    memset(local_88,0,sVar6);" statement_identifier : (expression_statement "memset(local_88,0,sVar6);" (call_expression "memset(local_88,0,sVar6)" identifier (argument_list "(local_88,0,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" { (expression_statement "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" * identifier) = (binary_expression "*puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" * identifier) & (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ~ (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" ( (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))) ))))) ;) })) }) (else_clause "else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" else (compound_statement "{\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" { (expression_statement "local_88 = param_2 + 1;" (assignment_expression "local_88 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "uVar3 = -1L << ((byte)param_3 & 0x3f);" (assignment_expression "uVar3 = -1L << ((byte)param_3 & 0x3f)" identifier = (binary_expression "-1L << ((byte)param_3 & 0x3f)" number_literal << (parenthesized_expression "((byte)param_3 & 0x3f)" ( (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )))) ;) (expression_statement "sVar6 = (long)puVar9 - (long)local_88;" (assignment_expression "sVar6 = (long)puVar9 - (long)local_88" identifier = (binary_expression "(long)puVar9 - (long)local_88" (cast_expression "(long)puVar9" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)local_88" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" if (parenthesized_expression "(param_5 == '\0')" ( (binary_expression "param_5 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" { (expression_statement "*param_2 = ~uVar3 & *param_2;" (assignment_expression "*param_2 = ~uVar3 & *param_2" (pointer_expression "*param_2" * identifier) = (binary_expression "~uVar3 & *param_2" (unary_expression "~uVar3" ~ identifier) & (pointer_expression "*param_2" * identifier))) ;) (goto_statement "goto LAB_00165faf;" goto statement_identifier ;) })) (expression_statement "*param_2 = uVar3 | *param_2;" (assignment_expression "*param_2 = uVar3 | *param_2" (pointer_expression "*param_2" * identifier) = (binary_expression "uVar3 | *param_2" identifier | (pointer_expression "*param_2" * identifier))) ;) (labeled_statement "LAB_00165c30:\n    memset(local_88,-1,sVar6);" statement_identifier : (expression_statement "memset(local_88,-1,sVar6);" (call_expression "memset(local_88,-1,sVar6)" identifier (argument_list "(local_88,-1,sVar6)" ( identifier , number_literal , identifier ))) ;)) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" if (parenthesized_expression "(lVar16 != 0)" ( (binary_expression "lVar16 != 0" identifier != number_literal) )) (compound_statement "{\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" { (expression_statement "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" * identifier) = (binary_expression "*puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" * identifier) | (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" number_literal >> (parenthesized_expression "(0x40U - cVar1 & 0x3f)" ( (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" number_literal - identifier) & number_literal) ))))) ;) })) }))) (expression_statement "lVar16 = *(uint *)(param_1 + 3) + param_4;" (assignment_expression "lVar16 = *(uint *)(param_1 + 3) + param_4" identifier = (binary_expression "*(uint *)(param_1 + 3) + param_4" (pointer_expression "*(uint *)(param_1 + 3)" * (cast_expression "(uint *)(param_1 + 3)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) + identifier)) ;) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" identifier = (binary_expression "lVar16 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" if (parenthesized_expression "(-1 < lVar16)" ( (binary_expression "-1 < lVar16" number_literal < identifier) )) (compound_statement "{\n    lVar10 = lVar16;\n  }" { (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" identifier = identifier) ;) })) (expression_statement "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);" (assignment_expression "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8)" identifier = (cast_expression "(ulong *)(param_1[2] + (lVar10 >> 6) * 8)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[2] + (lVar10 >> 6) * 8)" ( (binary_expression "param_1[2] + (lVar10 >> 6) * 8" (subscript_expression "param_1[2]" identifier [ number_literal ]) + (binary_expression "(lVar10 >> 6) * 8" (parenthesized_expression "(lVar10 >> 6)" ( (binary_expression "lVar10 >> 6" identifier >> number_literal) )) * number_literal)) )))) ;) (expression_statement "uVar2 = lVar16 % 0x40;" (assignment_expression "uVar2 = lVar16 % 0x40" identifier = (binary_expression "lVar16 % 0x40" identifier % number_literal)) ;) (labeled_statement "LAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" statement_identifier : (if_statement "if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" if (parenthesized_expression "((long)uVar2 < 0)" ( (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }" { (expression_statement "uVar2 = uVar2 + 0x40;" (assignment_expression "uVar2 = uVar2 + 0x40" identifier = (binary_expression "uVar2 + 0x40" identifier + number_literal)) ;) (expression_statement "param_1[2] = (long)(local_78 + -1);" (assignment_expression "param_1[2] = (long)(local_78 + -1)" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)(local_78 + -1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(local_78 + -1)" ( (binary_expression "local_78 + -1" identifier + number_literal) )))) ;) }) (else_clause "else {\n    param_1[2] = (long)local_78;\n  }" else (compound_statement "{\n    param_1[2] = (long)local_78;\n  }" { (expression_statement "param_1[2] = (long)local_78;" (assignment_expression "param_1[2] = (long)local_78" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (cast_expression "(long)local_78" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) })))) (expression_statement "*(int *)(param_1 + 3) = (int)uVar2;" (assignment_expression "*(int *)(param_1 + 3) = (int)uVar2" (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = (cast_expression "(int)uVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (pointer_expression * IDENT)) )) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_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 (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) - (pointer_expression * IDENT)) )) * LIT) - IDENT) ))) < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + IDENT)) )) || (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT , IDENT ))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) >> LIT) )) * LIT) )))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & IDENT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))) & (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT | (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & (unary_expression ~ (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))) ))))) ;) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) * LIT)) )) - IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto 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) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_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 != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) * LIT)) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) & LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & IDENT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) | IDENT)) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) ))) & (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) | IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & (unary_expression ~ (parenthesized_expression ( (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))) ))))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (unary_expression ~ IDENT) & (pointer_expression * IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT | (pointer_expression * IDENT))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression LIT - IDENT) & LIT) ))))) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (parenthesized_expression ( (binary_expression IDENT >> LIT) )) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) })))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)\n\n{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00165a80(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" (identifier "FUN_00165a80") (parameter_list "(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "ulong *param_2" (type_identifier "ulong") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "uint param_3" (type_identifier "uint") (identifier "param_3")) (, ",") (parameter_declaration "ulong param_4" (type_identifier "ulong") (identifier "param_4")) (, ",") (parameter_declaration "char param_5" (primitive_type "char") (identifier "param_5")) () ")"))) (compound_statement "{\n  char cVar1;\n  ulong uVar2;\n  void *__dest;\n  ulong uVar3;\n  ulong uVar4;\n  ulong uVar5;\n  size_t sVar6;\n  uint uVar7;\n  ulong *puVar8;\n  ulong *puVar9;\n  long lVar10;\n  ulong uVar11;\n  ulong uVar12;\n  ulong *puVar13;\n  uint uVar14;\n  int iVar15;\n  long lVar16;\n  ulong *local_88;\n  ulong *local_78;\n  \n  if (param_4 == 0) {\n    return;\n  }\n  puVar9 = (ulong *)param_1[2];\n  uVar3 = (ulong)*(uint *)(param_1 + 3);\n  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;\n  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);\n  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }\n  lVar10 = param_4 + uVar3;\n  lVar16 = lVar10 + 0x3f;\n  if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }\n  local_78 = puVar9 + (lVar16 >> 6);\n  uVar2 = lVar10 % 0x40;\n  uVar11 = uVar2;\n  puVar8 = local_78;\n  if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }\n  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;\n  if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }\n  lVar16 = param_3 + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  puVar9 = param_2 + (lVar10 >> 6);\n  lVar16 = lVar16 % 0x40;\n  if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }\n  cVar1 = (char)lVar16;\n  if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }\n  if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }\n  lVar16 = *(uint *)(param_1 + 3) + param_4;\n  lVar10 = lVar16 + 0x3f;\n  if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }\n  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);\n  uVar2 = lVar16 % 0x40;\nLAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }\n  *(int *)(param_1 + 3) = (int)uVar2;\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "void *__dest;" (primitive_type "void") (pointer_declarator "*__dest" (* "*") (identifier "__dest")) (; ";")) (declaration "ulong uVar3;" (type_identifier "ulong") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (declaration "ulong uVar5;" (type_identifier "ulong") (identifier "uVar5") (; ";")) (declaration "size_t sVar6;" (primitive_type "size_t") (identifier "sVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "ulong *puVar8;" (type_identifier "ulong") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "ulong *puVar9;" (type_identifier "ulong") (pointer_declarator "*puVar9" (* "*") (identifier "puVar9")) (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "ulong uVar11;" (type_identifier "ulong") (identifier "uVar11") (; ";")) (declaration "ulong uVar12;" (type_identifier "ulong") (identifier "uVar12") (; ";")) (declaration "ulong *puVar13;" (type_identifier "ulong") (pointer_declarator "*puVar13" (* "*") (identifier "puVar13")) (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "long lVar16;" (sized_type_specifier "long" (long "long")) (identifier "lVar16") (; ";")) (declaration "ulong *local_88;" (type_identifier "ulong") (pointer_declarator "*local_88" (* "*") (identifier "local_88")) (; ";")) (declaration "ulong *local_78;" (type_identifier "ulong") (pointer_declarator "*local_78" (* "*") (identifier "local_78")) (; ";")) (if_statement "if (param_4 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar9 = (ulong *)param_1[2];" (assignment_expression "puVar9 = (ulong *)param_1[2]" (identifier "puVar9") (= "=") (cast_expression "(ulong *)param_1[2]" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "uVar3 = (ulong)*(uint *)(param_1 + 3);" (assignment_expression "uVar3 = (ulong)*(uint *)(param_1 + 3)" (identifier "uVar3") (= "=") (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;" (assignment_expression "lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8" (identifier "lVar10") (= "=") (binary_expression "uVar3 + ((long)puVar9 - *param_1) * 8" (identifier "uVar3") (+ "+") (binary_expression "((long)puVar9 - *param_1) * 8" (parenthesized_expression "((long)puVar9 - *param_1)" (( "(") (binary_expression "(long)puVar9 - *param_1" (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9")) (- "-") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (* "*") (number_literal "8")))) (; ";")) (expression_statement "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);" (assignment_expression "uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1)" (identifier "uVar11") (= "=") (binary_expression "lVar10 - (ulong)*(uint *)(param_1 + 1)" (identifier "lVar10") (- "-") (binary_expression "(ulong)*(uint *)(param_1 + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 1)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))))) (; ";")) (if_statement "if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" (if "if") (parenthesized_expression "((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4)" (( "(") (binary_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4" (call_expression "(ulong)((param_1[4] - *param_1) * 8 - lVar10)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((param_1[4] - *param_1) * 8 - lVar10)" (( "(") (binary_expression "(param_1[4] - *param_1) * 8 - lVar10" (binary_expression "(param_1[4] - *param_1) * 8" (parenthesized_expression "(param_1[4] - *param_1)" (( "(") (binary_expression "param_1[4] - *param_1" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (- "-") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) () ")")) (* "*") (number_literal "8")) (- "-") (identifier "lVar10")) () ")"))) (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n    if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }\n    uVar3 = param_4;\n    if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }\n    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }\n    __dest = (void *)FUN_002d94a0(local_78);\n    puVar9 = (ulong *)*param_1;\n    if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }\n    uVar3 = (ulong)param_3;\n    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));\n    if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }\n    lVar16 = uVar11 + param_4;\n    lVar10 = lVar16 + 0x3f;\n    if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }\n    puVar13 = puVar8 + (lVar10 >> 6);\n    uVar11 = lVar16 % 0x40;\n    if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }\n    uVar14 = (uint)uVar11;\n    uVar2 = uVar11 & 0xffffffff;\n    cVar1 = (char)uVar11;\n    if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }\n    if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }\n    puVar9 = (ulong *)*param_1;\nLAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;\n    if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }\nLAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }\n    *param_1 = (long)__dest;\n    *(undefined4 *)(param_1 + 1) = 0;\n    param_1[2] = (long)puVar13;\n    param_1[4] = (long)local_78 + (long)__dest;\n    *(uint *)(param_1 + 3) = uVar14;\n    return;\n  }" ({ "{") (if_statement "if (0x7fffffffffffffc0 - uVar11 < param_4) {\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" (if "if") (parenthesized_expression "(0x7fffffffffffffc0 - uVar11 < param_4)" (( "(") (binary_expression "0x7fffffffffffffc0 - uVar11 < param_4" (binary_expression "0x7fffffffffffffc0 - uVar11" (number_literal "0x7fffffffffffffc0") (- "-") (identifier "uVar11")) (< "<") (identifier "param_4")) () ")")) (compound_statement "{\n                    \n      FUN_003195a0("vector<bool>::_M_fill_insert");\n    }" ({ "{") (expression_statement "FUN_003195a0("vector<bool>::_M_fill_insert");" (call_expression "FUN_003195a0("vector<bool>::_M_fill_insert")" (identifier "FUN_003195a0") (argument_list "("vector<bool>::_M_fill_insert")" (( "(") (string_literal ""vector<bool>::_M_fill_insert"" (" """) (string_content "vector<bool>::_M_fill_insert") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "uVar3 = param_4;" (assignment_expression "uVar3 = param_4" (identifier "uVar3") (= "=") (identifier "param_4")) (; ";")) (if_statement "if (param_4 < uVar11) {\n      uVar3 = uVar11;\n    }" (if "if") (parenthesized_expression "(param_4 < uVar11)" (( "(") (binary_expression "param_4 < uVar11" (identifier "param_4") (< "<") (identifier "uVar11")) () ")")) (compound_statement "{\n      uVar3 = uVar11;\n    }" ({ "{") (expression_statement "uVar3 = uVar11;" (assignment_expression "uVar3 = uVar11" (identifier "uVar3") (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (if_statement "if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {\n      local_78 = (ulong *)0xffffffffffffff8;\n    }\n    else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" (if "if") (parenthesized_expression "((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3)))" (( "(") (binary_expression "(0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))" (parenthesized_expression "(0x7fffffffffffffc0 < uVar11 + uVar3)" (( "(") (binary_expression "0x7fffffffffffffc0 < uVar11 + uVar3" (number_literal "0x7fffffffffffffc0") (< "<") (binary_expression "uVar11 + uVar3" (identifier "uVar11") (+ "+") (identifier "uVar3"))) () ")")) (|| "||") (parenthesized_expression "(CARRY8(uVar11,uVar3))" (( "(") (call_expression "CARRY8(uVar11,uVar3)" (identifier "CARRY8") (argument_list "(uVar11,uVar3)" (( "(") (identifier "uVar11") (, ",") (identifier "uVar3") () ")"))) () ")"))) () ")")) (compound_statement "{\n      local_78 = (ulong *)0xffffffffffffff8;\n    }" ({ "{") (expression_statement "local_78 = (ulong *)0xffffffffffffff8;" (assignment_expression "local_78 = (ulong *)0xffffffffffffff8" (identifier "local_78") (= "=") (cast_expression "(ulong *)0xffffffffffffff8" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffffffffffffff8"))) (; ";")) (} "}")) (else_clause "else {\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" (else "else") (compound_statement "{\n      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);\n    }" ({ "{") (expression_statement "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);" (assignment_expression "local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" (identifier "local_78") (= "=") (cast_expression "(ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uVar11 + uVar3 + 0x3f >> 6) * 8)" (( "(") (binary_expression "(uVar11 + uVar3 + 0x3f >> 6) * 8" (parenthesized_expression "(uVar11 + uVar3 + 0x3f >> 6)" (( "(") (binary_expression "uVar11 + uVar3 + 0x3f >> 6" (binary_expression "uVar11 + uVar3 + 0x3f" (binary_expression "uVar11 + uVar3" (identifier "uVar11") (+ "+") (identifier "uVar3")) (+ "+") (number_literal "0x3f")) (>> ">>") (number_literal "6")) () ")")) (* "*") (number_literal "8")) () ")")))) (; ";")) (} "}")))) (expression_statement "__dest = (void *)FUN_002d94a0(local_78);" (assignment_expression "__dest = (void *)FUN_002d94a0(local_78)" (identifier "__dest") (= "=") (cast_expression "(void *)FUN_002d94a0(local_78)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002d94a0(local_78)" (identifier "FUN_002d94a0") (argument_list "(local_78)" (( "(") (identifier "local_78") () ")"))))) (; ";")) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" (identifier "puVar9") (= "=") (cast_expression "(ulong *)*param_1" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (puVar9 != param_2) {\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" (if "if") (parenthesized_expression "(puVar9 != param_2)" (( "(") (binary_expression "puVar9 != param_2" (identifier "puVar9") (!= "!=") (identifier "param_2")) () ")")) (compound_statement "{\n      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);\n    }" ({ "{") (expression_statement "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);" (assignment_expression "__dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" (identifier "__dest") (= "=") (call_expression "memmove(__dest,puVar9,(long)param_2 - (long)puVar9)" (identifier "memmove") (argument_list "(__dest,puVar9,(long)param_2 - (long)puVar9)" (( "(") (identifier "__dest") (, ",") (identifier "puVar9") (, ",") (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9"))) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar3 = (ulong)param_3;" (assignment_expression "uVar3 = (ulong)param_3" (identifier "uVar3") (= "=") (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3"))) (; ";")) (expression_statement "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));" (assignment_expression "puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" (identifier "puVar8") (= "=") (cast_expression "(ulong *)((long)__dest + ((long)param_2 - (long)puVar9))" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__dest + ((long)param_2 - (long)puVar9))" (( "(") (binary_expression "(long)__dest + ((long)param_2 - (long)puVar9)" (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")) (+ "+") (parenthesized_expression "((long)param_2 - (long)puVar9)" (( "(") (binary_expression "(long)param_2 - (long)puVar9" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (- "-") (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9"))) () ")"))) () ")")))) (; ";")) (if_statement "if (uVar3 == 0) {\n      uVar11 = 0;\n      uVar7 = 0;\n    }\n    else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" (if "if") (parenthesized_expression "(uVar3 == 0)" (( "(") (binary_expression "uVar3 == 0" (identifier "uVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = 0;\n      uVar7 = 0;\n    }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" (else "else") (compound_statement "{\n      uVar7 = 0;\n      uVar11 = uVar3;\n      puVar13 = param_2;\n      do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);\nLAB_00165da0:\n      uVar11 = (ulong)uVar7;\n    }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar11 = uVar3;" (assignment_expression "uVar11 = uVar3" (identifier "uVar11") (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar13 = param_2;" (assignment_expression "puVar13 = param_2" (identifier "puVar13") (= "=") (identifier "param_2")) (; ";")) (do_statement "do {\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      } while (uVar11 != 0);" (do "do") (compound_statement "{\n        while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }\n        uVar7 = uVar7 + 1;\n        uVar11 = uVar11 - 1;\n      }" ({ "{") (while_statement "while( true ) {\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          uVar12 = 1L << ((byte)uVar7 & 0x3f);\n          uVar2 = ~uVar12 & *puVar8;\n          if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }\n          *puVar8 = uVar2;\n          if (uVar7 != 0x3f) break;\n          puVar13 = puVar13 + 1;\n          puVar8 = puVar8 + 1;\n          uVar7 = 0;\n          uVar11 = uVar11 - 1;\n          if (uVar11 == 0) goto LAB_00165da0;\n        }" ({ "{") (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" (identifier "uVar12") (= "=") (binary_expression "1L << ((byte)uVar7 & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)uVar7 & 0x3f)" (( "(") (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar7")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "uVar2 = ~uVar12 & *puVar8;" (assignment_expression "uVar2 = ~uVar12 & *puVar8" (identifier "uVar2") (= "=") (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" (~ "~") (identifier "uVar12")) (& "&") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (if_statement "if ((*puVar13 & uVar12) != 0) {\n            uVar2 = uVar12 | *puVar8;\n          }" (if "if") (parenthesized_expression "((*puVar13 & uVar12) != 0)" (( "(") (binary_expression "(*puVar13 & uVar12) != 0" (parenthesized_expression "(*puVar13 & uVar12)" (( "(") (binary_expression "*puVar13 & uVar12" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (& "&") (identifier "uVar12")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar2 = uVar12 | *puVar8;\n          }" ({ "{") (expression_statement "uVar2 = uVar12 | *puVar8;" (assignment_expression "uVar2 = uVar12 | *puVar8" (identifier "uVar2") (= "=") (binary_expression "uVar12 | *puVar8" (identifier "uVar12") (| "|") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (} "}"))) (expression_statement "*puVar8 = uVar2;" (assignment_expression "*puVar8 = uVar2" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "uVar2")) (; ";")) (if_statement "if (uVar7 != 0x3f) break;" (if "if") (parenthesized_expression "(uVar7 != 0x3f)" (( "(") (binary_expression "uVar7 != 0x3f" (identifier "uVar7") (!= "!=") (number_literal "0x3f")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (if_statement "if (uVar11 == 0) goto LAB_00165da0;" (if "if") (parenthesized_expression "(uVar11 == 0)" (( "(") (binary_expression "uVar11 == 0" (identifier "uVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00165da0;" (goto "goto") (statement_identifier "LAB_00165da0") (; ";"))) (} "}"))) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar11 = uVar11 - 1;" (assignment_expression "uVar11 = uVar11 - 1" (identifier "uVar11") (= "=") (binary_expression "uVar11 - 1" (identifier "uVar11") (- "-") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (; ";")) (labeled_statement "LAB_00165da0:\n      uVar11 = (ulong)uVar7;" (statement_identifier "LAB_00165da0") (: ":") (expression_statement "uVar11 = (ulong)uVar7;" (assignment_expression "uVar11 = (ulong)uVar7" (identifier "uVar11") (= "=") (cast_expression "(ulong)uVar7" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar7"))) (; ";"))) (} "}")))) (expression_statement "lVar16 = uVar11 + param_4;" (assignment_expression "lVar16 = uVar11 + param_4" (identifier "lVar16") (= "=") (binary_expression "uVar11 + param_4" (identifier "uVar11") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" (identifier "lVar10") (= "=") (binary_expression "lVar16 + 0x3f" (identifier "lVar16") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < lVar16) {\n      lVar10 = lVar16;\n    }" (if "if") (parenthesized_expression "(-1 < lVar16)" (( "(") (binary_expression "-1 < lVar16" (number_literal "-1") (< "<") (identifier "lVar16")) () ")")) (compound_statement "{\n      lVar10 = lVar16;\n    }" ({ "{") (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" (identifier "lVar10") (= "=") (identifier "lVar16")) (; ";")) (} "}"))) (expression_statement "puVar13 = puVar8 + (lVar10 >> 6);" (assignment_expression "puVar13 = puVar8 + (lVar10 >> 6)" (identifier "puVar13") (= "=") (binary_expression "puVar8 + (lVar10 >> 6)" (identifier "puVar8") (+ "+") (parenthesized_expression "(lVar10 >> 6)" (( "(") (binary_expression "lVar10 >> 6" (identifier "lVar10") (>> ">>") (number_literal "6")) () ")")))) (; ";")) (expression_statement "uVar11 = lVar16 % 0x40;" (assignment_expression "uVar11 = lVar16 % 0x40" (identifier "uVar11") (= "=") (binary_expression "lVar16 % 0x40" (identifier "lVar16") (% "%") (number_literal "0x40"))) (; ";")) (if_statement "if ((long)uVar11 < 0) {\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" (if "if") (parenthesized_expression "((long)uVar11 < 0)" (( "(") (binary_expression "(long)uVar11 < 0" (cast_expression "(long)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar11")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      uVar11 = uVar11 + 0x40;\n      puVar13 = puVar13 + -1;\n    }" ({ "{") (expression_statement "uVar11 = uVar11 + 0x40;" (assignment_expression "uVar11 = uVar11 + 0x40" (identifier "uVar11") (= "=") (binary_expression "uVar11 + 0x40" (identifier "uVar11") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar13 = puVar13 + -1;" (assignment_expression "puVar13 = puVar13 + -1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + -1" (identifier "puVar13") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "uVar14 = (uint)uVar11;" (assignment_expression "uVar14 = (uint)uVar11" (identifier "uVar14") (= "=") (cast_expression "(uint)uVar11" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar11"))) (; ";")) (expression_statement "uVar2 = uVar11 & 0xffffffff;" (assignment_expression "uVar2 = uVar11 & 0xffffffff" (identifier "uVar2") (= "=") (binary_expression "uVar11 & 0xffffffff" (identifier "uVar11") (& "&") (number_literal "0xffffffff"))) (; ";")) (expression_statement "cVar1 = (char)uVar11;" (assignment_expression "cVar1 = (char)uVar11" (identifier "cVar1") (= "=") (cast_expression "(char)uVar11" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar11"))) (; ";")) (if_statement "if (puVar13 == puVar8) {\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" (if "if") (parenthesized_expression "(puVar13 == puVar8)" (( "(") (binary_expression "puVar13 == puVar8" (identifier "puVar13") (== "==") (identifier "puVar8")) () ")")) (compound_statement "{\n      if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }\n      goto LAB_00165e60;\n    }" ({ "{") (if_statement "if (uVar14 != uVar7) {\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" (if "if") (parenthesized_expression "(uVar14 != uVar7)" (( "(") (binary_expression "uVar14 != uVar7" (identifier "uVar14") (!= "!=") (identifier "uVar7")) () ")")) (compound_statement "{\n        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);\n        uVar11 = uVar12 | *puVar13;\n        if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }\n        *puVar13 = uVar11;\n      }" ({ "{") (expression_statement "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" (identifier "uVar12") (= "=") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f)" (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))) (& "&") (binary_expression "-1L << ((byte)uVar7 & 0x3f)" (number_literal "-1L") (<< "<<") (parenthesized_expression "((byte)uVar7 & 0x3f)" (( "(") (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar7")) (& "&") (number_literal "0x3f")) () ")"))))) (; ";")) (expression_statement "uVar11 = uVar12 | *puVar13;" (assignment_expression "uVar11 = uVar12 | *puVar13" (identifier "uVar11") (= "=") (binary_expression "uVar12 | *puVar13" (identifier "uVar12") (| "|") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";")) (if_statement "if (param_5 == '\0') {\n          uVar11 = ~uVar12 & *puVar13;\n        }" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          uVar11 = ~uVar12 & *puVar13;\n        }" ({ "{") (expression_statement "uVar11 = ~uVar12 & *puVar13;" (assignment_expression "uVar11 = ~uVar12 & *puVar13" (identifier "uVar11") (= "=") (binary_expression "~uVar12 & *puVar13" (unary_expression "~uVar12" (~ "~") (identifier "uVar12")) (& "&") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";")) (} "}"))) (expression_statement "*puVar13 = uVar11;" (assignment_expression "*puVar13 = uVar11" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (identifier "uVar11")) (; ";")) (} "}"))) (goto_statement "goto LAB_00165e60;" (goto "goto") (statement_identifier "LAB_00165e60") (; ";")) (} "}"))) (if_statement "if (uVar7 == 0) {\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }\n    else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" (if "if") (parenthesized_expression "(uVar7 == 0)" (( "(") (binary_expression "uVar7 == 0" (identifier "uVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      sVar6 = (long)puVar13 - (long)puVar8;\n      if (param_5 == '\0') goto LAB_00166049;\nLAB_00165e1b:\n      memset(puVar8,-1,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }\n    }" ({ "{") (expression_statement "sVar6 = (long)puVar13 - (long)puVar8;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar8" (identifier "sVar6") (= "=") (binary_expression "(long)puVar13 - (long)puVar8" (cast_expression "(long)puVar13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar13")) (- "-") (cast_expression "(long)puVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar8")))) (; ";")) (if_statement "if (param_5 == '\0') goto LAB_00166049;" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00166049;" (goto "goto") (statement_identifier "LAB_00166049") (; ";"))) (labeled_statement "LAB_00165e1b:\n      memset(puVar8,-1,sVar6);" (statement_identifier "LAB_00165e1b") (: ":") (expression_statement "memset(puVar8,-1,sVar6);" (call_expression "memset(puVar8,-1,sVar6)" (identifier "memset") (argument_list "(puVar8,-1,sVar6)" (( "(") (identifier "puVar8") (, ",") (number_literal "-1") (, ",") (identifier "sVar6") () ")"))) (; ";"))) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      }" ({ "{") (expression_statement "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (binary_expression "*puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (| "|") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" (else "else") (compound_statement "{\n      puVar9 = puVar8 + 1;\n      uVar12 = -1L << ((byte)uVar7 & 0x3f);\n      sVar6 = (long)puVar13 - (long)puVar9;\n      if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }\n      *puVar8 = ~uVar12 & *puVar8;\n      puVar8 = puVar9;\nLAB_00166049:\n      memset(puVar8,0,sVar6);\n      if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }\n    }" ({ "{") (expression_statement "puVar9 = puVar8 + 1;" (assignment_expression "puVar9 = puVar8 + 1" (identifier "puVar9") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar12 = -1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = -1L << ((byte)uVar7 & 0x3f)" (identifier "uVar12") (= "=") (binary_expression "-1L << ((byte)uVar7 & 0x3f)" (number_literal "-1L") (<< "<<") (parenthesized_expression "((byte)uVar7 & 0x3f)" (( "(") (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar7")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "sVar6 = (long)puVar13 - (long)puVar9;" (assignment_expression "sVar6 = (long)puVar13 - (long)puVar9" (identifier "sVar6") (= "=") (binary_expression "(long)puVar13 - (long)puVar9" (cast_expression "(long)puVar13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar13")) (- "-") (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9")))) (; ";")) (if_statement "if (param_5 != '\0') {\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" (if "if") (parenthesized_expression "(param_5 != '\0')" (( "(") (binary_expression "param_5 != '\0'" (identifier "param_5") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        *puVar8 = uVar12 | *puVar8;\n        puVar8 = puVar9;\n        goto LAB_00165e1b;\n      }" ({ "{") (expression_statement "*puVar8 = uVar12 | *puVar8;" (assignment_expression "*puVar8 = uVar12 | *puVar8" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (binary_expression "uVar12 | *puVar8" (identifier "uVar12") (| "|") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (goto_statement "goto LAB_00165e1b;" (goto "goto") (statement_identifier "LAB_00165e1b") (; ";")) (} "}"))) (expression_statement "*puVar8 = ~uVar12 & *puVar8;" (assignment_expression "*puVar8 = ~uVar12 & *puVar8" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (binary_expression "~uVar12 & *puVar8" (unary_expression "~uVar12" (~ "~") (identifier "uVar12")) (& "&") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (expression_statement "puVar8 = puVar9;" (assignment_expression "puVar8 = puVar9" (identifier "puVar8") (= "=") (identifier "puVar9")) (; ";")) (labeled_statement "LAB_00166049:\n      memset(puVar8,0,sVar6);" (statement_identifier "LAB_00166049") (: ":") (expression_statement "memset(puVar8,0,sVar6);" (call_expression "memset(puVar8,0,sVar6)" (identifier "memset") (argument_list "(puVar8,0,sVar6)" (( "(") (identifier "puVar8") (, ",") (number_literal "0") (, ",") (identifier "sVar6") () ")"))) (; ";"))) (if_statement "if (uVar11 != 0) {\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" (if "if") (parenthesized_expression "(uVar11 != 0)" (( "(") (binary_expression "uVar11 != 0" (identifier "uVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n      }" ({ "{") (expression_statement "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (binary_expression "*puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (& "&") (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (~ "~") (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (( "(") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")))) (expression_statement "puVar9 = (ulong *)*param_1;" (assignment_expression "puVar9 = (ulong *)*param_1" (identifier "puVar9") (= "=") (cast_expression "(ulong *)*param_1" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (labeled_statement "LAB_00165e60:\n    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" (statement_identifier "LAB_00165e60") (: ":") (expression_statement "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;" (assignment_expression "lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" (identifier "lVar10") (= "=") (binary_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3" (parenthesized_expression "((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8)" (( "(") (binary_expression "(ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8" (binary_expression "(ulong)*(uint *)(param_1 + 3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (+ "+") (binary_expression "(param_1[2] - (long)param_2) * 8" (parenthesized_expression "(param_1[2] - (long)param_2)" (( "(") (binary_expression "param_1[2] - (long)param_2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2"))) () ")")) (* "*") (number_literal "8"))) () ")")) (- "-") (identifier "uVar3"))) (; ";"))) (if_statement "if (0 < lVar10) {\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" (if "if") (parenthesized_expression "(0 < lVar10)" (( "(") (binary_expression "0 < lVar10" (number_literal "0") (< "<") (identifier "lVar10")) () ")")) (compound_statement "{\n      do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);\n    }" ({ "{") (do_statement "do {\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      } while (lVar10 != 0);" (do "do") (compound_statement "{\n        while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }\n        param_2 = param_2 + 1;\n        param_3 = 0;\n        if (iVar15 == 0x3f) goto LAB_00165eda;\nLAB_00165e92:\n        uVar14 = iVar15 + 1;\n        uVar2 = (ulong)uVar14;\n        lVar10 = lVar10 + -1;\n      }" ({ "{") (while_statement "while( true ) {\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n          iVar15 = (int)uVar2;\n          uVar11 = 1L << ((byte)uVar2 & 0x3f);\n          uVar3 = ~uVar11 & *puVar13;\n          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }\n          *puVar13 = uVar3;\n          if (param_3 == 0x3f) break;\n          param_3 = param_3 + 1;\n          if (iVar15 != 0x3f) goto LAB_00165e92;\nLAB_00165eda:\n          puVar13 = puVar13 + 1;\n          uVar2 = 0;\n          uVar14 = 0;\n          lVar10 = lVar10 + -1;\n          if (lVar10 == 0) goto LAB_00165ee7;\n        }" ({ "{") (expression_statement "iVar15 = (int)uVar2;" (assignment_expression "iVar15 = (int)uVar2" (identifier "iVar15") (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (expression_statement "uVar11 = 1L << ((byte)uVar2 & 0x3f);" (assignment_expression "uVar11 = 1L << ((byte)uVar2 & 0x3f)" (identifier "uVar11") (= "=") (binary_expression "1L << ((byte)uVar2 & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)uVar2 & 0x3f)" (( "(") (binary_expression "(byte)uVar2 & 0x3f" (cast_expression "(byte)uVar2" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar2")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "uVar3 = ~uVar11 & *puVar13;" (assignment_expression "uVar3 = ~uVar11 & *puVar13" (identifier "uVar3") (= "=") (binary_expression "~uVar11 & *puVar13" (unary_expression "~uVar11" (~ "~") (identifier "uVar11")) (& "&") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";")) (if_statement "if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {\n            uVar3 = uVar11 | *puVar13;\n          }" (if "if") (parenthesized_expression "((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0)" (( "(") (binary_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0" (parenthesized_expression "(*param_2 & 1L << ((byte)param_3 & 0x3f))" (( "(") (binary_expression "*param_2 & 1L << ((byte)param_3 & 0x3f)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (& "&") (binary_expression "1L << ((byte)param_3 & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)param_3 & 0x3f)" (( "(") (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_3")) (& "&") (number_literal "0x3f")) () ")")))) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar3 = uVar11 | *puVar13;\n          }" ({ "{") (expression_statement "uVar3 = uVar11 | *puVar13;" (assignment_expression "uVar3 = uVar11 | *puVar13" (identifier "uVar3") (= "=") (binary_expression "uVar11 | *puVar13" (identifier "uVar11") (| "|") (pointer_expression "*puVar13" (* "*") (identifier "puVar13")))) (; ";")) (} "}"))) (expression_statement "*puVar13 = uVar3;" (assignment_expression "*puVar13 = uVar3" (pointer_expression "*puVar13" (* "*") (identifier "puVar13")) (= "=") (identifier "uVar3")) (; ";")) (if_statement "if (param_3 == 0x3f) break;" (if "if") (parenthesized_expression "(param_3 == 0x3f)" (( "(") (binary_expression "param_3 == 0x3f" (identifier "param_3") (== "==") (number_literal "0x3f")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_3 = param_3 + 1;" (assignment_expression "param_3 = param_3 + 1" (identifier "param_3") (= "=") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar15 != 0x3f) goto LAB_00165e92;" (if "if") (parenthesized_expression "(iVar15 != 0x3f)" (( "(") (binary_expression "iVar15 != 0x3f" (identifier "iVar15") (!= "!=") (number_literal "0x3f")) () ")")) (goto_statement "goto LAB_00165e92;" (goto "goto") (statement_identifier "LAB_00165e92") (; ";"))) (labeled_statement "LAB_00165eda:\n          puVar13 = puVar13 + 1;" (statement_identifier "LAB_00165eda") (: ":") (expression_statement "puVar13 = puVar13 + 1;" (assignment_expression "puVar13 = puVar13 + 1" (identifier "puVar13") (= "=") (binary_expression "puVar13 + 1" (identifier "puVar13") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" (identifier "uVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" (identifier "lVar10") (= "=") (binary_expression "lVar10 + -1" (identifier "lVar10") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (lVar10 == 0) goto LAB_00165ee7;" (if "if") (parenthesized_expression "(lVar10 == 0)" (( "(") (binary_expression "lVar10 == 0" (identifier "lVar10") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00165ee7;" (goto "goto") (statement_identifier "LAB_00165ee7") (; ";"))) (} "}"))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_3 = 0;" (assignment_expression "param_3 = 0" (identifier "param_3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar15 == 0x3f) goto LAB_00165eda;" (if "if") (parenthesized_expression "(iVar15 == 0x3f)" (( "(") (binary_expression "iVar15 == 0x3f" (identifier "iVar15") (== "==") (number_literal "0x3f")) () ")")) (goto_statement "goto LAB_00165eda;" (goto "goto") (statement_identifier "LAB_00165eda") (; ";"))) (labeled_statement "LAB_00165e92:\n        uVar14 = iVar15 + 1;" (statement_identifier "LAB_00165e92") (: ":") (expression_statement "uVar14 = iVar15 + 1;" (assignment_expression "uVar14 = iVar15 + 1" (identifier "uVar14") (= "=") (binary_expression "iVar15 + 1" (identifier "iVar15") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "uVar2 = (ulong)uVar14;" (assignment_expression "uVar2 = (ulong)uVar14" (identifier "uVar2") (= "=") (cast_expression "(ulong)uVar14" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar14"))) (; ";")) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" (identifier "lVar10") (= "=") (binary_expression "lVar10 + -1" (identifier "lVar10") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar10 != 0)" (( "(") (binary_expression "lVar10 != 0" (identifier "lVar10") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00165ee7:\n    if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" (statement_identifier "LAB_00165ee7") (: ":") (if_statement "if (puVar9 != (ulong *)0x0) {\n      FUN_002dac70(puVar9);\n    }" (if "if") (parenthesized_expression "(puVar9 != (ulong *)0x0)" (( "(") (binary_expression "puVar9 != (ulong *)0x0" (identifier "puVar9") (!= "!=") (cast_expression "(ulong *)0x0" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_002dac70(puVar9);\n    }" ({ "{") (expression_statement "FUN_002dac70(puVar9);" (call_expression "FUN_002dac70(puVar9)" (identifier "FUN_002dac70") (argument_list "(puVar9)" (( "(") (identifier "puVar9") () ")"))) (; ";")) (} "}")))) (expression_statement "*param_1 = (long)__dest;" (assignment_expression "*param_1 = (long)__dest" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 1) = 0" (pointer_expression "*(undefined4 *)(param_1 + 1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = (long)puVar13;" (assignment_expression "param_1[2] = (long)puVar13" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)puVar13" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar13"))) (; ";")) (expression_statement "param_1[4] = (long)local_78 + (long)__dest;" (assignment_expression "param_1[4] = (long)local_78 + (long)__dest" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (binary_expression "(long)local_78 + (long)__dest" (cast_expression "(long)local_78" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_78")) (+ "+") (cast_expression "(long)__dest" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__dest")))) (; ";")) (expression_statement "*(uint *)(param_1 + 3) = uVar14;" (assignment_expression "*(uint *)(param_1 + 3) = uVar14" (pointer_expression "*(uint *)(param_1 + 3)" (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "uVar14")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "lVar10 = param_4 + uVar3;" (assignment_expression "lVar10 = param_4 + uVar3" (identifier "lVar10") (= "=") (binary_expression "param_4 + uVar3" (identifier "param_4") (+ "+") (identifier "uVar3"))) (; ";")) (expression_statement "lVar16 = lVar10 + 0x3f;" (assignment_expression "lVar16 = lVar10 + 0x3f" (identifier "lVar16") (= "=") (binary_expression "lVar10 + 0x3f" (identifier "lVar10") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < lVar10) {\n    lVar16 = lVar10;\n  }" (if "if") (parenthesized_expression "(-1 < lVar10)" (( "(") (binary_expression "-1 < lVar10" (number_literal "-1") (< "<") (identifier "lVar10")) () ")")) (compound_statement "{\n    lVar16 = lVar10;\n  }" ({ "{") (expression_statement "lVar16 = lVar10;" (assignment_expression "lVar16 = lVar10" (identifier "lVar16") (= "=") (identifier "lVar10")) (; ";")) (} "}"))) (expression_statement "local_78 = puVar9 + (lVar16 >> 6);" (assignment_expression "local_78 = puVar9 + (lVar16 >> 6)" (identifier "local_78") (= "=") (binary_expression "puVar9 + (lVar16 >> 6)" (identifier "puVar9") (+ "+") (parenthesized_expression "(lVar16 >> 6)" (( "(") (binary_expression "lVar16 >> 6" (identifier "lVar16") (>> ">>") (number_literal "6")) () ")")))) (; ";")) (expression_statement "uVar2 = lVar10 % 0x40;" (assignment_expression "uVar2 = lVar10 % 0x40" (identifier "uVar2") (= "=") (binary_expression "lVar10 % 0x40" (identifier "lVar10") (% "%") (number_literal "0x40"))) (; ";")) (expression_statement "uVar11 = uVar2;" (assignment_expression "uVar11 = uVar2" (identifier "uVar11") (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar8 = local_78;" (assignment_expression "puVar8 = local_78" (identifier "puVar8") (= "=") (identifier "local_78")) (; ";")) (if_statement "if ((long)uVar2 < 0) {\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" (if "if") (parenthesized_expression "((long)uVar2 < 0)" (( "(") (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar11 = uVar2 + 0x40;\n    puVar8 = local_78 + -1;\n  }" ({ "{") (expression_statement "uVar11 = uVar2 + 0x40;" (assignment_expression "uVar11 = uVar2 + 0x40" (identifier "uVar11") (= "=") (binary_expression "uVar2 + 0x40" (identifier "uVar2") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar8 = local_78 + -1;" (assignment_expression "puVar8 = local_78 + -1" (identifier "puVar8") (= "=") (binary_expression "local_78 + -1" (identifier "local_78") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;" (assignment_expression "lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" (identifier "lVar10") (= "=") (binary_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3" (parenthesized_expression "(uVar3 + ((long)puVar9 - (long)param_2) * 8)" (( "(") (binary_expression "uVar3 + ((long)puVar9 - (long)param_2) * 8" (identifier "uVar3") (+ "+") (binary_expression "((long)puVar9 - (long)param_2) * 8" (parenthesized_expression "((long)puVar9 - (long)param_2)" (( "(") (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9")) (- "-") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2"))) () ")")) (* "*") (number_literal "8"))) () ")")) (- "-") (cast_expression "(ulong)param_3" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_3")))) (; ";")) (if_statement "if (0 < lVar10) {\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" (if "if") (parenthesized_expression "(0 < lVar10)" (( "(") (binary_expression "0 < lVar10" (number_literal "0") (< "<") (identifier "lVar10")) () ")")) (compound_statement "{\n    do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);\n  }" ({ "{") (do_statement "do {\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    } while (lVar10 != 0);" (do "do") (compound_statement "{\n      iVar15 = (int)uVar11;\n      if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }\n      uVar5 = ~uVar4 & *puVar8;\n      if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }\n      *puVar8 = uVar5;\n      lVar10 = lVar10 + -1;\n    }" ({ "{") (expression_statement "iVar15 = (int)uVar11;" (assignment_expression "iVar15 = (int)uVar11" (identifier "iVar15") (= "=") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) (; ";")) (if_statement "if ((int)uVar3 == 0) {\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }\n      else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" (if "if") (parenthesized_expression "((int)uVar3 == 0)" (( "(") (binary_expression "(int)uVar3 == 0" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar9 = puVar9 + -1;\n        uVar3 = 0x3f;\n        uVar12 = 0x8000000000000000;\n        uVar5 = 0x8000000000000000;\n        if (iVar15 == 0) goto LAB_00165bbd;\nLAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);\n        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);\n      }" ({ "{") (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + -1" (identifier "puVar9") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar3 = 0x3f;" (assignment_expression "uVar3 = 0x3f" (identifier "uVar3") (= "=") (number_literal "0x3f")) (; ";")) (expression_statement "uVar12 = 0x8000000000000000;" (assignment_expression "uVar12 = 0x8000000000000000" (identifier "uVar12") (= "=") (number_literal "0x8000000000000000")) (; ";")) (expression_statement "uVar5 = 0x8000000000000000;" (assignment_expression "uVar5 = 0x8000000000000000" (identifier "uVar5") (= "=") (number_literal "0x8000000000000000")) (; ";")) (if_statement "if (iVar15 == 0) goto LAB_00165bbd;" (if "if") (parenthesized_expression "(iVar15 == 0)" (( "(") (binary_expression "iVar15 == 0" (identifier "iVar15") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00165bbd;" (goto "goto") (statement_identifier "LAB_00165bbd") (; ";"))) (labeled_statement "LAB_00165b7f:\n        uVar11 = (ulong)(iVar15 - 1U);" (statement_identifier "LAB_00165b7f") (: ":") (expression_statement "uVar11 = (ulong)(iVar15 - 1U);" (assignment_expression "uVar11 = (ulong)(iVar15 - 1U)" (identifier "uVar11") (= "=") (call_expression "(ulong)(iVar15 - 1U)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(iVar15 - 1U)" (( "(") (binary_expression "iVar15 - 1U" (identifier "iVar15") (- "-") (number_literal "1U")) () ")")))) (; ";"))) (expression_statement "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);" (assignment_expression "uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f)" (identifier "uVar4") (= "=") (binary_expression "1L << ((byte)(iVar15 - 1U) & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)(iVar15 - 1U) & 0x3f)" (( "(") (binary_expression "(byte)(iVar15 - 1U) & 0x3f" (call_expression "(byte)(iVar15 - 1U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(iVar15 - 1U)" (( "(") (binary_expression "iVar15 - 1U" (identifier "iVar15") (- "-") (number_literal "1U")) () ")"))) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" (else "else") (compound_statement "{\n        uVar7 = (int)uVar3 - 1;\n        uVar3 = (ulong)uVar7;\n        uVar12 = 1L << ((byte)uVar7 & 0x3f);\n        uVar5 = uVar12;\n        if (iVar15 != 0) goto LAB_00165b7f;\nLAB_00165bbd:\n        puVar8 = puVar8 + -1;\n        uVar11 = 0x3f;\n        uVar4 = 0x8000000000000000;\n        uVar12 = uVar5;\n      }" ({ "{") (expression_statement "uVar7 = (int)uVar3 - 1;" (assignment_expression "uVar7 = (int)uVar3 - 1" (identifier "uVar7") (= "=") (binary_expression "(int)uVar3 - 1" (cast_expression "(int)uVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar3")) (- "-") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = (ulong)uVar7;" (assignment_expression "uVar3 = (ulong)uVar7" (identifier "uVar3") (= "=") (cast_expression "(ulong)uVar7" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar7"))) (; ";")) (expression_statement "uVar12 = 1L << ((byte)uVar7 & 0x3f);" (assignment_expression "uVar12 = 1L << ((byte)uVar7 & 0x3f)" (identifier "uVar12") (= "=") (binary_expression "1L << ((byte)uVar7 & 0x3f)" (number_literal "1L") (<< "<<") (parenthesized_expression "((byte)uVar7 & 0x3f)" (( "(") (binary_expression "(byte)uVar7 & 0x3f" (cast_expression "(byte)uVar7" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "uVar7")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "uVar5 = uVar12;" (assignment_expression "uVar5 = uVar12" (identifier "uVar5") (= "=") (identifier "uVar12")) (; ";")) (if_statement "if (iVar15 != 0) goto LAB_00165b7f;" (if "if") (parenthesized_expression "(iVar15 != 0)" (( "(") (binary_expression "iVar15 != 0" (identifier "iVar15") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00165b7f;" (goto "goto") (statement_identifier "LAB_00165b7f") (; ";"))) (labeled_statement "LAB_00165bbd:\n        puVar8 = puVar8 + -1;" (statement_identifier "LAB_00165bbd") (: ":") (expression_statement "puVar8 = puVar8 + -1;" (assignment_expression "puVar8 = puVar8 + -1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + -1" (identifier "puVar8") (+ "+") (number_literal "-1"))) (; ";"))) (expression_statement "uVar11 = 0x3f;" (assignment_expression "uVar11 = 0x3f" (identifier "uVar11") (= "=") (number_literal "0x3f")) (; ";")) (expression_statement "uVar4 = 0x8000000000000000;" (assignment_expression "uVar4 = 0x8000000000000000" (identifier "uVar4") (= "=") (number_literal "0x8000000000000000")) (; ";")) (expression_statement "uVar12 = uVar5;" (assignment_expression "uVar12 = uVar5" (identifier "uVar12") (= "=") (identifier "uVar5")) (; ";")) (} "}")))) (expression_statement "uVar5 = ~uVar4 & *puVar8;" (assignment_expression "uVar5 = ~uVar4 & *puVar8" (identifier "uVar5") (= "=") (binary_expression "~uVar4 & *puVar8" (unary_expression "~uVar4" (~ "~") (identifier "uVar4")) (& "&") (pointer_expression "*puVar8" (* "*") (identifier "puVar8")))) (; ";")) (if_statement "if ((*puVar9 & uVar12) != 0) {\n        uVar5 = *puVar8 | uVar4;\n      }" (if "if") (parenthesized_expression "((*puVar9 & uVar12) != 0)" (( "(") (binary_expression "(*puVar9 & uVar12) != 0" (parenthesized_expression "(*puVar9 & uVar12)" (( "(") (binary_expression "*puVar9 & uVar12" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (& "&") (identifier "uVar12")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar5 = *puVar8 | uVar4;\n      }" ({ "{") (expression_statement "uVar5 = *puVar8 | uVar4;" (assignment_expression "uVar5 = *puVar8 | uVar4" (identifier "uVar5") (= "=") (binary_expression "*puVar8 | uVar4" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (| "|") (identifier "uVar4"))) (; ";")) (} "}"))) (expression_statement "*puVar8 = uVar5;" (assignment_expression "*puVar8 = uVar5" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "lVar10 = lVar10 + -1;" (assignment_expression "lVar10 = lVar10 + -1" (identifier "lVar10") (= "=") (binary_expression "lVar10 + -1" (identifier "lVar10") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar10 != 0)" (( "(") (binary_expression "lVar10 != 0" (identifier "lVar10") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "lVar16 = param_3 + param_4;" (assignment_expression "lVar16 = param_3 + param_4" (identifier "lVar16") (= "=") (binary_expression "param_3 + param_4" (identifier "param_3") (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" (identifier "lVar10") (= "=") (binary_expression "lVar16 + 0x3f" (identifier "lVar16") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" (if "if") (parenthesized_expression "(-1 < lVar16)" (( "(") (binary_expression "-1 < lVar16" (number_literal "-1") (< "<") (identifier "lVar16")) () ")")) (compound_statement "{\n    lVar10 = lVar16;\n  }" ({ "{") (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" (identifier "lVar10") (= "=") (identifier "lVar16")) (; ";")) (} "}"))) (expression_statement "puVar9 = param_2 + (lVar10 >> 6);" (assignment_expression "puVar9 = param_2 + (lVar10 >> 6)" (identifier "puVar9") (= "=") (binary_expression "param_2 + (lVar10 >> 6)" (identifier "param_2") (+ "+") (parenthesized_expression "(lVar10 >> 6)" (( "(") (binary_expression "lVar10 >> 6" (identifier "lVar10") (>> ">>") (number_literal "6")) () ")")))) (; ";")) (expression_statement "lVar16 = lVar16 % 0x40;" (assignment_expression "lVar16 = lVar16 % 0x40" (identifier "lVar16") (= "=") (binary_expression "lVar16 % 0x40" (identifier "lVar16") (% "%") (number_literal "0x40"))) (; ";")) (if_statement "if (lVar16 < 0) {\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" (if "if") (parenthesized_expression "(lVar16 < 0)" (( "(") (binary_expression "lVar16 < 0" (identifier "lVar16") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    lVar16 = lVar16 + 0x40;\n    puVar9 = puVar9 + -1;\n  }" ({ "{") (expression_statement "lVar16 = lVar16 + 0x40;" (assignment_expression "lVar16 = lVar16 + 0x40" (identifier "lVar16") (= "=") (binary_expression "lVar16 + 0x40" (identifier "lVar16") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "puVar9 = puVar9 + -1;" (assignment_expression "puVar9 = puVar9 + -1" (identifier "puVar9") (= "=") (binary_expression "puVar9 + -1" (identifier "puVar9") (+ "+") (number_literal "-1"))) (; ";")) (} "}"))) (expression_statement "cVar1 = (char)lVar16;" (assignment_expression "cVar1 = (char)lVar16" (identifier "cVar1") (= "=") (cast_expression "(char)lVar16" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "lVar16"))) (; ";")) (if_statement "if (puVar9 == param_2) {\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" (if "if") (parenthesized_expression "(puVar9 == param_2)" (( "(") (binary_expression "puVar9 == param_2" (identifier "puVar9") (== "==") (identifier "param_2")) () ")")) (compound_statement "{\n    if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }\n    goto LAB_00165c8f;\n  }" ({ "{") (if_statement "if ((uint)lVar16 != param_3) {\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" (if "if") (parenthesized_expression "((uint)lVar16 != param_3)" (( "(") (binary_expression "(uint)lVar16 != param_3" (cast_expression "(uint)lVar16" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar16")) (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n      uVar3 = *puVar9 | uVar11;\n      if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }\n      *puVar9 = uVar3;\n    }" ({ "{") (expression_statement "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (identifier "uVar11") (= "=") (binary_expression "-1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (binary_expression "-1L << ((byte)param_3 & 0x3f)" (number_literal "-1L") (<< "<<") (parenthesized_expression "((byte)param_3 & 0x3f)" (( "(") (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_3")) (& "&") (number_literal "0x3f")) () ")"))) (& "&") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))))) (; ";")) (expression_statement "uVar3 = *puVar9 | uVar11;" (assignment_expression "uVar3 = *puVar9 | uVar11" (identifier "uVar3") (= "=") (binary_expression "*puVar9 | uVar11" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (| "|") (identifier "uVar11"))) (; ";")) (if_statement "if (param_5 == '\0') {\n        uVar3 = ~uVar11 & *puVar9;\n      }" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar3 = ~uVar11 & *puVar9;\n      }" ({ "{") (expression_statement "uVar3 = ~uVar11 & *puVar9;" (assignment_expression "uVar3 = ~uVar11 & *puVar9" (identifier "uVar3") (= "=") (binary_expression "~uVar11 & *puVar9" (unary_expression "~uVar11" (~ "~") (identifier "uVar11")) (& "&") (pointer_expression "*puVar9" (* "*") (identifier "puVar9")))) (; ";")) (} "}"))) (expression_statement "*puVar9 = uVar3;" (assignment_expression "*puVar9 = uVar3" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (identifier "uVar3")) (; ";")) (} "}"))) (goto_statement "goto LAB_00165c8f;" (goto "goto") (statement_identifier "LAB_00165c8f") (; ";")) (} "}"))) (if_statement "if (param_3 == 0) {\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }\n  else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    sVar6 = (long)puVar9 - (long)param_2;\n    local_88 = param_2;\n    if (param_5 != '\0') goto LAB_00165c30;\nLAB_00165faf:\n    memset(local_88,0,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }\n  }" ({ "{") (expression_statement "sVar6 = (long)puVar9 - (long)param_2;" (assignment_expression "sVar6 = (long)puVar9 - (long)param_2" (identifier "sVar6") (= "=") (binary_expression "(long)puVar9 - (long)param_2" (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9")) (- "-") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")))) (; ";")) (expression_statement "local_88 = param_2;" (assignment_expression "local_88 = param_2" (identifier "local_88") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (param_5 != '\0') goto LAB_00165c30;" (if "if") (parenthesized_expression "(param_5 != '\0')" (( "(") (binary_expression "param_5 != '\0'" (identifier "param_5") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00165c30;" (goto "goto") (statement_identifier "LAB_00165c30") (; ";"))) (labeled_statement "LAB_00165faf:\n    memset(local_88,0,sVar6);" (statement_identifier "LAB_00165faf") (: ":") (expression_statement "memset(local_88,0,sVar6);" (call_expression "memset(local_88,0,sVar6)" (identifier "memset") (argument_list "(local_88,0,sVar6)" (( "(") (identifier "local_88") (, ",") (number_literal "0") (, ",") (identifier "sVar6") () ")"))) (; ";"))) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" (if "if") (parenthesized_expression "(lVar16 != 0)" (( "(") (binary_expression "lVar16 != 0" (identifier "lVar16") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));\n    }" ({ "{") (expression_statement "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));" (assignment_expression "*puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (binary_expression "*puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (& "&") (unary_expression "~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (~ "~") (parenthesized_expression "(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f))" (( "(") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))) () ")"))))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" (else "else") (compound_statement "{\n    local_88 = param_2 + 1;\n    uVar3 = -1L << ((byte)param_3 & 0x3f);\n    sVar6 = (long)puVar9 - (long)local_88;\n    if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }\n    *param_2 = uVar3 | *param_2;\nLAB_00165c30:\n    memset(local_88,-1,sVar6);\n    if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }\n  }" ({ "{") (expression_statement "local_88 = param_2 + 1;" (assignment_expression "local_88 = param_2 + 1" (identifier "local_88") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar3 = -1L << ((byte)param_3 & 0x3f);" (assignment_expression "uVar3 = -1L << ((byte)param_3 & 0x3f)" (identifier "uVar3") (= "=") (binary_expression "-1L << ((byte)param_3 & 0x3f)" (number_literal "-1L") (<< "<<") (parenthesized_expression "((byte)param_3 & 0x3f)" (( "(") (binary_expression "(byte)param_3 & 0x3f" (cast_expression "(byte)param_3" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "param_3")) (& "&") (number_literal "0x3f")) () ")")))) (; ";")) (expression_statement "sVar6 = (long)puVar9 - (long)local_88;" (assignment_expression "sVar6 = (long)puVar9 - (long)local_88" (identifier "sVar6") (= "=") (binary_expression "(long)puVar9 - (long)local_88" (cast_expression "(long)puVar9" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar9")) (- "-") (cast_expression "(long)local_88" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_88")))) (; ";")) (if_statement "if (param_5 == '\0') {\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" (if "if") (parenthesized_expression "(param_5 == '\0')" (( "(") (binary_expression "param_5 == '\0'" (identifier "param_5") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      *param_2 = ~uVar3 & *param_2;\n      goto LAB_00165faf;\n    }" ({ "{") (expression_statement "*param_2 = ~uVar3 & *param_2;" (assignment_expression "*param_2 = ~uVar3 & *param_2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "~uVar3 & *param_2" (unary_expression "~uVar3" (~ "~") (identifier "uVar3")) (& "&") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (goto_statement "goto LAB_00165faf;" (goto "goto") (statement_identifier "LAB_00165faf") (; ";")) (} "}"))) (expression_statement "*param_2 = uVar3 | *param_2;" (assignment_expression "*param_2 = uVar3 | *param_2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "uVar3 | *param_2" (identifier "uVar3") (| "|") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (labeled_statement "LAB_00165c30:\n    memset(local_88,-1,sVar6);" (statement_identifier "LAB_00165c30") (: ":") (expression_statement "memset(local_88,-1,sVar6);" (call_expression "memset(local_88,-1,sVar6)" (identifier "memset") (argument_list "(local_88,-1,sVar6)" (( "(") (identifier "local_88") (, ",") (number_literal "-1") (, ",") (identifier "sVar6") () ")"))) (; ";"))) (if_statement "if (lVar16 != 0) {\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" (if "if") (parenthesized_expression "(lVar16 != 0)" (( "(") (binary_expression "lVar16 != 0" (identifier "lVar16") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);\n    }" ({ "{") (expression_statement "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);" (assignment_expression "*puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (= "=") (binary_expression "*puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (pointer_expression "*puVar9" (* "*") (identifier "puVar9")) (| "|") (binary_expression "0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f)" (number_literal "0xffffffffffffffffU") (>> ">>") (parenthesized_expression "(0x40U - cVar1 & 0x3f)" (( "(") (binary_expression "0x40U - cVar1 & 0x3f" (binary_expression "0x40U - cVar1" (number_literal "0x40U") (- "-") (identifier "cVar1")) (& "&") (number_literal "0x3f")) () ")"))))) (; ";")) (} "}"))) (} "}")))) (expression_statement "lVar16 = *(uint *)(param_1 + 3) + param_4;" (assignment_expression "lVar16 = *(uint *)(param_1 + 3) + param_4" (identifier "lVar16") (= "=") (binary_expression "*(uint *)(param_1 + 3) + param_4" (pointer_expression "*(uint *)(param_1 + 3)" (* "*") (cast_expression "(uint *)(param_1 + 3)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (+ "+") (identifier "param_4"))) (; ";")) (expression_statement "lVar10 = lVar16 + 0x3f;" (assignment_expression "lVar10 = lVar16 + 0x3f" (identifier "lVar10") (= "=") (binary_expression "lVar16 + 0x3f" (identifier "lVar16") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < lVar16) {\n    lVar10 = lVar16;\n  }" (if "if") (parenthesized_expression "(-1 < lVar16)" (( "(") (binary_expression "-1 < lVar16" (number_literal "-1") (< "<") (identifier "lVar16")) () ")")) (compound_statement "{\n    lVar10 = lVar16;\n  }" ({ "{") (expression_statement "lVar10 = lVar16;" (assignment_expression "lVar10 = lVar16" (identifier "lVar10") (= "=") (identifier "lVar16")) (; ";")) (} "}"))) (expression_statement "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);" (assignment_expression "local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8)" (identifier "local_78") (= "=") (cast_expression "(ulong *)(param_1[2] + (lVar10 >> 6) * 8)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[2] + (lVar10 >> 6) * 8)" (( "(") (binary_expression "param_1[2] + (lVar10 >> 6) * 8" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "(lVar10 >> 6) * 8" (parenthesized_expression "(lVar10 >> 6)" (( "(") (binary_expression "lVar10 >> 6" (identifier "lVar10") (>> ">>") (number_literal "6")) () ")")) (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "uVar2 = lVar16 % 0x40;" (assignment_expression "uVar2 = lVar16 % 0x40" (identifier "uVar2") (= "=") (binary_expression "lVar16 % 0x40" (identifier "lVar16") (% "%") (number_literal "0x40"))) (; ";")) (labeled_statement "LAB_00165c8f:\n  if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" (statement_identifier "LAB_00165c8f") (: ":") (if_statement "if ((long)uVar2 < 0) {\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }\n  else {\n    param_1[2] = (long)local_78;\n  }" (if "if") (parenthesized_expression "((long)uVar2 < 0)" (( "(") (binary_expression "(long)uVar2 < 0" (cast_expression "(long)uVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "uVar2")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n    uVar2 = uVar2 + 0x40;\n    param_1[2] = (long)(local_78 + -1);\n  }" ({ "{") (expression_statement "uVar2 = uVar2 + 0x40;" (assignment_expression "uVar2 = uVar2 + 0x40" (identifier "uVar2") (= "=") (binary_expression "uVar2 + 0x40" (identifier "uVar2") (+ "+") (number_literal "0x40"))) (; ";")) (expression_statement "param_1[2] = (long)(local_78 + -1);" (assignment_expression "param_1[2] = (long)(local_78 + -1)" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)(local_78 + -1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(local_78 + -1)" (( "(") (binary_expression "local_78 + -1" (identifier "local_78") (+ "+") (number_literal "-1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n    param_1[2] = (long)local_78;\n  }" (else "else") (compound_statement "{\n    param_1[2] = (long)local_78;\n  }" ({ "{") (expression_statement "param_1[2] = (long)local_78;" (assignment_expression "param_1[2] = (long)local_78" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)local_78" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_78"))) (; ";")) (} "}"))))) (expression_statement "*(int *)(param_1 + 3) = (int)uVar2;" (assignment_expression "*(int *)(param_1 + 3) = (int)uVar2" (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (cast_expression "(int)uVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar2"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: void _M_fill_insert(vector<bool,_std::allocator<bool>_> * this,
   iterator __position, size_type __n, bool __x) */

void __thiscall
var_2::vector<bool,_std::allocator<bool>var_4>::_M_fill_insert
          (vector<bool,_std::allocator<bool>var_4> *this,iterator __position,type_3 var_1,bool __x)

{
  char var_22;
  type_1 var_27;
  type_2 *p_Var3;
  type_1 var_6;
  type_1 var_30;
  type_1 uVar6;
  size_t sVar7;
  type_3 var_10;
  type_1 var_16;
  type_1 *var_14;
  type_4 var_17;
  type_1 *var_19;
  type_1 *var_13;
  long var_7;
  type_1 var_8;
  type_1 var_29;
  type_1 *var_18;
  type_4 var_21;
  int var_25;
  long var_20;
  type_1 *local_88;
  type_1 *var_28;
  type_4 var_24;
  
  var_14 = __position.super__Bit_iterator_base._M_p;
  if (var_1 == 0) {
    return;
  }
  p_Var3 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
           _M_start.super__Bit_iterator_base._M_p;
  var_13 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
            _M_finish.super__Bit_iterator_base._M_p;
  var_6 = (type_1)(this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data
                 ._M_finish.super__Bit_iterator_base._M_offset;
  var_24 = __position.super__Bit_iterator_base._M_offset;
  var_7 = var_6 + ((long)var_13 - (long)p_Var3) * 8;
  var_8 = var_7 - (type_1)(this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.
                           super__Bvector_impl_data._M_start.super__Bit_iterator_base._M_offset;
  if ((type_1)(((long)(this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.
                     super__Bvector_impl_data._M_end_of_storage - (long)p_Var3) * 8 - var_7) < var_1)
  {
    if (0x7fffffffffffffc0 - var_8 < var_1) {
                    /* WARNING: Subroutine does not return */
      var_9("vector<bool>::_M_fill_insert");
    }
    var_10 = var_1;
    if (var_1 < var_8) {
      var_10 = var_8;
    }
    if ((0x7fffffffffffffc0 < var_8 + var_10) || (var_11(var_8,var_10))) {
      var_28 = (type_1 *)0xffffffffffffff8;
    }
    else {
      var_28 = (type_1 *)((var_8 + var_10 + 0x3f >> 6) * 8);
    }
    p_Var3 = (type_2 *)var_12((type_1)var_28);
    var_13 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
              _M_start.super__Bit_iterator_base._M_p;
    if (var_13 != var_14) {
      p_Var3 = (type_2 *)var_15(p_Var3,var_13,(long)var_14 - (long)var_13);
    }
    var_6 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;
    var_19 = (type_1 *)((long)p_Var3 + ((long)var_14 - (long)var_13));
    if (((type_5  [16])__position.super__Bit_iterator_base & (type_5  [16])0xffffffff) ==
        (type_5  [16])0x0) {
      var_8 = 0;
      var_17 = 0;
    }
    else {
      var_17 = 0;
      var_8 = var_6;
      var_18 = var_14;
      do {
        while( true ) {
          var_16 = 1L << ((type_6)var_17 & 0x3f);
          var_27 = ~var_16 & *var_19;
          if ((*var_18 & var_16) != 0) {
            var_27 = var_16 | *var_19;
          }
          *var_19 = var_27;
          if (var_17 != 0x3f) break;
          var_18 = var_18 + 1;
          var_19 = var_19 + 1;
          var_17 = 0;
          var_8 = var_8 - 1;
          if (var_8 == 0) goto LAB_00165da0;
        }
        var_17 = var_17 + 1;
        var_8 = var_8 - 1;
      } while (var_8 != 0);
LAB_00165da0:
      var_8 = (type_1)var_17;
    }
    var_20 = var_8 + var_1;
    var_7 = var_20 + 0x3f;
    if (-1 < var_20) {
      var_7 = var_20;
    }
    var_18 = var_19 + (var_7 >> 6);
    var_8 = var_20 % 0x40;
    if ((long)var_8 < 0) {
      var_8 = var_8 + 0x40;
      var_18 = var_18 + -1;
    }
    var_21 = (type_4)var_8;
    var_27 = var_8 & 0xffffffff;
    var_22 = (char)var_8;
    if (var_18 == var_19) {
      if (var_21 != var_17) {
        var_16 = 0xffffffffffffffffU >> (0x40U - var_22 & 0x3f) & -1L << ((type_6)var_17 & 0x3f);
        var_8 = var_16 | *var_18;
        if (!__x) {
          var_8 = ~var_16 & *var_18;
        }
        *var_18 = var_8;
      }
      goto LAB_00165e60;
    }
    if (var_17 == 0) {
      sVar7 = (long)var_18 - (long)var_19;
      if (!__x) goto LAB_00166049;
LAB_00165e1b:
      var_23(var_19,-1,sVar7);
      if (var_8 != 0) {
        *var_18 = *var_18 | 0xffffffffffffffffU >> (0x40U - var_22 & 0x3f);
      }
    }
    else {
      var_13 = var_19 + 1;
      var_16 = -1L << ((type_6)var_17 & 0x3f);
      sVar7 = (long)var_18 - (long)var_13;
      if (__x) {
        *var_19 = var_16 | *var_19;
        var_19 = var_13;
        goto LAB_00165e1b;
      }
      *var_19 = ~var_16 & *var_19;
      var_19 = var_13;
LAB_00166049:
      var_23(var_19,0,sVar7);
      if (var_8 != 0) {
        *var_18 = *var_18 & ~(0xffffffffffffffffU >> (0x40U - var_22 & 0x3f));
      }
    }
    var_13 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
              _M_start.super__Bit_iterator_base._M_p;
LAB_00165e60:
    var_7 = ((type_1)(this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.
                     super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_offset +
             ((long)(this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.
                    super__Bvector_impl_data._M_finish.super__Bit_iterator_base._M_p - (long)var_14
             ) * 8) - var_6;
    if (0 < var_7) {
      do {
        while( true ) {
          var_25 = (int)var_27;
          var_8 = 1L << ((type_6)var_27 & 0x3f);
          var_6 = ~var_8 & *var_18;
          if ((*var_14 & 1L << ((type_6)var_24 & 0x3f)) != 0) {
            var_6 = var_8 | *var_18;
          }
          *var_18 = var_6;
          if (var_24 == 0x3f) break;
          var_24 = var_24 + 1;
          if (var_25 != 0x3f) goto LAB_00165e92;
LAB_00165eda:
          var_18 = var_18 + 1;
          var_27 = 0;
          var_21 = 0;
          var_7 = var_7 + -1;
          if (var_7 == 0) goto LAB_00165ee7;
        }
        var_14 = var_14 + 1;
        var_24 = 0;
        if (var_25 == 0x3f) goto LAB_00165eda;
LAB_00165e92:
        var_21 = var_25 + 1;
        var_27 = (type_1)var_21;
        var_7 = var_7 + -1;
      } while (var_7 != 0);
    }
LAB_00165ee7:
    if (var_13 != (type_1 *)0x0) {
      var_26(var_13);
    }
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_start.
    super__Bit_iterator_base._M_p = p_Var3;
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_start.
    super__Bit_iterator_base._M_offset = 0;
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = var_18;
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
    _M_end_of_storage = (_Bit_pointer)((long)var_28 + (long)p_Var3);
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_offset = var_21;
    return;
  }
  var_7 = var_1 + var_6;
  var_20 = var_7 + 0x3f;
  if (-1 < var_7) {
    var_20 = var_7;
  }
  var_28 = var_13 + (var_20 >> 6);
  var_27 = var_7 % 0x40;
  var_8 = var_27;
  var_19 = var_28;
  if ((long)var_27 < 0) {
    var_8 = var_27 + 0x40;
    var_19 = var_28 + -1;
  }
  var_16 = __position.super__Bit_iterator_base._8_8_ & 0xffffffff;
  var_7 = (var_6 + ((long)var_13 - (long)var_14) * 8) - var_16;
  if (0 < var_7) {
    do {
      var_25 = (int)var_8;
      if ((int)var_6 == 0) {
        var_13 = var_13 + -1;
        var_6 = 0x3f;
        var_29 = 0x8000000000000000;
        uVar6 = 0x8000000000000000;
        if (var_25 == 0) goto LAB_00165bbd;
LAB_00165b7f:
        var_8 = (type_1)(var_25 - 1U);
        var_30 = 1L << ((type_6)(var_25 - 1U) & 0x3f);
      }
      else {
        var_17 = (int)var_6 - 1;
        var_6 = (type_1)var_17;
        var_29 = 1L << ((type_6)var_17 & 0x3f);
        uVar6 = var_29;
        if (var_25 != 0) goto LAB_00165b7f;
LAB_00165bbd:
        var_19 = var_19 + -1;
        var_8 = 0x3f;
        var_30 = 0x8000000000000000;
        var_29 = uVar6;
      }
      uVar6 = ~var_30 & *var_19;
      if ((*var_13 & var_29) != 0) {
        uVar6 = *var_19 | var_30;
      }
      *var_19 = uVar6;
      var_7 = var_7 + -1;
    } while (var_7 != 0);
  }
  var_20 = var_16 + var_1;
  var_7 = var_20 + 0x3f;
  if (-1 < var_20) {
    var_7 = var_20;
  }
  var_13 = var_14 + (var_7 >> 6);
  var_20 = var_20 % 0x40;
  if (var_20 < 0) {
    var_20 = var_20 + 0x40;
    var_13 = var_13 + -1;
  }
  var_22 = (char)var_20;
  if (var_13 == var_14) {
    if ((type_4)var_20 != var_24) {
      var_8 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f) &
               0xffffffffffffffffU >> (0x40U - var_22 & 0x3f);
      var_6 = *var_13 | var_8;
      if (!__x) {
        var_6 = ~var_8 & *var_13;
      }
      *var_13 = var_6;
    }
    goto LAB_00165c8f;
  }
  if (var_24 == 0) {
    sVar7 = (long)var_13 - (long)var_14;
    local_88 = var_14;
    if (__x) goto LAB_00165c30;
LAB_00165faf:
    var_23(local_88,0,sVar7);
    if (var_20 != 0) {
      *var_13 = *var_13 & ~(0xffffffffffffffffU >> (0x40U - var_22 & 0x3f));
    }
  }
  else {
    local_88 = var_14 + 1;
    var_6 = -1L << (__position.super__Bit_iterator_base._M_offset & 0x3f);
    sVar7 = (long)var_13 - (long)local_88;
    if (!__x) {
      *var_14 = ~var_6 & *var_14;
      goto LAB_00165faf;
    }
    *var_14 = var_6 | *var_14;
LAB_00165c30:
    var_23(local_88,-1,sVar7);
    if (var_20 != 0) {
      *var_13 = *var_13 | 0xffffffffffffffffU >> (0x40U - var_22 & 0x3f);
    }
  }
  var_20 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
           _M_finish.super__Bit_iterator_base._M_offset + var_1;
  var_7 = var_20 + 0x3f;
  if (-1 < var_20) {
    var_7 = var_20;
  }
  var_28 = (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data.
             _M_finish.super__Bit_iterator_base._M_p + (var_7 >> 6);
  var_27 = var_20 % 0x40;
LAB_00165c8f:
  if ((long)var_27 < 0) {
    var_27 = var_27 + 0x40;
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = var_28 + -1;
  }
  else {
    (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_finish.
    super__Bit_iterator_base._M_p = var_28;
  }
  (this->super__Bvector_base<var_2::allocator<var_3>var_4>var_5)._M_impl.super__Bvector_impl_data._M_finish.
  super__Bit_iterator_base._M_offset = (type_4)var_27;
  return;
}


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

void MASKED(long *param_1,ulong *param_2,uint param_3,ulong param_4,char param_5)

{
  char cVar1;
  ulong uVar2;
  void *__dest;
  ulong uVar3;
  ulong uVar4;
  ulong uVar5;
  size_t sVar6;
  uint uVar7;
  ulong *puVar8;
  ulong *puVar9;
  long lVar10;
  ulong uVar11;
  ulong uVar12;
  ulong *puVar13;
  uint uVar14;
  int iVar15;
  long lVar16;
  ulong *local_88;
  ulong *local_78;
  
  if (param_4 == 0) {
    return;
  }
  puVar9 = (ulong *)param_1[2];
  uVar3 = (ulong)*(uint *)(param_1 + 3);
  lVar10 = uVar3 + ((long)puVar9 - *param_1) * 8;
  uVar11 = lVar10 - (ulong)*(uint *)(param_1 + 1);
  if ((ulong)((param_1[4] - *param_1) * 8 - lVar10) < param_4) {
    if (0x7fffffffffffffc0 - uVar11 < param_4) {
                    /* WARNING: Subroutine does not return */
      FUN_003195a0("vector<bool>::_M_fill_insert");
    }
    uVar3 = param_4;
    if (param_4 < uVar11) {
      uVar3 = uVar11;
    }
    if ((0x7fffffffffffffc0 < uVar11 + uVar3) || (CARRY8(uVar11,uVar3))) {
      local_78 = (ulong *)0xffffffffffffff8;
    }
    else {
      local_78 = (ulong *)((uVar11 + uVar3 + 0x3f >> 6) * 8);
    }
    __dest = (void *)FUN_002d94a0(local_78);
    puVar9 = (ulong *)*param_1;
    if (puVar9 != param_2) {
      __dest = memmove(__dest,puVar9,(long)param_2 - (long)puVar9);
    }
    uVar3 = (ulong)param_3;
    puVar8 = (ulong *)((long)__dest + ((long)param_2 - (long)puVar9));
    if (uVar3 == 0) {
      uVar11 = 0;
      uVar7 = 0;
    }
    else {
      uVar7 = 0;
      uVar11 = uVar3;
      puVar13 = param_2;
      do {
        while( true ) {
          uVar12 = 1L << ((byte)uVar7 & 0x3f);
          uVar2 = ~uVar12 & *puVar8;
          if ((*puVar13 & uVar12) != 0) {
            uVar2 = uVar12 | *puVar8;
          }
          *puVar8 = uVar2;
          if (uVar7 != 0x3f) break;
          puVar13 = puVar13 + 1;
          puVar8 = puVar8 + 1;
          uVar7 = 0;
          uVar11 = uVar11 - 1;
          if (uVar11 == 0) goto LAB_00165da0;
        }
        uVar7 = uVar7 + 1;
        uVar11 = uVar11 - 1;
      } while (uVar11 != 0);
LAB_00165da0:
      uVar11 = (ulong)uVar7;
    }
    lVar16 = uVar11 + param_4;
    lVar10 = lVar16 + 0x3f;
    if (-1 < lVar16) {
      lVar10 = lVar16;
    }
    puVar13 = puVar8 + (lVar10 >> 6);
    uVar11 = lVar16 % 0x40;
    if ((long)uVar11 < 0) {
      uVar11 = uVar11 + 0x40;
      puVar13 = puVar13 + -1;
    }
    uVar14 = (uint)uVar11;
    uVar2 = uVar11 & 0xffffffff;
    cVar1 = (char)uVar11;
    if (puVar13 == puVar8) {
      if (uVar14 != uVar7) {
        uVar12 = 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f) & -1L << ((byte)uVar7 & 0x3f);
        uVar11 = uVar12 | *puVar13;
        if (param_5 == '\0') {
          uVar11 = ~uVar12 & *puVar13;
        }
        *puVar13 = uVar11;
      }
      goto LAB_00165e60;
    }
    if (uVar7 == 0) {
      sVar6 = (long)puVar13 - (long)puVar8;
      if (param_5 == '\0') goto LAB_00166049;
LAB_00165e1b:
      memset(puVar8,-1,sVar6);
      if (uVar11 != 0) {
        *puVar13 = *puVar13 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      }
    }
    else {
      puVar9 = puVar8 + 1;
      uVar12 = -1L << ((byte)uVar7 & 0x3f);
      sVar6 = (long)puVar13 - (long)puVar9;
      if (param_5 != '\0') {
        *puVar8 = uVar12 | *puVar8;
        puVar8 = puVar9;
        goto LAB_00165e1b;
      }
      *puVar8 = ~uVar12 & *puVar8;
      puVar8 = puVar9;
LAB_00166049:
      memset(puVar8,0,sVar6);
      if (uVar11 != 0) {
        *puVar13 = *puVar13 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
      }
    }
    puVar9 = (ulong *)*param_1;
LAB_00165e60:
    lVar10 = ((ulong)*(uint *)(param_1 + 3) + (param_1[2] - (long)param_2) * 8) - uVar3;
    if (0 < lVar10) {
      do {
        while( true ) {
          iVar15 = (int)uVar2;
          uVar11 = 1L << ((byte)uVar2 & 0x3f);
          uVar3 = ~uVar11 & *puVar13;
          if ((*param_2 & 1L << ((byte)param_3 & 0x3f)) != 0) {
            uVar3 = uVar11 | *puVar13;
          }
          *puVar13 = uVar3;
          if (param_3 == 0x3f) break;
          param_3 = param_3 + 1;
          if (iVar15 != 0x3f) goto LAB_00165e92;
LAB_00165eda:
          puVar13 = puVar13 + 1;
          uVar2 = 0;
          uVar14 = 0;
          lVar10 = lVar10 + -1;
          if (lVar10 == 0) goto LAB_00165ee7;
        }
        param_2 = param_2 + 1;
        param_3 = 0;
        if (iVar15 == 0x3f) goto LAB_00165eda;
LAB_00165e92:
        uVar14 = iVar15 + 1;
        uVar2 = (ulong)uVar14;
        lVar10 = lVar10 + -1;
      } while (lVar10 != 0);
    }
LAB_00165ee7:
    if (puVar9 != (ulong *)0x0) {
      FUN_002dac70(puVar9);
    }
    *param_1 = (long)__dest;
    *(undefined4 *)(param_1 + 1) = 0;
    param_1[2] = (long)puVar13;
    param_1[4] = (long)local_78 + (long)__dest;
    *(uint *)(param_1 + 3) = uVar14;
    return;
  }
  lVar10 = param_4 + uVar3;
  lVar16 = lVar10 + 0x3f;
  if (-1 < lVar10) {
    lVar16 = lVar10;
  }
  local_78 = puVar9 + (lVar16 >> 6);
  uVar2 = lVar10 % 0x40;
  uVar11 = uVar2;
  puVar8 = local_78;
  if ((long)uVar2 < 0) {
    uVar11 = uVar2 + 0x40;
    puVar8 = local_78 + -1;
  }
  lVar10 = (uVar3 + ((long)puVar9 - (long)param_2) * 8) - (ulong)param_3;
  if (0 < lVar10) {
    do {
      iVar15 = (int)uVar11;
      if ((int)uVar3 == 0) {
        puVar9 = puVar9 + -1;
        uVar3 = 0x3f;
        uVar12 = 0x8000000000000000;
        uVar5 = 0x8000000000000000;
        if (iVar15 == 0) goto LAB_00165bbd;
LAB_00165b7f:
        uVar11 = (ulong)(iVar15 - 1U);
        uVar4 = 1L << ((byte)(iVar15 - 1U) & 0x3f);
      }
      else {
        uVar7 = (int)uVar3 - 1;
        uVar3 = (ulong)uVar7;
        uVar12 = 1L << ((byte)uVar7 & 0x3f);
        uVar5 = uVar12;
        if (iVar15 != 0) goto LAB_00165b7f;
LAB_00165bbd:
        puVar8 = puVar8 + -1;
        uVar11 = 0x3f;
        uVar4 = 0x8000000000000000;
        uVar12 = uVar5;
      }
      uVar5 = ~uVar4 & *puVar8;
      if ((*puVar9 & uVar12) != 0) {
        uVar5 = *puVar8 | uVar4;
      }
      *puVar8 = uVar5;
      lVar10 = lVar10 + -1;
    } while (lVar10 != 0);
  }
  lVar16 = param_3 + param_4;
  lVar10 = lVar16 + 0x3f;
  if (-1 < lVar16) {
    lVar10 = lVar16;
  }
  puVar9 = param_2 + (lVar10 >> 6);
  lVar16 = lVar16 % 0x40;
  if (lVar16 < 0) {
    lVar16 = lVar16 + 0x40;
    puVar9 = puVar9 + -1;
  }
  cVar1 = (char)lVar16;
  if (puVar9 == param_2) {
    if ((uint)lVar16 != param_3) {
      uVar11 = -1L << ((byte)param_3 & 0x3f) & 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
      uVar3 = *puVar9 | uVar11;
      if (param_5 == '\0') {
        uVar3 = ~uVar11 & *puVar9;
      }
      *puVar9 = uVar3;
    }
    goto LAB_00165c8f;
  }
  if (param_3 == 0) {
    sVar6 = (long)puVar9 - (long)param_2;
    local_88 = param_2;
    if (param_5 != '\0') goto LAB_00165c30;
LAB_00165faf:
    memset(local_88,0,sVar6);
    if (lVar16 != 0) {
      *puVar9 = *puVar9 & ~(0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f));
    }
  }
  else {
    local_88 = param_2 + 1;
    uVar3 = -1L << ((byte)param_3 & 0x3f);
    sVar6 = (long)puVar9 - (long)local_88;
    if (param_5 == '\0') {
      *param_2 = ~uVar3 & *param_2;
      goto LAB_00165faf;
    }
    *param_2 = uVar3 | *param_2;
LAB_00165c30:
    memset(local_88,-1,sVar6);
    if (lVar16 != 0) {
      *puVar9 = *puVar9 | 0xffffffffffffffffU >> (0x40U - cVar1 & 0x3f);
    }
  }
  lVar16 = *(uint *)(param_1 + 3) + param_4;
  lVar10 = lVar16 + 0x3f;
  if (-1 < lVar16) {
    lVar10 = lVar16;
  }
  local_78 = (ulong *)(param_1[2] + (lVar10 >> 6) * 8);
  uVar2 = lVar16 % 0x40;
LAB_00165c8f:
  if ((long)uVar2 < 0) {
    uVar2 = uVar2 + 0x40;
    param_1[2] = (long)(local_78 + -1);
  }
  else {
    param_1[2] = (long)local_78;
  }
  *(int *)(param_1 + 3) = (int)uVar2;
  return;
}

