// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/bitpackstringop64.c
// Function: gt_bsStoreNonUniformUInt64Array
void
gt_bsStoreNonUniformUInt64Array(
  BitString str, BitOffset offset, GT_UNUSED size_t numValues,
  BitOffset totalBitsLeft, unsigned numBitsList[], const uint64_t val[])
{
  /* idea: read as much as possible from val in each iteration,
   * accumulate if bitsInAccum < bitElemBits */
  size_t j = 0;
  unsigned bitTop = offset%bitElemBits,
    bitsLeft; /*< how many bits in currentVal == val[j] are left */
  BitElem *p = str + offset/bitElemBits;
  unsigned bitsInAccum;
  GtUint64 accum, valMask = ~(GtUint64)0, currentVal;
  gt_assert(numBitsList != NULL);
  gt_assert(val != NULL);
  gt_assert(numValues != 0);
  if (numBitsList[0] < (sizeof (val[0])*CHAR_BIT))
    valMask = ~(valMask << numBitsList[0]);
  gt_assert(str && val);
  gt_assert(numBitsList[0] <= sizeof (val[0])*CHAR_BIT);
  /* user requested zero values, ugly but must be handled, since legal */
  if (!totalBitsLeft)
  {
    return;
  }
  accum = val[0] & valMask;
  totalBitsLeft -= bitsInAccum = numBitsList[0];
  if (totalBitsLeft)
  {
    unsigned numBits = numBitsList[++j];
    gt_assert(numBits <= sizeof (val[0])*CHAR_BIT);
    valMask = (numBits < 64)?
      ~((~(uint64_t)0) << numBits):~(uint64_t)0;
    currentVal = val[j] & valMask;
    totalBitsLeft -= bitsLeft = numBits;
  }
  else
  {
    currentVal = 0;
    bitsLeft = 0;
  }
  /* set bits of first element if not aligned */
  if (bitTop)
  {
    BitElem mask = ~(~(GtUint64)0 << (bitElemBits - bitTop));
    while ((totalBitsLeft || bitsLeft) && bitsInAccum < bitElemBits - bitTop)
    {
      unsigned bits2Read, bitsFree = sizeof (accum)*CHAR_BIT - bitsInAccum;

      if ((bits2Read = GT_MIN(bitsFree, bitsLeft)) < sizeof (accum)*CHAR_BIT)
      {
        accum = accum << bits2Read
          | ((currentVal) >> (bitsLeft - bits2Read));
      }
      else
        accum = currentVal;

      /* all of val[j] consumed? */
      bitsInAccum += bits2Read;
      if (!(bitsLeft -= bits2Read) && totalBitsLeft)
      {
        unsigned numBits = numBitsList[++j];
        gt_assert(numBits <= sizeof (val[0])*CHAR_BIT);
        valMask = (numBits < 64)?
          ~((~(uint64_t)0) << numBits):~(uint64_t)0;
        currentVal = val[j] & valMask, totalBitsLeft -= bitsLeft = numBits;
      }
    }
    /* at this point accum holds as many bits as we could get
     * to fill the first BitElem in str, but did we get enough? */
    if (bitsInAccum < bitElemBits - bitTop)
    {
      /* no there's not enough */
      unsigned backShift = bitElemBits - bitsInAccum - bitTop;
      mask &= ~(GtUint64)0 << backShift;
      *p = (*p & ~mask) | ((accum << backShift) & mask);
      /* TODO: try wether  r = a ^ ((a ^ b) & mask) is faster, see below */
      return; /* if we couldn't gather more bits, there's none left */
    }
    else
    {
      /* yep, just or with accumVals */
      *p = (*p & ~mask) | (accum >> (bitsInAccum - bitElemBits + bitTop));
      ++p;
      bitsInAccum -= bitElemBits - bitTop;
    }
  }

  while (totalBitsLeft || (bitsInAccum + bitsLeft) > bitElemBits)
  {
    while ((totalBitsLeft || bitsLeft)
          && ((bitsInAccum < bitElemBits)
              || (bitsLeft < sizeof (accum)*CHAR_BIT - bitsInAccum)))
    {
      unsigned bits2Read, bitsFree = sizeof (accum)*CHAR_BIT - bitsInAccum;
      if ((bits2Read = GT_MIN(bitsFree, bitsLeft)) < sizeof (accum)*CHAR_BIT)
      {
        GtUint64 mask = ~((~(GtUint64)0) << bits2Read);
        accum = accum << bits2Read
          | ((currentVal >> (bitsLeft - bits2Read)) & mask);
      }
      else
        accum = currentVal;
      bitsInAccum += bits2Read;
      /* all of currentVal == val[j] consumed? */
      if (bits2Read == bitsLeft && totalBitsLeft)
      {
        unsigned numBits = numBitsList[++j];
        gt_assert(numBits <= sizeof (val[0])*CHAR_BIT);
        valMask = (numBits < 64)?
          ~((~(uint64_t)0) << numBits):~(uint64_t)0;
        currentVal = val[j] & valMask, totalBitsLeft -= bitsLeft = numBits;
      }
      else
        bitsLeft -= bits2Read;
    }
    /* now we have enough bits in accum */
    while (bitsInAccum >= bitElemBits)
    {
      *p++ = accum >> (bitsInAccum - bitElemBits);
      bitsInAccum -= bitElemBits;
    }
  }
  /* write the rest bits left in accum and currentVal */
  accum = (accum << bitsLeft)
    | (currentVal & (valMask >> (numBitsList[j] - bitsLeft)));
  bitsInAccum += bitsLeft;
  while (bitsInAccum >= bitElemBits)
  {
    *p++ = accum >> (bitsInAccum - bitElemBits);
    bitsInAccum -= bitElemBits;
  }
  if (bitsInAccum)
  {
    GtUint64 mask =
      ~(GtUint64)0 << (bitElemBits - bitsInAccum);
    *p = (*p & ~mask) | ((accum << (bitElemBits - bitsInAccum))& mask);
  }
}

// Assembly:
subq $0xd8, %rsp
movq %rdi, 0xd0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdx, 0xc0(%rsp)
movq %rcx, 0xb8(%rsp)
movq %r8, 0xb0(%rsp)
movq %r9, 0xa8(%rsp)
movq $0x0, 0xa0(%rsp)
movq 0xc8(%rsp), %rax
andq $0x7, %rax
movl %eax, 0x9c(%rsp)
movq 0xd0(%rsp), %rax
movq 0xc8(%rsp), %rcx
shrq $0x3, %rcx
addq %rcx, %rax
movq %rax, 0x90(%rsp)
movq $-0x1, 0x78(%rsp)
cmpq $0x0, 0xb0(%rsp)
jne 0x478861
movq 0x1c3770(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d7d9(%rip), %rsi     # 0x516013
leaq 0x1375c4(%rip), %rdx    # 0x5afe05
leaq 0x137869(%rip), %rcx    # 0x5b00b1
leaq 0x1377c1(%rip), %r8     # 0x5b0010
movl $0x1fb, %r9d            # imm = 0x1FB
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x478863
jmp 0x478865
cmpq $0x0, 0xa8(%rsp)
jne 0x4788a8
movq 0x1c3729(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d792(%rip), %rsi     # 0x516013
leaq 0xfe725(%rip), %rdx     # 0x576fad
leaq 0x137822(%rip), %rcx    # 0x5b00b1
leaq 0x13777a(%rip), %r8     # 0x5b0010
movl $0x1fc, %r9d            # imm = 0x1FC
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4788aa
jmp 0x4788ac
cmpq $0x0, 0xc0(%rsp)
jne 0x4788ef
movq 0x1c36e2(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d74b(%rip), %rsi     # 0x516013
leaq 0x13756a(%rip), %rdx    # 0x5afe39
leaq 0x1377db(%rip), %rcx    # 0x5b00b1
leaq 0x137733(%rip), %r8     # 0x5b0010
movl $0x1fd, %r9d            # imm = 0x1FD
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4788f1
movq 0xb0(%rsp), %rax
movl (%rax), %eax
cmpq $0x40, %rax
jae 0x47891c
movq 0x78(%rsp), %rax
movq 0xb0(%rsp), %rcx
movl (%rcx), %ecx
shlq %cl, %rax
xorq $-0x1, %rax
movq %rax, 0x78(%rsp)
jmp 0x47891e
cmpq $0x0, 0xd0(%rsp)
je 0x478934
cmpq $0x0, 0xa8(%rsp)
jne 0x47896c
movq 0x1c3665(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d6ce(%rip), %rsi     # 0x516013
leaq 0x137417(%rip), %rdx    # 0x5afd63
leaq 0x13775e(%rip), %rcx    # 0x5b00b1
leaq 0x1376b6(%rip), %r8     # 0x5b0010
movl $0x200, %r9d            # imm = 0x200
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x47896e
jmp 0x478970
movq 0xb0(%rsp), %rax
movl (%rax), %eax
cmpq $0x40, %rax
jbe 0x4789b8
movq 0x1c3619(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d682(%rip), %rsi     # 0x516013
leaq 0x1374b0(%rip), %rdx    # 0x5afe48
leaq 0x137712(%rip), %rcx    # 0x5b00b1
leaq 0x13766a(%rip), %r8     # 0x5b0010
movl $0x201, %r9d            # imm = 0x201
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x4789ba
cmpq $0x0, 0xb8(%rsp)
jne 0x4789ca
jmp 0x479234
movq 0xa8(%rsp), %rax
movq (%rax), %rax
andq 0x78(%rsp), %rax
movq %rax, 0x80(%rsp)
movq 0xb0(%rsp), %rax
movl (%rax), %eax
movl %eax, 0x8c(%rsp)
movl %eax, %eax
movl %eax, %ecx
movq 0xb8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xb8(%rsp)
cmpq $0x0, 0xb8(%rsp)
je 0x478b00
movq 0xb0(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, 0xa0(%rsp)
movl 0x4(%rax,%rcx,4), %eax
movl %eax, 0x6c(%rsp)
movl 0x6c(%rsp), %eax
cmpq $0x40, %rax
jbe 0x478a82
movq 0x1c354f(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d5b8(%rip), %rsi     # 0x516013
leaq 0x137327(%rip), %rdx    # 0x5afd89
leaq 0x137648(%rip), %rcx    # 0x5b00b1
leaq 0x1375a0(%rip), %r8     # 0x5b0010
movl $0x20c, %r9d            # imm = 0x20C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x478a84
cmpl $0x40, 0x6c(%rsp)
jae 0x478aa6
movl 0x6c(%rsp), %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
xorq $-0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x478ab4
movq $-0x1, %rax
movq %rax, 0x30(%rsp)
jmp 0x478ab4
movq 0x30(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq (%rax,%rcx,8), %rax
andq 0x78(%rsp), %rax
movq %rax, 0x70(%rsp)
movl 0x6c(%rsp), %eax
movl %eax, 0x98(%rsp)
movl %eax, %eax
movl %eax, %ecx
movq 0xb8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xb8(%rsp)
jmp 0x478b14
movq $0x0, 0x70(%rsp)
movl $0x0, 0x98(%rsp)
cmpl $0x0, 0x9c(%rsp)
je 0x478e43
movl $0x8, %eax
subl 0x9c(%rsp), %eax
movl %eax, %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
xorq $-0x1, %rax
movb %al, 0x6b(%rsp)
cmpq $0x0, 0xb8(%rsp)
jne 0x478b5f
xorl %eax, %eax
cmpl $0x0, 0x98(%rsp)
movb %al, 0x2f(%rsp)
je 0x478b7b
movl 0x8c(%rsp), %eax
movl $0x8, %ecx
subl 0x9c(%rsp), %ecx
cmpl %ecx, %eax
setb %al
movb %al, 0x2f(%rsp)
movb 0x2f(%rsp), %al
testb $0x1, %al
jne 0x478b88
jmp 0x478d38
movl 0x8c(%rsp), %eax
movl %eax, %ecx
movl $0x40, %eax
subq %rcx, %rax
movl %eax, 0x60(%rsp)
movl 0x60(%rsp), %eax
cmpl 0x98(%rsp), %eax
jae 0x478bb4
movl 0x60(%rsp), %eax
movl %eax, 0x28(%rsp)
jmp 0x478bbf
movl 0x98(%rsp), %eax
movl %eax, 0x28(%rsp)
movl 0x28(%rsp), %eax
movl %eax, 0x64(%rsp)
movl %eax, %eax
cmpq $0x40, %rax
jae 0x478c03
movq 0x80(%rsp), %rax
movl 0x64(%rsp), %ecx
shlq %cl, %rax
movq 0x70(%rsp), %rdx
movl 0x98(%rsp), %ecx
subl 0x64(%rsp), %ecx
movl %ecx, %ecx
shrq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movq %rax, 0x80(%rsp)
jmp 0x478c10
movq 0x70(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x64(%rsp), %eax
addl 0x8c(%rsp), %eax
movl %eax, 0x8c(%rsp)
movl 0x64(%rsp), %ecx
movl 0x98(%rsp), %eax
subl %ecx, %eax
movl %eax, 0x98(%rsp)
cmpl $0x0, %eax
jne 0x478d33
cmpq $0x0, 0xb8(%rsp)
je 0x478d33
movq 0xb0(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, 0xa0(%rsp)
movl 0x4(%rax,%rcx,4), %eax
movl %eax, 0x5c(%rsp)
movl 0x5c(%rsp), %eax
cmpq $0x40, %rax
jbe 0x478cb7
movq 0x1c331a(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d383(%rip), %rsi     # 0x516013
leaq 0x1370f2(%rip), %rdx    # 0x5afd89
leaq 0x137413(%rip), %rcx    # 0x5b00b1
leaq 0x13736b(%rip), %r8     # 0x5b0010
movl $0x22c, %r9d            # imm = 0x22C
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x478cb9
cmpl $0x40, 0x5c(%rsp)
jae 0x478cdb
movl 0x5c(%rsp), %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
xorq $-0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x478ce9
movq $-0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x478ce9
movq 0x20(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq (%rax,%rcx,8), %rax
andq 0x78(%rsp), %rax
movq %rax, 0x70(%rsp)
movl 0x5c(%rsp), %eax
movl %eax, 0x98(%rsp)
movl %eax, %eax
movl %eax, %ecx
movq 0xb8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xb8(%rsp)
jmp 0x478b44
movl 0x8c(%rsp), %eax
movl $0x8, %ecx
subl 0x9c(%rsp), %ecx
cmpl %ecx, %eax
jae 0x478dca
movl $0x8, %eax
subl 0x8c(%rsp), %eax
subl 0x9c(%rsp), %eax
movl %eax, 0x58(%rsp)
movl 0x58(%rsp), %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
movq %rax, %rcx
movzbl 0x6b(%rsp), %eax
andq %rcx, %rax
movb %al, 0x6b(%rsp)
movq 0x90(%rsp), %rax
movzbl (%rax), %eax
movzbl 0x6b(%rsp), %ecx
xorl $-0x1, %ecx
andl %ecx, %eax
cltq
movq 0x80(%rsp), %rdx
movl 0x58(%rsp), %ecx
shlq %cl, %rdx
movq %rdx, %rcx
movzbl 0x6b(%rsp), %edx
andq %rdx, %rcx
orq %rcx, %rax
movb %al, %cl
movq 0x90(%rsp), %rax
movb %cl, (%rax)
jmp 0x479234
movq 0x90(%rsp), %rax
movzbl (%rax), %eax
movzbl 0x6b(%rsp), %ecx
xorl $-0x1, %ecx
andl %ecx, %eax
cltq
movq 0x80(%rsp), %rdx
movl 0x8c(%rsp), %ecx
subl $0x8, %ecx
addl 0x9c(%rsp), %ecx
movl %ecx, %ecx
shrq %cl, %rdx
movq %rdx, %rcx
orq %rcx, %rax
movb %al, %cl
movq 0x90(%rsp), %rax
movb %cl, (%rax)
movq 0x90(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x90(%rsp)
movl $0x8, %ecx
subl 0x9c(%rsp), %ecx
movl 0x8c(%rsp), %eax
subl %ecx, %eax
movl %eax, 0x8c(%rsp)
jmp 0x478e43
jmp 0x478e45
movb $0x1, %al
cmpq $0x0, 0xb8(%rsp)
movb %al, 0x1f(%rsp)
jne 0x478e6e
movl 0x8c(%rsp), %eax
addl 0x98(%rsp), %eax
cmpl $0x8, %eax
seta %al
movb %al, 0x1f(%rsp)
movb 0x1f(%rsp), %al
testb $0x1, %al
jne 0x478e7b
jmp 0x47910d
jmp 0x478e7d
cmpq $0x0, 0xb8(%rsp)
jne 0x478e98
xorl %eax, %eax
cmpl $0x0, 0x98(%rsp)
movb %al, 0x1e(%rsp)
je 0x478ed2
movb $0x1, %al
cmpl $0x8, 0x8c(%rsp)
movb %al, 0x1d(%rsp)
jb 0x478eca
movl 0x98(%rsp), %eax
movl 0x8c(%rsp), %ecx
movl %ecx, %edx
movl $0x40, %ecx
subq %rdx, %rcx
cmpq %rcx, %rax
setb %al
movb %al, 0x1d(%rsp)
movb 0x1d(%rsp), %al
movb %al, 0x1e(%rsp)
movb 0x1e(%rsp), %al
testb $0x1, %al
jne 0x478edf
jmp 0x4790b7
movl 0x8c(%rsp), %eax
movl %eax, %ecx
movl $0x40, %eax
subq %rcx, %rax
movl %eax, 0x50(%rsp)
movl 0x50(%rsp), %eax
cmpl 0x98(%rsp), %eax
jae 0x478f0b
movl 0x50(%rsp), %eax
movl %eax, 0x18(%rsp)
jmp 0x478f16
movl 0x98(%rsp), %eax
movl %eax, 0x18(%rsp)
movl 0x18(%rsp), %eax
movl %eax, 0x54(%rsp)
movl %eax, %eax
cmpq $0x40, %rax
jae 0x478f78
movl 0x54(%rsp), %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
xorq $-0x1, %rax
movq %rax, 0x48(%rsp)
movq 0x80(%rsp), %rax
movl 0x54(%rsp), %ecx
shlq %cl, %rax
movq 0x70(%rsp), %rdx
movl 0x98(%rsp), %ecx
subl 0x54(%rsp), %ecx
movl %ecx, %ecx
shrq %cl, %rdx
movq %rdx, %rcx
andq 0x48(%rsp), %rcx
orq %rcx, %rax
movq %rax, 0x80(%rsp)
jmp 0x478f85
movq 0x70(%rsp), %rax
movq %rax, 0x80(%rsp)
movl 0x54(%rsp), %eax
addl 0x8c(%rsp), %eax
movl %eax, 0x8c(%rsp)
movl 0x54(%rsp), %eax
cmpl 0x98(%rsp), %eax
jne 0x47909e
cmpq $0x0, 0xb8(%rsp)
je 0x47909e
movq 0xb0(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, 0xa0(%rsp)
movl 0x4(%rax,%rcx,4), %eax
movl %eax, 0x44(%rsp)
movl 0x44(%rsp), %eax
cmpq $0x40, %rax
jbe 0x479020
movq 0x1c2fb1(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x9d01a(%rip), %rsi     # 0x516013
leaq 0x136d89(%rip), %rdx    # 0x5afd89
leaq 0x1370aa(%rip), %rcx    # 0x5b00b1
leaq 0x137002(%rip), %r8     # 0x5b0010
movl $0x25a, %r9d            # imm = 0x25A
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x479022
cmpl $0x40, 0x44(%rsp)
jae 0x479044
movl 0x44(%rsp), %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
xorq $-0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x479052
movq $-0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x479052
movq 0x10(%rsp), %rax
movq %rax, 0x78(%rsp)
movq 0xa8(%rsp), %rax
movq 0xa0(%rsp), %rcx
movq (%rax,%rcx,8), %rax
andq 0x78(%rsp), %rax
movq %rax, 0x70(%rsp)
movl 0x44(%rsp), %eax
movl %eax, 0x98(%rsp)
movl %eax, %eax
movl %eax, %ecx
movq 0xb8(%rsp), %rax
subq %rcx, %rax
movq %rax, 0xb8(%rsp)
jmp 0x4790b2
movl 0x54(%rsp), %ecx
movl 0x98(%rsp), %eax
subl %ecx, %eax
movl %eax, 0x98(%rsp)
jmp 0x478e7d
jmp 0x4790b9
cmpl $0x8, 0x8c(%rsp)
jb 0x479108
movq 0x80(%rsp), %rax
movl 0x8c(%rsp), %ecx
subl $0x8, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movb %al, %cl
movq 0x90(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x90(%rsp)
movb %cl, (%rax)
movl 0x8c(%rsp), %eax
subl $0x8, %eax
movl %eax, 0x8c(%rsp)
jmp 0x4790b9
jmp 0x478e45
movq 0x80(%rsp), %rax
movl 0x98(%rsp), %ecx
shlq %cl, %rax
movq 0x70(%rsp), %rcx
movq %rcx, 0x8(%rsp)
movq 0x78(%rsp), %rdx
movq 0xb0(%rsp), %rcx
movq 0xa0(%rsp), %rsi
movl (%rcx,%rsi,4), %ecx
subl 0x98(%rsp), %ecx
movl %ecx, %ecx
shrq %cl, %rdx
movq 0x8(%rsp), %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, 0x80(%rsp)
movl 0x98(%rsp), %eax
addl 0x8c(%rsp), %eax
movl %eax, 0x8c(%rsp)
cmpl $0x8, 0x8c(%rsp)
jb 0x4791c4
movq 0x80(%rsp), %rax
movl 0x8c(%rsp), %ecx
subl $0x8, %ecx
movl %ecx, %ecx
shrq %cl, %rax
movb %al, %cl
movq 0x90(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x90(%rsp)
movb %cl, (%rax)
movl 0x8c(%rsp), %eax
subl $0x8, %eax
movl %eax, 0x8c(%rsp)
jmp 0x479175
cmpl $0x0, 0x8c(%rsp)
je 0x479234
movl $0x8, %eax
subl 0x8c(%rsp), %eax
movl %eax, %eax
movl %eax, %ecx
movq $-0x1, %rax
shlq %cl, %rax
movq %rax, 0x38(%rsp)
movq 0x90(%rsp), %rax
movzbl (%rax), %eax
movq 0x38(%rsp), %rcx
xorq $-0x1, %rcx
andq %rcx, %rax
movq 0x80(%rsp), %rdx
movl $0x8, %ecx
subl 0x8c(%rsp), %ecx
movl %ecx, %ecx
shlq %cl, %rdx
movq %rdx, %rcx
andq 0x38(%rsp), %rcx
orq %rcx, %rax
movb %al, %cl
movq 0x90(%rsp), %rax
movb %cl, (%rax)
addq $0xd8, %rsp
retq
nopl (%rax)