// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: storeAtts
static enum XML_Error
storeAtts(XML_Parser parser, const ENCODING *enc,
          const char *attStr, TAG_NAME *tagNamePtr,
          BINDING **bindingsPtr)
{
  DTD * const dtd = _dtd;  /* save one level of indirection */
  ELEMENT_TYPE *elementType;
  int nDefaultAtts;
  const XML_Char **appAtts;   /* the attribute list for the application */
  int attIndex = 0;
  int prefixLen;
  int i;
  int n;
  XML_Char *uri;
  int nPrefixes = 0;
  BINDING *binding;
  const XML_Char *localPart;

  /* lookup the element type name */
  elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, tagNamePtr->str,0);
  if (!elementType) {
    const XML_Char *name = poolCopyString(&dtd->pool, tagNamePtr->str);
    if (!name)
      return XML_ERROR_NO_MEMORY;
    elementType = (ELEMENT_TYPE *)lookup(&dtd->elementTypes, name,
                                         sizeof(ELEMENT_TYPE));
    if (!elementType)
      return XML_ERROR_NO_MEMORY;
    if (ns && !setElementTypePrefix(parser, elementType))
      return XML_ERROR_NO_MEMORY;
  }
  nDefaultAtts = elementType->nDefaultAtts;

  /* get the attributes from the tokenizer */
  n = XmlGetAttributes(enc, attStr, attsSize, atts);
  if (n + nDefaultAtts > attsSize) {
    int oldAttsSize = attsSize;
    ATTRIBUTE *temp;
    attsSize = n + nDefaultAtts + INIT_ATTS_SIZE;
    temp = (ATTRIBUTE *)REALLOC((void *)atts, attsSize * sizeof(ATTRIBUTE));
    if (temp == NULL)
      return XML_ERROR_NO_MEMORY;
    atts = temp;
    if (n > oldAttsSize)
      XmlGetAttributes(enc, attStr, n, atts);
  }

  appAtts = (const XML_Char **)atts;
  for (i = 0; i < n; i++) {
    /* add the name and value to the attribute list */
    ATTRIBUTE_ID *attId = getAttributeId(parser, enc, atts[i].name,
                                         atts[i].name
                                         + XmlNameLength(enc, atts[i].name));
    if (!attId)
      return XML_ERROR_NO_MEMORY;
    /* Detect duplicate attributes by their QNames. This does not work when
       namespace processing is turned on and different prefixes for the same
       namespace are used. For this case we have a check further down.
    */
    if ((attId->name)[-1]) {
      if (enc == encoding)
        eventPtr = atts[i].name;
      return XML_ERROR_DUPLICATE_ATTRIBUTE;
    }
    (attId->name)[-1] = 1;
    appAtts[attIndex++] = attId->name;
    if (!atts[i].normalized) {
      enum XML_Error result;
      XML_Bool isCdata = XML_TRUE;

      /* figure out whether declared as other than CDATA */
      if (attId->maybeTokenized) {
        int j;
        for (j = 0; j < nDefaultAtts; j++) {
          if (attId == elementType->defaultAtts[j].id) {
            isCdata = elementType->defaultAtts[j].isCdata;
            break;
          }
        }
      }

      /* normalize the attribute value */
      result = storeAttributeValue(parser, enc, isCdata,
                                   atts[i].valuePtr, atts[i].valueEnd,
                                   &tempPool);
      if (result)
        return result;
      appAtts[attIndex] = poolStart(&tempPool);
      poolFinish(&tempPool);
    }
    else {
      /* the value did not need normalizing */
      appAtts[attIndex] = poolStoreString(&tempPool, enc, atts[i].valuePtr,
                                          atts[i].valueEnd);
      if (appAtts[attIndex] == 0)
        return XML_ERROR_NO_MEMORY;
      poolFinish(&tempPool);
    }
    /* handle prefixed attribute names */
    if (attId->prefix) {
      if (attId->xmlns) {
        /* deal with namespace declarations here */
        enum XML_Error result = addBinding(parser, attId->prefix, attId,
                                           appAtts[attIndex], bindingsPtr);
        if (result)
          return result;
        --attIndex;
      }
      else {
        /* deal with other prefixed names later */
        attIndex++;
        nPrefixes++;
        (attId->name)[-1] = 2;
      }
    }
    else
      attIndex++;
  }

  /* set-up for XML_GetSpecifiedAttributeCount and XML_GetIdAttributeIndex */
  nSpecifiedAtts = attIndex;
  if (elementType->idAtt && (elementType->idAtt->name)[-1]) {
    for (i = 0; i < attIndex; i += 2)
      if (appAtts[i] == elementType->idAtt->name) {
        idAttIndex = i;
        break;
      }
  }
  else
    idAttIndex = -1;

  /* do attribute defaulting */
  for (i = 0; i < nDefaultAtts; i++) {
    const DEFAULT_ATTRIBUTE *da = elementType->defaultAtts + i;
    if (!(da->id->name)[-1] && da->value) {
      if (da->id->prefix) {
        if (da->id->xmlns) {
          enum XML_Error result = addBinding(parser, da->id->prefix, da->id,
                                             da->value, bindingsPtr);
          if (result)
            return result;
        }
        else {
          (da->id->name)[-1] = 2;
          nPrefixes++;
          appAtts[attIndex++] = da->id->name;
          appAtts[attIndex++] = da->value;
        }
      }
      else {
        (da->id->name)[-1] = 1;
        appAtts[attIndex++] = da->id->name;
        appAtts[attIndex++] = da->value;
      }
    }
  }
  appAtts[attIndex] = 0;

  /* expand prefixed attribute names, check for duplicates,
     and clear flags that say whether attributes were specified */
  i = 0;
  if (nPrefixes) {
    int j;  /* hash table index */
    unsigned long version = nsAttsVersion;
    int nsAttsSize = (int)1 << nsAttsPower;
    /* size of hash table must be at least 2 * (# of prefixed attributes) */
    if ((nPrefixes << 1) >> nsAttsPower) {  /* true for nsAttsPower = 0 */
      NS_ATT *temp;
      /* hash table size must also be a power of 2 and >= 8 */
      while (nPrefixes >> nsAttsPower++);
      if (nsAttsPower < 3)
        nsAttsPower = 3;
      nsAttsSize = (int)1 << nsAttsPower;
      temp = (NS_ATT *)REALLOC(nsAtts, nsAttsSize * sizeof(NS_ATT));
      if (!temp)
        return XML_ERROR_NO_MEMORY;
      nsAtts = temp;
      version = 0;  /* force re-initialization of nsAtts hash table */
    }
    /* using a version flag saves us from initializing nsAtts every time */
    if (!version) {  /* initialize version flags when version wraps around */
      version = INIT_ATTS_VERSION;
      for (j = nsAttsSize; j != 0; )
        nsAtts[--j].version = version;
    }
    nsAttsVersion = --version;

    /* expand prefixed names and check for duplicates */
    for (; i < attIndex; i += 2) {
      const XML_Char *s = appAtts[i];
      if (s[-1] == 2) {  /* prefixed */
        ATTRIBUTE_ID *id;
        const BINDING *b;
        unsigned long uriHash = 0;
        ((XML_Char *)s)[-1] = 0;  /* clear flag */
        id = (ATTRIBUTE_ID *)lookup(&dtd->attributeIds, s, 0);
        b = id->prefix->binding;
        if (!b)
          return XML_ERROR_UNBOUND_PREFIX;

        /* as we expand the name we also calculate its hash value */
        for (j = 0; j < b->uriLen; j++) {
          const XML_Char c = b->uri[j];
          if (!poolAppendChar(&tempPool, c))
            return XML_ERROR_NO_MEMORY;
          uriHash = CHAR_HASH(uriHash, c);
        }
        while (*s++ != XML_T(ASCII_COLON))
          ;
        do {  /* copies null terminator */
          const XML_Char c = *s;
          if (!poolAppendChar(&tempPool, *s))
            return XML_ERROR_NO_MEMORY;
          uriHash = CHAR_HASH(uriHash, c);
        } while (*s++);

        { /* Check hash table for duplicate of expanded name (uriName).
             Derived from code in lookup(HASH_TABLE *table, ...).
          */
          unsigned char step = 0;
          unsigned long mask = nsAttsSize - 1;
          j = uriHash & mask;  /* index into hash table */
          while (nsAtts[j].version == version) {
            /* for speed we compare stored hash values first */
            if (uriHash == nsAtts[j].hash) {
              const XML_Char *s1 = poolStart(&tempPool);
              const XML_Char *s2 = nsAtts[j].uriName;
              /* s1 is null terminated, but not s2 */
              for (; *s1 == *s2 && *s1 != 0; s1++, s2++);
              if (*s1 == 0)
                return XML_ERROR_DUPLICATE_ATTRIBUTE;
            }
            if (!step)
              step = PROBE_STEP(uriHash, mask, nsAttsPower);
            j < step ? (j += nsAttsSize - step) : (j -= step);
          }
        }

        if (ns_triplets) {  /* append namespace separator and prefix */
          tempPool.ptr[-1] = namespaceSeparator;
          s = b->prefix->name;
          do {
            if (!poolAppendChar(&tempPool, *s))
              return XML_ERROR_NO_MEMORY;
          } while (*s++);
        }

        /* store expanded name in attribute list */
        s = poolStart(&tempPool);
        poolFinish(&tempPool);
        appAtts[i] = s;

        /* fill empty slot with new version, uriName and hash value */
        nsAtts[j].version = version;
        nsAtts[j].hash = uriHash;
        nsAtts[j].uriName = s;

        if (!--nPrefixes) {
          i += 2;
          break;
        }
      }
      else  /* not prefixed */
        ((XML_Char *)s)[-1] = 0;  /* clear flag */
    }
  }
  /* clear flags for the remaining attributes */
  for (; i < attIndex; i += 2)
    ((XML_Char *)(appAtts[i]))[-1] = 0;
  for (binding = *bindingsPtr; binding; binding = binding->nextTagBinding)
    binding->attId->name[-1] = 0;

  if (!ns)
    return XML_ERROR_NONE;

  /* expand the element type name */
  if (elementType->prefix) {
    binding = elementType->prefix->binding;
    if (!binding)
      return XML_ERROR_UNBOUND_PREFIX;
    localPart = tagNamePtr->str;
    while (*localPart++ != XML_T(ASCII_COLON))
      ;
  }
  else if (dtd->defaultPrefix.binding) {
    binding = dtd->defaultPrefix.binding;
    localPart = tagNamePtr->str;
  }
  else
    return XML_ERROR_NONE;
  prefixLen = 0;
  if (ns_triplets && binding->prefix->name) {
    for (; binding->prefix->name[prefixLen++];)
      ;  /* prefixLen includes null terminator */
  }
  tagNamePtr->localPart = localPart;
  tagNamePtr->uriLen = binding->uriLen;
  tagNamePtr->prefix = binding->prefix->name;
  tagNamePtr->prefixLen = prefixLen;
  for (i = 0; localPart[i++];)
    ;  /* i includes null terminator */
  n = i + binding->uriLen + prefixLen;
  if (n > binding->uriAlloc) {
    TAG *p;
    uri = (XML_Char *)MALLOC((n + EXPAND_SPARE) * sizeof(XML_Char));
    if (!uri)
      return XML_ERROR_NO_MEMORY;
    binding->uriAlloc = n + EXPAND_SPARE;
    memcpy(uri, binding->uri, binding->uriLen * sizeof(XML_Char));
    for (p = tagStack; p; p = p->parent)
      if (p->name.str == binding->uri)
        p->name.str = uri;
    FREE(binding->uri);
    binding->uri = uri;
  }
  /* if namespaceSeparator != '\0' then uri includes it already */
  uri = binding->uri + binding->uriLen;
  memcpy(uri, localPart, i * sizeof(XML_Char));
  /* we always have a namespace separator between localPart and prefix */
  if (prefixLen) {
    uri += i - 1;
    *uri = namespaceSeparator;  /* replace null terminator */
    memcpy(uri + 1, binding->prefix->name, prefixLen * sizeof(XML_Char));
  }
  tagNamePtr->str = binding->uri;
  return XML_ERROR_NONE;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r8, 0x58(%rsp)
movq %rcx, %r14
movq %rdx, %rbp
movq %rsi, %r13
movq %rdi, %r12
movq 0x290(%rdi), %rax
movq %rax, 0x48(%rsp)
leaq 0x28(%rax), %r15
movq (%rcx), %rsi
movq %r15, %rdi
xorl %edx, %edx
callq 0x1ff2cb
movq %rax, %rsi
pushq $0x1
popq %rbx
testq %rax, %rax
movq %r12, (%rsp)
je 0x200aab
movq %rsi, 0x28(%rsp)
movl 0x18(%rsi), %ebx
movl 0x2c0(%r12), %edx
movq 0x2d0(%r12), %rcx
movq %r13, %rdi
movq %rbp, 0x18(%rsp)
movq %rbp, %rsi
movq %r13, 0x8(%rsp)
callq *0x48(%r13)
movq %rbx, %rcx
movl %eax, %r13d
leal (%rbx,%r13), %eax
movl 0x2c0(%r12), %ebx
movq 0x2d0(%r12), %rbp
cmpl %ebx, %eax
movq %r12, %r11
jle 0x200b11
movq %rcx, %r12
movslq %eax, %rsi
shlq $0x5, %rsi
addl $0x10, %eax
movl %eax, 0x2c0(%r11)
addq $0x200, %rsi            # imm = 0x200
movq %rbp, %rdi
movq %r11, %r15
callq *0x20(%r11)
testq %rax, %rax
je 0x201206
movq %rax, %rbp
movq %rax, 0x2d0(%r15)
cmpl %ebx, %r13d
jle 0x200b0b
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movl %r13d, %edx
movq %rbp, %rcx
callq *0x48(%rdi)
movq (%rsp), %r11
movq 0x2d0(%r11), %rbp
jmp 0x200b0e
movq 0x48(%rsp), %rax
leaq 0xa0(%rax), %rdi
movq (%r14), %rsi
callq 0x1fbfb6
testq %rax, %rax
je 0x200b03
pushq $0x28
popq %rdx
movq %r15, %rdi
movq %rax, %rsi
callq 0x1ff2cb
testq %rax, %rax
je 0x200b03
movq %rax, %rsi
movq (%rsp), %r12
cmpb $0x0, 0x1c8(%r12)
je 0x2009f9
movq %r12, %rdi
movq %rsi, %r15
callq 0x2018b6
movq %r15, %rsi
testl %eax, %eax
jne 0x2009f9
movl %ebx, %r15d
jmp 0x20120a
movq %r15, %r11
movq %r12, %rcx
movq %r14, 0x38(%rsp)
xorl %edx, %edx
testl %ecx, %ecx
cmovlel %edx, %ecx
leaq 0x300(%r11), %rax
movq %rax, 0x20(%rsp)
testl %r13d, %r13d
cmovlel %edx, %r13d
movq %rcx, 0x40(%rsp)
imulq $0x18, %rcx, %rax
addq $0x18, %rax
movq %rax, 0x50(%rsp)
movq $0x0, 0x10(%rsp)
xorl %r8d, %r8d
movq %rbp, 0x30(%rsp)
movq %r13, 0x60(%rsp)
movq 0x8(%rsp), %rbx
movslq %r8d, %r12
cmpq %r13, %rdx
je 0x200cfb
movl %r8d, %r14d
movq 0x2d0(%r11), %rax
movq %rdx, 0x18(%rsp)
movq %rdx, %rbp
shlq $0x5, %rbp
movq (%rax,%rbp), %r15
movq %rbx, %rdi
movq %r15, %rsi
movq %r11, %r13
callq *0x38(%rbx)
movslq %eax, %rcx
addq %r15, %rcx
movq %r13, %rdi
movq %rbx, %rsi
movq %r15, %rdx
callq 0x1fed6c
testq %rax, %rax
je 0x201206
movq %rax, %r13
movq (%rax), %rax
cmpb $0x0, -0x1(%rax)
jne 0x200d30
movb $0x1, -0x1(%rax)
movq (%r13), %rax
leal 0x1(%r12), %ecx
movq 0x30(%rsp), %r15
movq %rax, (%r15,%r12,8)
movq (%rsp), %rdi
movq 0x2d0(%rdi), %rdx
leaq (%rdx,%rbp), %rax
cmpb $0x0, 0x18(%rdx,%rbp)
movslq %ecx, %r12
je 0x200c17
movq 0x8(%rax), %rdx
movq 0x10(%rax), %rcx
movq 0x20(%rsp), %rdi
movq 0x8(%rsp), %rsi
callq 0x1fec0c
movq (%rsp), %r11
movq %rax, (%r15,%r12,8)
testq %rax, %rax
movq %r15, %rbp
jne 0x200c82
jmp 0x201206
movb $0x1, %dl
cmpb $0x0, 0x10(%r13)
movq 0x8(%rsp), %rsi
je 0x200c4c
xorl %ecx, %ecx
movq 0x28(%rsp), %r9
movq 0x50(%rsp), %r11
leaq 0x18(%rcx), %r10
cmpq %r10, %r11
je 0x200c4c
movq 0x20(%r9), %r8
cmpq (%r8,%rcx), %r13
movq %r10, %rcx
jne 0x200c31
movb -0x10(%r8,%r10), %dl
movq 0x8(%rax), %rcx
movq 0x10(%rax), %r8
movzbl %dl, %edx
movq 0x20(%rsp), %r9
movq %rdi, %rbp
callq 0x1ff26d
testl %eax, %eax
jne 0x200e85
movq 0x320(%rbp), %rax
movq 0x30(%rsp), %rcx
movq %rax, (%rcx,%r12,8)
movq %rbp, %r11
movq %rcx, %rbp
movq 0x318(%r11), %rax
movq %rax, 0x320(%r11)
movq 0x8(%r13), %rsi
testq %rsi, %rsi
je 0x200cc5
cmpb $0x0, 0x11(%r13)
je 0x200cce
movq (%rbp,%r12,8), %rcx
movq %r11, %rdi
movq %r13, %rdx
movq 0x58(%rsp), %r8
callq 0x2019b8
movq (%rsp), %r11
testl %eax, %eax
movl %r14d, %r8d
je 0x200ce9
jmp 0x200e85
movl %r14d, %r8d
addl $0x2, %r8d
jmp 0x200ce9
movl %r14d, %r8d
addl $0x2, %r8d
movq 0x10(%rsp), %rax
incl %eax
movq %rax, 0x10(%rsp)
movq (%r13), %rax
movb $0x2, -0x1(%rax)
movq 0x18(%rsp), %rdx
incq %rdx
movq 0x60(%rsp), %r13
jmp 0x200b5d
movl %r8d, 0x2c4(%r11)
movq 0x28(%rsp), %rax
movq 0x10(%rax), %rcx
pushq $-0x1
popq %rax
testq %rcx, %rcx
je 0x200d5b
movq (%rcx), %rcx
cmpb $0x0, -0x1(%rcx)
je 0x200d5b
xorl %eax, %eax
cmpq %r12, %rax
jge 0x200d62
cmpq %rcx, (%rbp,%rax,8)
je 0x200d5b
addq $0x2, %rax
jmp 0x200d1e
movq (%rsp), %rcx
movq 0x8(%rsp), %rax
cmpq %rax, 0x120(%rcx)
jne 0x200d54
movq 0x2d0(%rcx), %rax
movq (%rax,%rbp), %rax
movq %rax, 0x210(%rcx)
pushq $0x8
jmp 0x201208
movl %eax, 0x2c8(%r11)
movl 0x40(%rsp), %eax
imulq $0x18, %rax, %rbx
xorl %r14d, %r14d
movq 0x58(%rsp), %r12
movslq %r8d, %r13
cmpq %r14, %rbx
je 0x200e03
movq 0x28(%rsp), %rax
movq 0x20(%rax), %rax
movq (%rax,%r14), %rdx
movq (%rdx), %rdi
cmpb $0x0, -0x1(%rdi)
je 0x200d9a
addq $0x18, %r14
jmp 0x200d72
movq 0x10(%rax,%r14), %rcx
testq %rcx, %rcx
je 0x200d94
movq 0x8(%rdx), %rsi
testq %rsi, %rsi
je 0x200dd1
cmpb $0x0, 0x11(%rdx)
je 0x200dd7
movq %r11, %rdi
movl %r8d, %r15d
movq %r12, %r8
callq 0x2019b8
movl %r15d, %r8d
movq (%rsp), %r11
testl %eax, %eax
je 0x200d94
jmp 0x200e85
movb $0x1, -0x1(%rdi)
jmp 0x200de7
movb $0x2, -0x1(%rdi)
movq 0x10(%rsp), %rcx
incl %ecx
movq %rcx, 0x10(%rsp)
movq (%rax,%r14), %rcx
movq (%rcx), %rcx
movq %rcx, (%rbp,%r13,8)
movq 0x10(%rax,%r14), %rax
leal 0x2(%r13), %r8d
movq %rax, 0x8(%rbp,%r13,8)
jmp 0x200d94
andq $0x0, (%rbp,%r13,8)
pushq $0x1b
popq %rbx
movq 0x10(%rsp), %r14
testl %r14d, %r14d
je 0x200e8d
movb 0x2e8(%r11), %al
leal (%r14,%r14), %edx
movl %eax, %ecx
sarl %cl, %edx
testl %edx, %edx
je 0x200f07
movl %eax, %ecx
leal 0x1(%rcx), %eax
movl %r14d, %edx
sarl %cl, %edx
testl %edx, %edx
jne 0x200e2d
movzbl %al, %eax
cmpb $0x4, %al
pushq $0x3
popq %rcx
cmovael %eax, %ecx
pushq $0x1
popq %r15
movl %r15d, %eax
shll %cl, %eax
movb %cl, 0x2e8(%r11)
movq 0x2d8(%r11), %rdi
movq %rax, 0x8(%rsp)
cltq
imulq $0x18, %rax, %rsi
callq *0x20(%r11)
testq %rax, %rax
je 0x20120a
movq (%rsp), %r11
movq %rax, 0x2d8(%r11)
jmp 0x200f1f
movl %eax, %r15d
jmp 0x20120a
xorl %eax, %eax
cltq
cmpq %r13, %rax
jge 0x200eb5
movq (%rbp,%rax,8), %rcx
movb $0x0, -0x1(%rcx)
addq $0x2, %rax
jmp 0x200e91
movq 0x18(%r12), %rax
movq (%rax), %rax
movb $0x0, -0x1(%rax)
addq $0x8, %r12
movq (%r12), %r12
testq %r12, %r12
jne 0x200ea5
xorl %r15d, %r15d
cmpb $0x0, 0x1c8(%r11)
je 0x20120a
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rax
testq %rax, %rax
je 0x20121c
movq 0x8(%rax), %r13
movl %ebx, %r15d
testq %r13, %r13
je 0x20120a
movq 0x38(%rsp), %rdx
movq (%rdx), %rbx
cmpb $0x3a, (%rbx)
leaq 0x1(%rbx), %rbx
jne 0x200ef9
jmp 0x201235
pushq $0x1
popq %rdx
movl %eax, %ecx
shll %cl, %edx
movq %rdx, 0x8(%rsp)
movq 0x2e0(%r11), %rdx
testq %rdx, %rdx
jne 0x200f4f
movq 0x2d8(%r11), %rcx
movslq 0x8(%rsp), %rax
imulq $0x18, %rax, %rdx
addq %rdx, %rcx
addq $-0x18, %rcx
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
subq $0x1, %rax
jb 0x200f4a
movq %rdx, (%rcx)
addq $-0x18, %rcx
jmp 0x200f3b
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
decq %rdx
movq %rdx, 0x2e0(%r11)
movq 0x48(%rsp), %rax
leaq 0x50(%rax), %rdi
movq 0x8(%rsp), %rax
decl %eax
movl %eax, 0x50(%rsp)
cltq
movq %rax, %rcx
notq %rcx
movq %rcx, 0x40(%rsp)
shrq $0x2, %rax
movq %rax, 0x60(%rsp)
xorl %eax, %eax
movq %rdx, 0x18(%rsp)
movq %rdi, 0x68(%rsp)
cmpq %r13, %rax
jge 0x200e8f
movq (%rbp,%rax,8), %rbp
cmpb $0x2, -0x1(%rbp)
movb $0x0, -0x1(%rbp)
jne 0x201136
movq %rax, 0x70(%rsp)
movq %rbp, %rsi
xorl %edx, %edx
callq 0x1ff2cb
movq 0x8(%rax), %rax
movq 0x8(%rax), %rbx
testq %rbx, %rbx
je 0x20134a
movq %r14, 0x10(%rsp)
xorl %r14d, %r14d
xorl %r12d, %r12d
movq (%rsp), %r11
movslq 0x28(%rbx), %rax
cmpq %rax, %r14
jge 0x201038
movq 0x20(%rbx), %rax
movb (%rax,%r14), %r15b
movq 0x318(%r11), %rax
cmpq 0x310(%r11), %rax
jne 0x201018
movq 0x20(%rsp), %rdi
callq 0x1ff0dd
testb %al, %al
je 0x201206
movq (%rsp), %r11
movq 0x318(%r11), %rax
movzbl %r15b, %ecx
leaq 0x1(%rax), %rdx
movq %rdx, 0x318(%r11)
movb %cl, (%rax)
imulq $0xf4243, %r12, %r12    # imm = 0xF4243
xorq %rcx, %r12
incq %r14
jmp 0x200fda
cmpb $0x3a, (%rbp)
leaq 0x1(%rbp), %rbp
jne 0x201038
movb (%rbp), %r14b
movq 0x318(%r11), %rax
movl %r14d, %ecx
cmpq 0x310(%r11), %rax
jne 0x201079
movq 0x20(%rsp), %rdi
callq 0x1ff0dd
testb %al, %al
je 0x201206
movb (%rbp), %cl
movq (%rsp), %r11
movq 0x318(%r11), %rax
movzbl %r14b, %edx
leaq 0x1(%rax), %rsi
movq %rsi, 0x318(%r11)
movb %cl, (%rax)
imulq $0xf4243, %r12, %r12    # imm = 0xF4243
xorq %rdx, %r12
cmpb $0x0, (%rbp)
leaq 0x1(%rbp), %rbp
jne 0x201042
movl 0x50(%rsp), %eax
andl %r12d, %eax
movq 0x2d8(%r11), %rdx
movq %r12, %rsi
andq 0x40(%rsp), %rsi
xorl %edi, %edi
movq 0x30(%rsp), %rbp
movslq %eax, %rcx
imulq $0x18, %rcx, %r14
movq 0x18(%rsp), %rcx
cmpq %rcx, (%rdx,%r14)
jne 0x201140
addq %rdx, %r14
cmpq 0x8(%r14), %r12
jne 0x201101
movq 0x320(%r11), %rcx
movq 0x10(%r14), %r8
xorl %r9d, %r9d
movb (%rcx,%r9), %r10b
testb %r10b, %r10b
je 0x2010f8
cmpb (%r8,%r9), %r10b
jne 0x2010f8
incq %r9
jmp 0x2010e4
testb %r10b, %r10b
je 0x200d54
testb %dil, %dil
jne 0x201122
movl 0x2e8(%r11), %ecx
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
addl %edi, %ecx
movq %rsi, %rdi
shrq %cl, %rdi
andl 0x60(%rsp), %edi
orb $0x1, %dil
movzbl %dil, %ecx
subl %ecx, %eax
movl $0x0, %ecx
cmovll 0x8(%rsp), %ecx
addl %ecx, %eax
jmp 0x2010bb
movq 0x30(%rsp), %rbp
jmp 0x2011fd
cmpb $0x0, 0x1c9(%r11)
je 0x2011a6
movb 0x36c(%r11), %al
movq 0x318(%r11), %rcx
movb %al, -0x1(%rcx)
movq (%rbx), %rax
movq (%rax), %rbx
movq 0x318(%r11), %rax
cmpq 0x310(%r11), %rax
jne 0x20118e
movq 0x20(%rsp), %rdi
callq 0x1ff0dd
testb %al, %al
je 0x201206
movq (%rsp), %r11
movq 0x318(%r11), %rax
movb (%rbx), %cl
leaq 0x1(%rax), %rdx
movq %rdx, 0x318(%r11)
movb %cl, (%rax)
cmpb $0x0, (%rbx)
leaq 0x1(%rbx), %rbx
jne 0x201161
movq 0x318(%r11), %rax
movq 0x320(%r11), %rcx
movq %rax, 0x320(%r11)
movq 0x70(%rsp), %rsi
movq %rcx, (%rbp,%rsi,8)
movq 0x2d8(%r11), %rax
movq 0x18(%rsp), %rdx
movq %rdx, (%rax,%r14)
movq %r12, 0x8(%rax,%r14)
movq %rcx, 0x10(%rax,%r14)
movq %rsi, %rax
movq 0x10(%rsp), %r14
decl %r14d
movq 0x58(%rsp), %r12
pushq $0x1b
popq %rbx
movq 0x68(%rsp), %rdi
je 0x201351
addq $0x2, %rax
jmp 0x200f8f
pushq $0x1
popq %r15
movl %r15d, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x48(%rsp), %rax
movq 0x110(%rax), %r13
testq %r13, %r13
je 0x20120a
movq 0x38(%rsp), %rdx
movq (%rdx), %rbx
movq (%rsp), %rsi
xorl %r14d, %r14d
cmpb $0x0, 0x1c9(%rsi)
movq (%r13), %rax
movq (%rax), %rcx
je 0x20125f
testq %rcx, %rcx
je 0x20125f
xorl %r14d, %r14d
cmpb $0x0, (%rcx,%r14)
leaq 0x1(%r14), %r14
jne 0x201254
movq %rbx, 0x8(%rdx)
movl 0x28(%r13), %eax
movl %eax, 0x1c(%rdx)
movq %rcx, 0x10(%rdx)
movl %r14d, 0x20(%rdx)
xorl %ebp, %ebp
cmpb $0x0, (%rbx,%rbp)
leaq 0x1(%rbp), %rbp
jne 0x201274
leal (%rax,%r14), %ecx
leal (%rcx,%rbp), %edx
cmpl 0x2c(%r13), %edx
jle 0x2012eb
movl %ecx, %eax
addq %rbp, %rax
addq $0x18, %rax
movq %rax, 0x8(%rsp)
movslq %eax, %rdi
callq *0x18(%rsi)
pushq $0x1
popq %r15
testq %rax, %rax
je 0x20120a
movq %rax, %r12
movq 0x8(%rsp), %rax
movl %eax, 0x2c(%r13)
movq 0x20(%r13), %rsi
movslq 0x28(%r13), %rdx
movq %r12, %rdi
callq 0x17630
movq (%rsp), %rcx
leaq 0x2a0(%rcx), %rax
movq 0x20(%r13), %rdi
movq (%rax), %rax
testq %rax, %rax
je 0x2012f1
cmpq %rdi, 0x18(%rax)
jne 0x2012d7
movq %r12, 0x18(%rax)
jmp 0x2012d7
movq 0x20(%r13), %r12
jmp 0x2012fc
callq *0x28(%rcx)
movq %r12, 0x20(%r13)
movl 0x28(%r13), %eax
movslq %eax, %r15
addq %r12, %r15
movl %ebp, %edx
movq %r15, %rdi
movq %rbx, %rsi
callq 0x17630
testl %r14d, %r14d
je 0x201336
leaq (%r15,%rbp), %rdi
movq (%rsp), %rax
movb 0x36c(%rax), %al
movb %al, -0x1(%r15,%rbp)
movq (%r13), %rax
movq (%rax), %rsi
movslq %r14d, %rdx
callq 0x17630
movq 0x20(%r13), %rax
movq 0x38(%rsp), %rcx
movq %rax, (%rcx)
xorl %r15d, %r15d
jmp 0x20120a
pushq $0x1b
jmp 0x201208
addq $0x2, %rax
jmp 0x200e8f