LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: poolAppend
static XML_Char *
poolAppend(STRING_POOL *pool, const ENCODING *enc,
           const char *ptr, const char *end)
{
  if (!pool->ptr && !poolGrow(pool))
    return NULL;
  for (;;) {
    XmlConvert(enc, &ptr, end, (ICHAR **)&(pool->ptr), (ICHAR *)pool->end);
    if (ptr == end)
      break;
    if (!poolGrow(pool))
      return NULL;
  }
  return pool->start;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movq %rdx, 0x8(%rsp)
movq %rcx, (%rsp)
movq 0x18(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x37a2fc
movq 0x18(%rsp), %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x37a2fc
movq $0x0, 0x20(%rsp)
jmp 0x37a35f
jmp 0x37a2fe
movq 0x10(%rsp), %rax
movq 0x70(%rax), %rax
movq 0x10(%rsp), %rdi
movq (%rsp), %rdx
movq 0x18(%rsp), %rcx
addq $0x18, %rcx
movq 0x18(%rsp), %rsi
movq 0x10(%rsi), %r8
leaq 0x8(%rsp), %rsi
callq *%rax
movq 0x8(%rsp), %rax
cmpq (%rsp), %rax
jne 0x37a336
jmp 0x37a351
movq 0x18(%rsp), %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x37a34f
movq $0x0, 0x20(%rsp)
jmp 0x37a35f
jmp 0x37a2fe
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: storeAttributeValue
static enum XML_Error
storeAttributeValue(XML_Parser parser, const ENCODING *enc, XML_Bool isCdata,
                    const char *ptr, const char *end,
                    STRING_POOL *pool)
{
  enum XML_Error result = appendAttributeValue(parser, enc, isCdata, ptr,
                                               end, pool);
  if (result)
    return result;
  if (!isCdata && poolLength(pool) && poolLastChar(pool) == 0x20)
    poolChop(pool);
  if (!poolAppendChar(pool, XML_T('\0')))
    return XML_ERROR_NO_MEMORY;
  return XML_ERROR_NONE;
}

// Assembly:
subq $0x48, %rsp
movb %dl, %al
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
movb %al, 0x2f(%rsp)
movq %rcx, 0x20(%rsp)
movq %r8, 0x18(%rsp)
movq %r9, 0x10(%rsp)
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
movb 0x2f(%rsp), %al
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x10(%rsp), %r9
movzbl %al, %edx
callq 0x380670
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
je 0x37a9d0
movl 0xc(%rsp), %eax
movl %eax, 0x44(%rsp)
jmp 0x37aa6e
cmpb $0x0, 0x2f(%rsp)
jne 0x37aa15
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x20(%rcx), %rcx
subq %rcx, %rax
cmpq $0x0, %rax
je 0x37aa15
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movsbl -0x1(%rax), %eax
cmpl $0x20, %eax
jne 0x37aa15
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rcx
addq $-0x1, %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x10(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x37aa3f
movq 0x10(%rsp), %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x37aa3f
xorl %eax, %eax
testb $0x1, %al
jne 0x37aa66
jmp 0x37aa5c
movq 0x10(%rsp), %rcx
movq 0x18(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0x18(%rcx)
movb $0x0, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x37aa66
movl $0x1, 0x44(%rsp)
jmp 0x37aa6e
movl $0x0, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: build_model
static XML_Content *
build_model (XML_Parser parser)
{
  DTD * const dtd = _dtd;  /* save one level of indirection */
  XML_Content *ret;
  XML_Content *cpos;
  XML_Char * str;
  int allocsize = (dtd->scaffCount * sizeof(XML_Content)
                   + (dtd->contentStringLen * sizeof(XML_Char)));

  ret = (XML_Content *)MALLOC(allocsize);
  if (!ret)
    return NULL;

  str =  (XML_Char *) (&ret[dtd->scaffCount]);
  cpos = &ret[1];

  build_node(parser, 0, ret, &cpos, &str);
  return ret;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq 0x28(%rsp), %rax
movq 0x290(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
movl 0x130(%rax), %eax
shlq $0x5, %rax
movq 0x20(%rsp), %rcx
movl 0x128(%rcx), %ecx
shlq $0x0, %rcx
addq %rcx, %rax
movl %eax, 0x4(%rsp)
movq 0x28(%rsp), %rax
movq 0x18(%rax), %rax
movslq 0x4(%rsp), %rdi
callq *%rax
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x37b617
movq $0x0, 0x30(%rsp)
jmp 0x37b666
movq 0x18(%rsp), %rax
movq 0x20(%rsp), %rcx
movl 0x130(%rcx), %ecx
shlq $0x5, %rcx
addq %rcx, %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rax
addq $0x20, %rax
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rdi
movq 0x18(%rsp), %rdx
xorl %esi, %esi
leaq 0x10(%rsp), %rcx
leaq 0x8(%rsp), %r8
callq 0x380e10
movq 0x18(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: reportProcessingInstruction
static int
reportProcessingInstruction(XML_Parser parser, const ENCODING *enc,
                            const char *start, const char *end)
{
  const XML_Char *target;
  XML_Char *data;
  const char *tem;
  if (!processingInstructionHandler) {
    if (defaultHandler)
      reportDefault(parser, enc, start, end);
    return 1;
  }
  start += enc->minBytesPerChar * 2;
  tem = start + XmlNameLength(enc, start);
  target = poolStoreString(&tempPool, enc, start, tem);
  if (!target)
    return 0;
  poolFinish(&tempPool);
  data = poolStoreString(&tempPool, enc,
                        XmlSkipS(enc, tem),
                        end - enc->minBytesPerChar*2);
  if (!data)
    return 0;
  normalizeLines(data);
  processingInstructionHandler(handlerArg, target, data);
  poolClear(&tempPool);
  return 1;
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x48(%rsp)
movq %rsi, 0x40(%rsp)
movq %rdx, 0x38(%rsp)
movq %rcx, 0x30(%rsp)
movq 0x48(%rsp), %rax
cmpq $0x0, 0x80(%rax)
jne 0x37b6cc
movq 0x48(%rsp), %rax
cmpq $0x0, 0xa0(%rax)
je 0x37b6bf
movq 0x48(%rsp), %rdi
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0x376350
movl $0x1, 0x54(%rsp)
jmp 0x37b823
movq 0x40(%rsp), %rax
movl 0x80(%rax), %ecx
shll %ecx
movq 0x38(%rsp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, 0x38(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0x10(%rsp)
movq 0x40(%rsp), %rax
movq 0x38(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rsi
callq *%rax
movl %eax, %ecx
movq 0x10(%rsp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rdi
addq $0x300, %rdi            # imm = 0x300
movq 0x40(%rsp), %rsi
movq 0x38(%rsp), %rdx
movq 0x18(%rsp), %rcx
callq 0x379ae0
movq %rax, 0x28(%rsp)
cmpq $0x0, 0x28(%rsp)
jne 0x37b754
movl $0x0, 0x54(%rsp)
jmp 0x37b823
movq 0x48(%rsp), %rax
movq 0x318(%rax), %rcx
movq 0x48(%rsp), %rax
movq %rcx, 0x320(%rax)
movq 0x48(%rsp), %rax
addq $0x300, %rax            # imm = 0x300
movq %rax, (%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x40(%rsp), %rax
movq 0x40(%rax), %rax
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rsi
callq *%rax
movq (%rsp), %rdi
movq 0x8(%rsp), %rsi
movq %rax, %rdx
movq 0x30(%rsp), %rcx
movq 0x40(%rsp), %rax
movl 0x80(%rax), %eax
shll %eax
movslq %eax, %r8
xorl %eax, %eax
subq %r8, %rax
addq %rax, %rcx
callq 0x379ae0
movq %rax, 0x20(%rsp)
cmpq $0x0, 0x20(%rsp)
jne 0x37b7df
movl $0x0, 0x54(%rsp)
jmp 0x37b823
movq 0x20(%rsp), %rdi
callq 0x381010
movq 0x48(%rsp), %rax
movq 0x80(%rax), %rax
movq 0x48(%rsp), %rcx
movq 0x8(%rcx), %rdi
movq 0x28(%rsp), %rsi
movq 0x20(%rsp), %rdx
callq *%rax
movq 0x48(%rsp), %rdi
addq $0x300, %rdi            # imm = 0x300
callq 0x373680
movl $0x1, 0x54(%rsp)
movl 0x54(%rsp), %eax
addq $0x58, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: reportComment
static int
reportComment(XML_Parser parser, const ENCODING *enc,
              const char *start, const char *end)
{
  XML_Char *data;
  if (!commentHandler) {
    if (defaultHandler)
      reportDefault(parser, enc, start, end);
    return 1;
  }
  data = poolStoreString(&tempPool,
                         enc,
                         start + enc->minBytesPerChar * 4,
                         end - enc->minBytesPerChar * 3);
  if (!data)
    return 0;
  normalizeLines(data);
  commentHandler(handlerArg, data);
  poolClear(&tempPool);
  return 1;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq 0x28(%rsp), %rax
cmpq $0x0, 0x88(%rax)
jne 0x37b88c
movq 0x28(%rsp), %rax
cmpq $0x0, 0xa0(%rax)
je 0x37b87f
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x376350
movl $0x1, 0x34(%rsp)
jmp 0x37b92c
movq 0x28(%rsp), %rdi
addq $0x300, %rdi            # imm = 0x300
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x20(%rsp), %rax
movl 0x80(%rax), %eax
shll $0x2, %eax
cltq
addq %rax, %rdx
movq 0x10(%rsp), %rcx
movq 0x20(%rsp), %rax
imull $0x3, 0x80(%rax), %eax
movslq %eax, %r8
xorl %eax, %eax
subq %r8, %rax
addq %rax, %rcx
callq 0x379ae0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x37b8ed
movl $0x0, 0x34(%rsp)
jmp 0x37b92c
movq 0x8(%rsp), %rdi
callq 0x381010
movq 0x28(%rsp), %rax
movq 0x88(%rax), %rax
movq 0x28(%rsp), %rcx
movq 0x8(%rcx), %rdi
movq 0x8(%rsp), %rsi
callq *%rax
movq 0x28(%rsp), %rdi
addq $0x300, %rdi            # imm = 0x300
callq 0x373680
movl $0x1, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: cdataSectionProcessor
static enum XML_Error PTRCALL
cdataSectionProcessor(XML_Parser parser,
                      const char *start,
                      const char *end,
                      const char **endPtr)
{
  enum XML_Error result = doCdataSection(parser, encoding, &start, end,
                                         endPtr, (XML_Bool)!ps_finalBuffer);
  if (result != XML_ERROR_NONE)
    return result;
  if (start) {
    if (parentParser) {  /* we are parsing an external entity */
      processor = externalEntityContentProcessor;
      return externalEntityContentProcessor(parser, start, end, endPtr);
    }
    else {
      processor = contentProcessor;
      return contentProcessor(parser, start, end, endPtr);
    }
  }
  return result;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq 0x28(%rsp), %rdi
movq 0x28(%rsp), %rax
movq 0x120(%rax), %rsi
movq 0x18(%rsp), %rcx
movq 0x10(%rsp), %r8
movq 0x28(%rsp), %rax
cmpb $0x0, 0x37c(%rax)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
leaq 0x20(%rsp), %rdx
movzbl %al, %r9d
callq 0x37f740
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
je 0x37fbdf
movl 0xc(%rsp), %eax
movl %eax, 0x34(%rsp)
jmp 0x37fc62
cmpq $0x0, 0x20(%rsp)
je 0x37fc5a
movq 0x28(%rsp), %rax
cmpq $0x0, 0x370(%rax)
je 0x37fc28
movq 0x28(%rsp), %rax
leaq 0x9ce(%rip), %rcx       # 0x3805d0
movq %rcx, 0x200(%rax)
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x3805d0
movl %eax, 0x34(%rsp)
jmp 0x37fc62
movq 0x28(%rsp), %rax
leaq -0x5fd4(%rip), %rcx     # 0x379c60
movq %rcx, 0x200(%rax)
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x379c60
movl %eax, 0x34(%rsp)
jmp 0x37fc62
movl 0xc(%rsp), %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: hashTableIterNext
static NAMED * FASTCALL
hashTableIterNext(HASH_TABLE_ITER *iter)
{
  while (iter->p != iter->end) {
    NAMED *tem = *(iter->p)++;
    if (tem)
      return tem;
  }
  return NULL;
}

// Assembly:
movq %rdi, -0x10(%rsp)
movq -0x10(%rsp), %rax
movq (%rax), %rax
movq -0x10(%rsp), %rcx
cmpq 0x8(%rcx), %rax
je 0x37fed8
movq -0x10(%rsp), %rcx
movq (%rcx), %rax
movq %rax, %rdx
addq $0x8, %rdx
movq %rdx, (%rcx)
movq (%rax), %rax
movq %rax, -0x18(%rsp)
cmpq $0x0, -0x18(%rsp)
je 0x37fed6
movq -0x18(%rsp), %rax
movq %rax, -0x8(%rsp)
jmp 0x37fee1
jmp 0x37fe95
movq $0x0, -0x8(%rsp)
movq -0x8(%rsp), %rax
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: setElementTypePrefix
static int
setElementTypePrefix(XML_Parser parser, ELEMENT_TYPE *elementType)
{
  DTD * const dtd = _dtd;  /* save one level of indirection */
  const XML_Char *name;
  for (name = elementType->name; *name; name++) {
    if (*name == XML_T(ASCII_COLON)) {
      PREFIX *prefix;
      const XML_Char *s;
      for (s = elementType->name; s != name; s++) {
        if (!poolAppendChar(&dtd->pool, *s))
          return 0;
      }
      if (!poolAppendChar(&dtd->pool, XML_T('\0')))
        return 0;
      prefix = (PREFIX *)lookup(&dtd->prefixes, poolStart(&dtd->pool),
                                sizeof(PREFIX));
      if (!prefix)
        return 0;
      if (prefix->name == poolStart(&dtd->pool))
        poolFinish(&dtd->pool);
      else
        poolDiscard(&dtd->pool);
      elementType->prefix = prefix;

    }
  }
  return 1;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq 0x28(%rsp), %rax
movq 0x290(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
cmpb $0x0, (%rax)
je 0x3800d9
movq 0x10(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3a, %eax
jne 0x3800c4
movq 0x20(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x10(%rsp), %rax
je 0x37ffd1
movq 0x18(%rsp), %rax
movq 0xb8(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0xb0(%rcx), %rax
jne 0x37ff89
movq 0x18(%rsp), %rdi
addq $0xa0, %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x37ff89
xorl %eax, %eax
testb $0x1, %al
jne 0x37ffbe
jmp 0x37ffb1
movq (%rsp), %rax
movb (%rax), %cl
movq 0x18(%rsp), %rdx
movq 0xb8(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0xb8(%rdx)
movb %cl, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x37ffbe
movl $0x0, 0x34(%rsp)
jmp 0x3800e1
jmp 0x37ffc0
movq (%rsp), %rax
addq $0x1, %rax
movq %rax, (%rsp)
jmp 0x37ff47
movq 0x18(%rsp), %rax
movq 0xb8(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0xb0(%rcx), %rax
jne 0x380008
movq 0x18(%rsp), %rdi
addq $0xa0, %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x380008
xorl %eax, %eax
testb $0x1, %al
jne 0x380038
jmp 0x38002b
movq 0x18(%rsp), %rcx
movq 0xb8(%rcx), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, 0xb8(%rcx)
movb $0x0, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x380038
movl $0x0, 0x34(%rsp)
jmp 0x3800e1
movq 0x18(%rsp), %rdi
addq $0x78, %rdi
movq 0x18(%rsp), %rax
movq 0xc0(%rax), %rsi
movl $0x10, %edx
callq 0x37ade0
movq %rax, 0x8(%rsp)
cmpq $0x0, 0x8(%rsp)
jne 0x38006e
movl $0x0, 0x34(%rsp)
jmp 0x3800e1
movq 0x8(%rsp), %rax
movq (%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0xc0(%rcx), %rax
jne 0x38009e
movq 0x18(%rsp), %rax
movq 0xb8(%rax), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0xc0(%rax)
jmp 0x3800b6
movq 0x18(%rsp), %rax
movq 0xc0(%rax), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0xb8(%rax)
movq 0x8(%rsp), %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x8(%rax)
jmp 0x3800c6
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x37ff1c
movl $0x1, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: externalEntityContentProcessor
static enum XML_Error PTRCALL
externalEntityContentProcessor(XML_Parser parser,
                               const char *start,
                               const char *end,
                               const char **endPtr)
{
  enum XML_Error result = doContent(parser, 1, encoding, start, end, 
                                    endPtr, (XML_Bool)!ps_finalBuffer);
  if (result == XML_ERROR_NONE) {
    if (!storeRawNames(parser))
      return XML_ERROR_NO_MEMORY;
  }
  return result;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq 0x28(%rsp), %rdi
movq 0x28(%rsp), %rax
movq 0x120(%rax), %rdx
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %r8
movq 0x10(%rsp), %r9
movq 0x28(%rsp), %rax
cmpb $0x0, 0x37c(%rax)
setne %al
xorb $-0x1, %al
andb $0x1, %al
movzbl %al, %eax
movl $0x1, %esi
movzbl %al, %eax
movl %eax, (%rsp)
callq 0x37b940
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
jne 0x380653
movq 0x28(%rsp), %rdi
callq 0x37d430
cmpb $0x0, %al
jne 0x380651
movl $0x1, 0x34(%rsp)
jmp 0x38065b
jmp 0x380653
movl 0xc(%rsp), %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: hash
static unsigned long FASTCALL
hash(KEY s)
{
  unsigned long h = 0;
  while (*s)
    h = CHAR_HASH(h, *s++);
  return h;
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq $0x0, -0x10(%rsp)
movq -0x8(%rsp), %rax
cmpb $0x0, (%rax)
je 0x380d9f
imulq $0xf4243, -0x10(%rsp), %rax # imm = 0xF4243
movq -0x8(%rsp), %rcx
movq %rcx, %rdx
addq $0x1, %rdx
movq %rdx, -0x8(%rsp)
movzbl (%rcx), %ecx
xorq %rcx, %rax
movq %rax, -0x10(%rsp)
jmp 0x380d6e
movq -0x10(%rsp), %rax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: keyeq
static XML_Bool FASTCALL
keyeq(KEY s1, KEY s2)
{
  for (; *s1 == *s2; s1++, s2++)
    if (*s1 == 0)
      return XML_TRUE;
  return XML_FALSE;
}

// Assembly:
movq %rdi, -0x10(%rsp)
movq %rsi, -0x18(%rsp)
movq -0x10(%rsp), %rax
movsbl (%rax), %eax
movq -0x18(%rsp), %rcx
movsbl (%rcx), %ecx
cmpl %ecx, %eax
jne 0x380e02
movq -0x10(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x380de2
movb $0x1, -0x1(%rsp)
jmp 0x380e07
jmp 0x380de4
movq -0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x10(%rsp)
movq -0x18(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x18(%rsp)
jmp 0x380dba
movb $0x0, -0x1(%rsp)
movb -0x1(%rsp), %al
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: normalizeLines
static void FASTCALL
normalizeLines(XML_Char *s)
{
  XML_Char *p;
  for (;; s++) {
    if (*s == XML_T('\0'))
      return;
    if (*s == 0xD)
      break;
  }
  p = s;
  do {
    if (*s == 0xD) {
      *p++ = 0xA;
      if (*++s == 0xA)
        s++;
    }
    else
      *p++ = *s++;
  } while (*s);
  *p = XML_T('\0');
}

// Assembly:
movq %rdi, -0x8(%rsp)
movq -0x8(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x0, %eax
jne 0x381027
jmp 0x3810d7
movq -0x8(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xd, %eax
jne 0x381036
jmp 0x381048
jmp 0x381038
movq -0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rsp)
jmp 0x381015
movq -0x8(%rsp), %rax
movq %rax, -0x10(%rsp)
movq -0x8(%rsp), %rax
movsbl (%rax), %eax
cmpl $0xd, %eax
jne 0x38109d
movq -0x10(%rsp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x10(%rsp)
movb $0xa, (%rax)
movq -0x8(%rsp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x8(%rsp)
movsbl 0x1(%rax), %eax
cmpl $0xa, %eax
jne 0x38109b
movq -0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, -0x8(%rsp)
jmp 0x3810c3
movq -0x8(%rsp), %rax
movq %rax, %rcx
addq $0x1, %rcx
movq %rcx, -0x8(%rsp)
movb (%rax), %cl
movq -0x10(%rsp), %rax
movq %rax, %rdx
addq $0x1, %rdx
movq %rdx, -0x10(%rsp)
movb %cl, (%rax)
jmp 0x3810c5
movq -0x8(%rsp), %rax
cmpb $0x0, (%rax)
jne 0x381052
movq -0x10(%rsp), %rax
movb $0x0, (%rax)
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: externalEntityInitProcessor2
static enum XML_Error PTRCALL
externalEntityInitProcessor2(XML_Parser parser,
                             const char *start,
                             const char *end,
                             const char **endPtr)
{
  const char *next = start; /* XmlContentTok doesn't always set the last arg */
  int tok = XmlContentTok(encoding, start, end, &next);
  switch (tok) {
  case XML_TOK_BOM:
    /* If we are at the end of the buffer, this would cause the next stage,
       i.e. externalEntityInitProcessor3, to pass control directly to
       doContent (by detecting XML_TOK_NONE) without processing any xml text
       declaration - causing the error XML_ERROR_MISPLACED_XML_PI in doContent.
    */
    if (next == end && !ps_finalBuffer) {
      *endPtr = next;
      return XML_ERROR_NONE;
    }
    start = next;
    break;
  case XML_TOK_PARTIAL:
    if (!ps_finalBuffer) {
      *endPtr = start;
      return XML_ERROR_NONE;
    }
    eventPtr = start;
    return XML_ERROR_UNCLOSED_TOKEN;
  case XML_TOK_PARTIAL_CHAR:
    if (!ps_finalBuffer) {
      *endPtr = start;
      return XML_ERROR_NONE;
    }
    eventPtr = start;
    return XML_ERROR_PARTIAL_CHAR;
  }
  processor = externalEntityInitProcessor3;
  return externalEntityInitProcessor3(parser, start, end, endPtr);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movq %rsi, 0x20(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movq 0x120(%rax), %rdi
movq 0x8(%rdi), %rax
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
leaq 0x8(%rsp), %rcx
callq *%rax
movl %eax, 0x4(%rsp)
movl 0x4(%rsp), %eax
movl %eax, (%rsp)
subl $-0x2, %eax
je 0x3811d7
jmp 0x381139
movl (%rsp), %eax
subl $-0x1, %eax
je 0x381194
jmp 0x381143
movl (%rsp), %eax
subl $0xe, %eax
jne 0x381217
jmp 0x381151
movq 0x8(%rsp), %rax
cmpq 0x18(%rsp), %rax
jne 0x381185
movq 0x28(%rsp), %rax
cmpb $0x0, 0x37c(%rax)
jne 0x381185
movq 0x8(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, (%rax)
movl $0x0, 0x34(%rsp)
jmp 0x381247
movq 0x8(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x381217
movq 0x28(%rsp), %rax
cmpb $0x0, 0x37c(%rax)
jne 0x3811bc
movq 0x20(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, (%rax)
movl $0x0, 0x34(%rsp)
jmp 0x381247
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x210(%rax)
movl $0x5, 0x34(%rsp)
jmp 0x381247
movq 0x28(%rsp), %rax
cmpb $0x0, 0x37c(%rax)
jne 0x3811fc
movq 0x20(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, (%rax)
movl $0x0, 0x34(%rsp)
jmp 0x381247
movq 0x20(%rsp), %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x210(%rax)
movl $0x6, 0x34(%rsp)
jmp 0x381247
movq 0x28(%rsp), %rax
leaq 0x2d(%rip), %rcx        # 0x381250
movq %rcx, 0x200(%rax)
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x381250
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: hashTableClear
static void FASTCALL
hashTableClear(HASH_TABLE *table)
{
  size_t i;
  for (i = 0; i < table->size; i++) {
    table->mem->free_fcn(table->v[i]);
    table->v[i] = NULL;
  }
  table->used = 0;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x381487
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rsp), %rcx
movq (%rcx), %rcx
movq 0x8(%rsp), %rdx
movq (%rcx,%rdx,8), %rdi
callq *%rax
movq 0x10(%rsp), %rax
movq (%rax), %rax
movq 0x8(%rsp), %rcx
movq $0x0, (%rax,%rcx,8)
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x381432
movq 0x10(%rsp), %rax
movq $0x0, 0x18(%rax)
addq $0x18, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: hashTableDestroy
static void FASTCALL
hashTableDestroy(HASH_TABLE *table)
{
  size_t i;
  for (i = 0; i < table->size; i++)
    table->mem->free_fcn(table->v[i]);
  table->mem->free_fcn(table->v);
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jae 0x3814f2
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rsp), %rcx
movq (%rcx), %rcx
movq 0x8(%rsp), %rdx
movq (%rcx,%rdx,8), %rdi
callq *%rax
movq 0x8(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x8(%rsp)
jmp 0x3814b2
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rax
movq 0x10(%rax), %rax
movq 0x10(%rsp), %rcx
movq (%rcx), %rdi
callq *%rax
addq $0x18, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: poolCopyStringN
static const XML_Char *
poolCopyStringN(STRING_POOL *pool, const XML_Char *s, int n)
{
  if (!pool->ptr && !poolGrow(pool))
    return NULL;
  for (; n > 0; --n, s++) {
    if (!poolAppendChar(pool, *s))
      return NULL;
  }
  s = pool->start;
  poolFinish(pool);
  return s;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movl %edx, 0xc(%rsp)
movq 0x18(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x3817da
movq 0x18(%rsp), %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x3817da
movq $0x0, 0x20(%rsp)
jmp 0x381882
jmp 0x3817dc
cmpl $0x0, 0xc(%rsp)
jle 0x381858
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
movq 0x18(%rsp), %rcx
cmpq 0x10(%rcx), %rax
jne 0x38180d
movq 0x18(%rsp), %rdi
callq 0x37a570
cmpb $0x0, %al
jne 0x38180d
xorl %eax, %eax
testb $0x1, %al
jne 0x38183b
jmp 0x381830
movq 0x10(%rsp), %rax
movb (%rax), %cl
movq 0x18(%rsp), %rdx
movq 0x18(%rdx), %rax
movq %rax, %rsi
addq $0x1, %rsi
movq %rsi, 0x18(%rdx)
movb %cl, (%rax)
movb $0x1, %al
testb $0x1, %al
jne 0x38183b
movq $0x0, 0x20(%rsp)
jmp 0x381882
jmp 0x38183d
movl 0xc(%rsp), %eax
addl $-0x1, %eax
movl %eax, 0xc(%rsp)
movq 0x10(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x10(%rsp)
jmp 0x3817dc
movq 0x18(%rsp), %rax
movq 0x20(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rcx
movq 0x18(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
addq $0x28, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: prolog0
static int PTRCALL
prolog0(PROLOG_STATE *state,
        int tok,
        const char *ptr,
        const char *end,
        const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    state->handler = prolog1;
    return XML_ROLE_NONE;
  case XML_TOK_XML_DECL:
    state->handler = prolog1;
    return XML_ROLE_XML_DECL;
  case XML_TOK_PI:
    state->handler = prolog1;
    return XML_ROLE_PI;
  case XML_TOK_COMMENT:
    state->handler = prolog1;
    return XML_ROLE_COMMENT;
  case XML_TOK_BOM:
    return XML_ROLE_NONE;
  case XML_TOK_DECL_OPEN:
    if (!XmlNameMatchesAscii(enc,
                             ptr + 2 * MIN_BYTES_PER_CHAR(enc),
                             end,
                             KW_DOCTYPE))
      break;
    state->handler = doctype0;
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_INSTANCE_START:
    state->handler = error;
    return XML_ROLE_INSTANCE_START;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
addl $-0xb, %eax
movl %eax, %ecx
movq %rcx, (%rsp)
subl $0x12, %eax
ja 0x3819dd
movq (%rsp), %rax
leaq 0x21d38f(%rip), %rcx    # 0x59ec7c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x28(%rsp), %rax
leaq 0xfe(%rip), %rcx        # 0x381a00
movq %rcx, (%rax)
movl $0x0, 0x34(%rsp)
jmp 0x3819ef
movq 0x28(%rsp), %rax
leaq 0xe2(%rip), %rcx        # 0x381a00
movq %rcx, (%rax)
movl $0x1, 0x34(%rsp)
jmp 0x3819ef
movq 0x28(%rsp), %rax
leaq 0xc6(%rip), %rcx        # 0x381a00
movq %rcx, (%rax)
movl $0x37, 0x34(%rsp)
jmp 0x3819ef
movq 0x28(%rsp), %rax
leaq 0xaa(%rip), %rcx        # 0x381a00
movq %rcx, (%rax)
movl $0x38, 0x34(%rsp)
jmp 0x3819ef
movl $0x0, 0x34(%rsp)
jmp 0x3819ef
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rcx
movl 0x80(%rcx), %ecx
shll %ecx
movslq %ecx, %rcx
addq %rcx, %rsi
movq 0x10(%rsp), %rdx
leaq 0x21d66a(%rip), %rcx    # 0x59f00c
callq *%rax
cmpl $0x0, %eax
jne 0x3819ab
jmp 0x3819dd
movq 0x28(%rsp), %rax
leaq 0x149(%rip), %rcx       # 0x381b00
movq %rcx, (%rax)
movl $0x3, 0x34(%rsp)
jmp 0x3819ef
movq 0x28(%rsp), %rax
leaq 0x1b0(%rip), %rcx       # 0x381b80
movq %rcx, (%rax)
movl $0x2, 0x34(%rsp)
jmp 0x3819ef
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: prolog1
static int PTRCALL
prolog1(PROLOG_STATE *state,
        int tok,
        const char *ptr,
        const char *end,
        const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_NONE;
  case XML_TOK_PI:
    return XML_ROLE_PI;
  case XML_TOK_COMMENT:
    return XML_ROLE_COMMENT;
  case XML_TOK_BOM:
    return XML_ROLE_NONE;
  case XML_TOK_DECL_OPEN:
    if (!XmlNameMatchesAscii(enc,
                             ptr + 2 * MIN_BYTES_PER_CHAR(enc),
                             end,
                             KW_DOCTYPE))
      break;
    state->handler = doctype0;
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_INSTANCE_START:
    state->handler = error;
    return XML_ROLE_INSTANCE_START;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
addl $-0xb, %eax
movl %eax, %ecx
movq %rcx, (%rsp)
subl $0x12, %eax
ja 0x381ae4
movq (%rsp), %rax
leaq 0x21d28b(%rip), %rcx    # 0x59ecc8
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x381af6
movl $0x37, 0x34(%rsp)
jmp 0x381af6
movl $0x38, 0x34(%rsp)
jmp 0x381af6
movl $0x0, 0x34(%rsp)
jmp 0x381af6
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x8(%rsp), %rcx
movl 0x80(%rcx), %ecx
shll %ecx
movslq %ecx, %rcx
addq %rcx, %rsi
movq 0x10(%rsp), %rdx
leaq 0x21d563(%rip), %rcx    # 0x59f00c
callq *%rax
cmpl $0x0, %eax
jne 0x381ab2
jmp 0x381ae4
movq 0x28(%rsp), %rax
leaq 0x42(%rip), %rcx        # 0x381b00
movq %rcx, (%rax)
movl $0x3, 0x34(%rsp)
jmp 0x381af6
movq 0x28(%rsp), %rax
leaq 0xa9(%rip), %rcx        # 0x381b80
movq %rcx, (%rax)
movl $0x2, 0x34(%rsp)
jmp 0x381af6
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: doctype0
static int PTRCALL
doctype0(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_NAME:
  case XML_TOK_PREFIXED_NAME:
    state->handler = doctype1;
    return XML_ROLE_DOCTYPE_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x381b41
jmp 0x381b2b
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x381b4b
jmp 0x381b36
movl 0x4(%rsp), %eax
subl $0x29, %eax
je 0x381b4b
jmp 0x381b64
movl $0x3, 0x34(%rsp)
jmp 0x381b76
movq 0x28(%rsp), %rax
leaq 0x69(%rip), %rcx        # 0x381bc0
movq %rcx, (%rax)
movl $0x4, 0x34(%rsp)
jmp 0x381b76
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: doctype1
static int PTRCALL
doctype1(PROLOG_STATE *state,
         int tok,
         const char *ptr,
         const char *end,
         const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_OPEN_BRACKET:
    state->handler = internalSubset;
    return XML_ROLE_DOCTYPE_INTERNAL_SUBSET;
  case XML_TOK_DECL_CLOSE:
    state->handler = prolog2;
    return XML_ROLE_DOCTYPE_CLOSE;
  case XML_TOK_NAME:
    if (XmlNameMatchesAscii(enc, ptr, end, KW_SYSTEM)) {
      state->handler = doctype3;
      return XML_ROLE_DOCTYPE_NONE;
    }
    if (XmlNameMatchesAscii(enc, ptr, end, KW_PUBLIC)) {
      state->handler = doctype2;
      return XML_ROLE_DOCTYPE_NONE;
    }
    break;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
addl $-0xf, %eax
movl %eax, %ecx
movq %rcx, (%rsp)
subl $0xa, %eax
ja 0x381ccb
movq (%rsp), %rax
leaq 0x21d117(%rip), %rcx    # 0x59ed14
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x3, 0x34(%rsp)
jmp 0x381cdd
movq 0x28(%rsp), %rax
leaq 0xd1(%rip), %rcx        # 0x381cf0
movq %rcx, (%rax)
movl $0x7, 0x34(%rsp)
jmp 0x381cdd
movq 0x28(%rsp), %rax
leaq 0x2c5(%rip), %rcx       # 0x381f00
movq %rcx, (%rax)
movl $0x8, 0x34(%rsp)
jmp 0x381cdd
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x21d3aa(%rip), %rcx    # 0x59f014
callq *%rax
cmpl $0x0, %eax
je 0x381c8a
movq 0x28(%rsp), %rax
leaq 0x323(%rip), %rcx       # 0x381fa0
movq %rcx, (%rax)
movl $0x3, 0x34(%rsp)
jmp 0x381cdd
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x21d372(%rip), %rcx    # 0x59f01b
callq *%rax
cmpl $0x0, %eax
je 0x381cc9
movq 0x28(%rsp), %rax
leaq 0x364(%rip), %rcx       # 0x382020
movq %rcx, (%rax)
movl $0x3, 0x34(%rsp)
jmp 0x381cdd
jmp 0x381ccb
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: prolog2
static int PTRCALL
prolog2(PROLOG_STATE *state,
        int tok,
        __attribute__ ((unused)) const char *ptr,
        __attribute__ ((unused)) const char *end,
        __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_NONE;
  case XML_TOK_PI:
    return XML_ROLE_PI;
  case XML_TOK_COMMENT:
    return XML_ROLE_COMMENT;
  case XML_TOK_INSTANCE_START:
    state->handler = error;
    return XML_ROLE_INSTANCE_START;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
addl $-0xb, %eax
movl %eax, %ecx
movq %rcx, (%rsp)
subl $0x12, %eax
ja 0x381f79
movq (%rsp), %rax
leaq 0x21ce8b(%rip), %rcx    # 0x59edc4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl $0x0, 0x34(%rsp)
jmp 0x381f8b
movl $0x37, 0x34(%rsp)
jmp 0x381f8b
movl $0x38, 0x34(%rsp)
jmp 0x381f8b
movq 0x28(%rsp), %rax
leaq -0x3ec(%rip), %rcx      # 0x381b80
movq %rcx, (%rax)
movl $0x2, 0x34(%rsp)
jmp 0x381f8b
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: doctype3
static int PTRCALL
doctype3(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_LITERAL:
    state->handler = doctype4;
    return XML_ROLE_DOCTYPE_SYSTEM_ID;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x381fd6
jmp 0x381fcb
movl 0x4(%rsp), %eax
subl $0x1b, %eax
je 0x381fe0
jmp 0x381ff9
movl $0x3, 0x34(%rsp)
jmp 0x38200b
movq 0x28(%rsp), %rax
leaq 0x1ab4(%rip), %rcx      # 0x383aa0
movq %rcx, (%rax)
movl $0x5, 0x34(%rsp)
jmp 0x38200b
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: doctype2
static int PTRCALL
doctype2(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_LITERAL:
    state->handler = doctype3;
    return XML_ROLE_DOCTYPE_PUBLIC_ID;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382056
jmp 0x38204b
movl 0x4(%rsp), %eax
subl $0x1b, %eax
je 0x382060
jmp 0x382079
movl $0x3, 0x34(%rsp)
jmp 0x38208b
movq 0x28(%rsp), %rax
leaq -0xcc(%rip), %rcx       # 0x381fa0
movq %rcx, (%rax)
movl $0x6, 0x34(%rsp)
jmp 0x38208b
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: entity0
static int PTRCALL
entity0(PROLOG_STATE *state,
        int tok,
        __attribute__ ((unused)) const char *ptr,
        __attribute__ ((unused)) const char *end,
        __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_ENTITY_NONE;
  case XML_TOK_PERCENT:
    state->handler = entity1;
    return XML_ROLE_ENTITY_NONE;
  case XML_TOK_NAME:
    state->handler = entity2;
    return XML_ROLE_GENERAL_ENTITY_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x3820e1
jmp 0x3820cb
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x382104
jmp 0x3820d6
movl 0x4(%rsp), %eax
subl $0x16, %eax
je 0x3820eb
jmp 0x38211d
movl $0xb, 0x34(%rsp)
jmp 0x38212f
movq 0x28(%rsp), %rax
leaq 0x249(%rip), %rcx       # 0x382340
movq %rcx, (%rax)
movl $0xb, 0x34(%rsp)
jmp 0x38212f
movq 0x28(%rsp), %rax
leaq 0x2b0(%rip), %rcx       # 0x3823c0
movq %rcx, (%rax)
movl $0x9, 0x34(%rsp)
jmp 0x38212f
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: attlist0
static int PTRCALL
attlist0(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_ATTLIST_NONE;
  case XML_TOK_NAME:
  case XML_TOK_PREFIXED_NAME:
    state->handler = attlist1;
    return XML_ROLE_ATTLIST_ELEMENT_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382181
jmp 0x38216b
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x38218b
jmp 0x382176
movl 0x4(%rsp), %eax
subl $0x29, %eax
je 0x38218b
jmp 0x3821a4
movl $0x21, 0x34(%rsp)
jmp 0x3821b6
movq 0x28(%rsp), %rax
leaq 0x8a9(%rip), %rcx       # 0x382a40
movq %rcx, (%rax)
movl $0x22, 0x34(%rsp)
jmp 0x3821b6
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: element0
static int PTRCALL
element0(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_ELEMENT_NONE;
  case XML_TOK_NAME:
  case XML_TOK_PREFIXED_NAME:
    state->handler = element1;
    return XML_ROLE_ELEMENT_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382201
jmp 0x3821eb
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x38220b
jmp 0x3821f6
movl 0x4(%rsp), %eax
subl $0x29, %eax
je 0x38220b
jmp 0x382224
movl $0x27, 0x34(%rsp)
jmp 0x382236
movq 0x28(%rsp), %rax
leaq 0xec9(%rip), %rcx       # 0x3830e0
movq %rcx, (%rax)
movl $0x28, 0x34(%rsp)
jmp 0x382236
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: notation0
static int PTRCALL
notation0(PROLOG_STATE *state,
          int tok,
          __attribute__ ((unused)) const char *ptr,
          __attribute__ ((unused)) const char *end,
          __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_NOTATION_NONE;
  case XML_TOK_NAME:
    state->handler = notation1;
    return XML_ROLE_NOTATION_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382276
jmp 0x38226b
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x382280
jmp 0x382299
movl $0x11, 0x34(%rsp)
jmp 0x3822ab
movq 0x28(%rsp), %rax
leaq 0x1574(%rip), %rcx      # 0x383800
movq %rcx, (%rax)
movl $0x12, 0x34(%rsp)
jmp 0x3822ab
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: doctype5
static int PTRCALL
doctype5(PROLOG_STATE *state,
         int tok,
         __attribute__ ((unused)) const char *ptr,
         __attribute__ ((unused)) const char *end,
         __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_DOCTYPE_NONE;
  case XML_TOK_DECL_CLOSE:
    state->handler = prolog2;
    return XML_ROLE_DOCTYPE_CLOSE;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x3822f6
jmp 0x3822eb
movl 0x4(%rsp), %eax
subl $0x11, %eax
je 0x382300
jmp 0x382319
movl $0x3, 0x34(%rsp)
jmp 0x38232b
movq 0x28(%rsp), %rax
leaq -0x40c(%rip), %rcx      # 0x381f00
movq %rcx, (%rax)
movl $0x8, 0x34(%rsp)
jmp 0x38232b
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: entity1
static int PTRCALL
entity1(PROLOG_STATE *state,
        int tok,
        __attribute__ ((unused)) const char *ptr,
        __attribute__ ((unused)) const char *end,
        __attribute__ ((unused)) const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_ENTITY_NONE;
  case XML_TOK_NAME:
    state->handler = entity7;
    return XML_ROLE_PARAM_ENTITY_NAME;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382376
jmp 0x38236b
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x382380
jmp 0x382399
movl $0xb, 0x34(%rsp)
jmp 0x3823ab
movq 0x28(%rsp), %rax
leaq 0x154(%rip), %rcx       # 0x3824e0
movq %rcx, (%rax)
movl $0xa, 0x34(%rsp)
jmp 0x3823ab
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlrole.c
// Function: entity2
static int PTRCALL
entity2(PROLOG_STATE *state,
        int tok,
        const char *ptr,
        const char *end,
        const ENCODING *enc)
{
  switch (tok) {
  case XML_TOK_PROLOG_S:
    return XML_ROLE_ENTITY_NONE;
  case XML_TOK_NAME:
    if (XmlNameMatchesAscii(enc, ptr, end, KW_SYSTEM)) {
      state->handler = entity4;
      return XML_ROLE_ENTITY_NONE;
    }
    if (XmlNameMatchesAscii(enc, ptr, end, KW_PUBLIC)) {
      state->handler = entity3;
      return XML_ROLE_ENTITY_NONE;
    }
    break;
  case XML_TOK_LITERAL:
    state->handler = declClose;
    state->role_none = XML_ROLE_ENTITY_NONE;
    return XML_ROLE_ENTITY_VALUE;
  }
  return common(state, tok);
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movq %r8, 0x8(%rsp)
movl 0x24(%rsp), %eax
movl %eax, 0x4(%rsp)
subl $0xf, %eax
je 0x382408
jmp 0x3823eb
movl 0x4(%rsp), %eax
subl $0x12, %eax
je 0x382415
jmp 0x3823f6
movl 0x4(%rsp), %eax
subl $0x1b, %eax
je 0x382495
jmp 0x3824ba
movl $0xb, 0x34(%rsp)
jmp 0x3824cc
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x21cbe0(%rip), %rcx    # 0x59f014
callq *%rax
cmpl $0x0, %eax
je 0x382454
movq 0x28(%rsp), %rax
leaq 0x3b9(%rip), %rcx       # 0x382800
movq %rcx, (%rax)
movl $0xb, 0x34(%rsp)
jmp 0x3824cc
movq 0x8(%rsp), %rax
movq 0x30(%rax), %rax
movq 0x8(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
leaq 0x21cba8(%rip), %rcx    # 0x59f01b
callq *%rax
cmpl $0x0, %eax
je 0x382493
movq 0x28(%rsp), %rax
leaq 0x3fa(%rip), %rcx       # 0x382880
movq %rcx, (%rax)
movl $0xb, 0x34(%rsp)
jmp 0x3824cc
jmp 0x3824ba
movq 0x28(%rsp), %rax
leaq 0x25f(%rip), %rcx       # 0x382700
movq %rcx, (%rax)
movq 0x28(%rsp), %rax
movl $0xb, 0xc(%rax)
movl $0xc, 0x34(%rsp)
jmp 0x3824cc
movq 0x28(%rsp), %rdi
movl 0x24(%rsp), %esi
callq 0x381ba0
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)