// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/external/expat-2.0.1/lib/xmlparse.c
// Function: parserInit
static void
parserInit(XML_Parser parser, const XML_Char *encodingName)
{
  processor = prologInitProcessor;
  XmlPrologStateInit(&prologState);
  protocolEncodingName = (encodingName != NULL
                          ? poolCopyString(&tempPool, encodingName)
                          : NULL);
  curBase = NULL;
  XmlInitEncoding(&initEncoding, &encoding, 0);
  userData = NULL;
  handlerArg = NULL;
  startElementHandler = NULL;
  endElementHandler = NULL;
  characterDataHandler = NULL;
  processingInstructionHandler = NULL;
  commentHandler = NULL;
  startCdataSectionHandler = NULL;
  endCdataSectionHandler = NULL;
  defaultHandler = NULL;
  startDoctypeDeclHandler = NULL;
  endDoctypeDeclHandler = NULL;
  unparsedEntityDeclHandler = NULL;
  notationDeclHandler = NULL;
  startNamespaceDeclHandler = NULL;
  endNamespaceDeclHandler = NULL;
  notStandaloneHandler = NULL;
  externalEntityRefHandler = NULL;
  externalEntityRefHandlerArg = parser;
  skippedEntityHandler = NULL;
  elementDeclHandler = NULL;
  attlistDeclHandler = NULL;
  entityDeclHandler = NULL;
  xmlDeclHandler = NULL;
  bufferPtr = buffer;
  bufferEnd = buffer;
  parseEndByteIndex = 0;
  parseEndPtr = NULL;
  declElementType = NULL;
  declAttributeId = NULL;
  declEntity = NULL;
  doctypeName = NULL;
  doctypeSysid = NULL;
  doctypePubid = NULL;
  declAttributeType = NULL;
  declNotationName = NULL;
  declNotationPublicId = NULL;
  declAttributeIsCdata = XML_FALSE;
  declAttributeIsId = XML_FALSE;
  memset(&position, 0, sizeof(POSITION));
  errorCode = XML_ERROR_NONE;
  eventPtr = NULL;
  eventEndPtr = NULL;
  positionPtr = NULL;
  openInternalEntities = NULL;
  defaultExpandInternalEntities = XML_TRUE;
  tagLevel = 0;
  tagStack = NULL;
  inheritedBindings = NULL;
  nSpecifiedAtts = 0;
  unknownEncodingMem = NULL;
  unknownEncodingRelease = NULL;
  unknownEncodingData = NULL;
  parentParser = NULL;
  ps_parsing = XML_INITIALIZED;
#ifdef XML_DTD
  isParamEntity = XML_FALSE;
  useForeignDTD = XML_FALSE;
  paramEntityParsing = XML_PARAM_ENTITY_PARSING_NEVER;
#endif
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movq 0x10(%rsp), %rax
leaq 0x2ff6(%rip), %rcx      # 0x376740
movq %rcx, 0x200(%rax)
movq 0x10(%rsp), %rdi
addq $0x1f0, %rdi            # imm = 0x1F0
callq 0x381890
cmpq $0x0, 0x8(%rsp)
je 0x373786
movq 0x10(%rsp), %rdi
addq $0x300, %rdi            # imm = 0x300
movq 0x8(%rsp), %rsi
callq 0x373d60
movq %rax, (%rsp)
jmp 0x37378e
xorl %eax, %eax
movq %rax, (%rsp)
jmp 0x37378e
movq (%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x1c0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x298(%rax)
movq 0x10(%rsp), %rdi
addq $0x128, %rdi            # imm = 0x128
movq 0x10(%rsp), %rsi
addq $0x120, %rsi            # imm = 0x120
xorl %eax, %eax
movl %eax, %edx
callq 0x3847f0
movq 0x10(%rsp), %rax
movq $0x0, (%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x68(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x70(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x78(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x80(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x88(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x90(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x98(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xa0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xa8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xb0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xb8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xc0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xc8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xd0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xd8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xe0(%rax)
movq 0x10(%rsp), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0xe8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0xf0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x100(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x108(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x110(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x118(%rax)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x30(%rax)
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x38(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x48(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x50(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x278(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x280(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x240(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x248(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x250(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x258(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x260(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x268(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x270(%rax)
movq 0x10(%rsp), %rax
movb $0x0, 0x288(%rax)
movq 0x10(%rsp), %rax
movb $0x0, 0x289(%rax)
movq 0x10(%rsp), %rdi
addq $0x2f0, %rdi            # imm = 0x2F0
xorl %esi, %esi
movl $0x10, %edx
callq 0x19360
movq 0x10(%rsp), %rax
movl $0x0, 0x208(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x210(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x218(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x220(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x228(%rax)
movq 0x10(%rsp), %rax
movb $0x1, 0x238(%rax)
movq 0x10(%rsp), %rax
movl $0x0, 0x23c(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x2a0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x2b0(%rax)
movq 0x10(%rsp), %rax
movl $0x0, 0x2c4(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x1d0(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x1e8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x1d8(%rax)
movq 0x10(%rsp), %rax
movq $0x0, 0x370(%rax)
movq 0x10(%rsp), %rax
movl $0x0, 0x378(%rax)
addq $0x18, %rsp
retq
nopl (%rax,%rax)