// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/external/expat-2.0.1/lib/xmltok_ns.c
// Function: XmlParseXmlDecl
int
NS(XmlParseXmlDecl)(int isGeneralTextEntity,
                    const ENCODING *enc,
                    const char *ptr,
                    const char *end,
                    const char **badPtr,
                    const char **versionPtr,
                    const char **versionEndPtr,
                    const char **encodingName,
                    const ENCODING **encoding,
                    int *standalone)
{
  return doParseXmlDecl(NS(findEncoding),
                        isGeneralTextEntity,
                        enc,
                        ptr,
                        end,
                        badPtr,
                        versionPtr,
                        versionEndPtr,
                        encodingName,
                        encoding,
                        standalone);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %r9, %r13
movq %r8, %r15
movq %rsi, %r14
movl %edi, 0x20(%rsp)
leaq 0x10(%rsp), %rbp
movq %rdx, (%rbp)
xorl %eax, %eax
leaq 0x40(%rsp), %r9
movq %rax, (%r9)
leaq 0x28(%rsp), %r12
movq %rax, (%r12)
leaq 0x38(%rsp), %r8
movq %rax, (%r8)
movslq 0x80(%rsi), %rax
leaq (%rax,%rax,4), %rsi
addq %rdx, %rsi
movq %rsi, (%rbp)
addq %rax, %rax
subq %rax, %rcx
movq %rbp, (%rsp)
movq %r14, %rdi
movq %rcx, 0x30(%rsp)
movq %rcx, %rdx
movq %r12, %rcx
callq 0x266f67
testl %eax, %eax
setne %al
movq (%r12), %rbx
testq %rbx, %rbx
setne %cl
testb %cl, %al
je 0x25ccb1
movq 0x38(%rsp), %rdx
leaq 0x17a24c(%rip), %rcx    # 0x3d6e89
movq %r14, %rdi
movq %rbx, %rsi
movq %r14, 0x8(%rsp)
callq *0x30(%r14)
testl %eax, %eax
je 0x25cccd
movq 0x110(%rsp), %rax
testq %r13, %r13
je 0x25cc66
movq 0x40(%rsp), %rcx
movq %rcx, (%r13)
testq %rax, %rax
je 0x25cc73
movq 0x10(%rsp), %rcx
movq %rcx, (%rax)
movq 0x10(%rsp), %rsi
movq %rbp, (%rsp)
leaq 0x28(%rsp), %rcx
leaq 0x38(%rsp), %r8
leaq 0x40(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x30(%rsp), %rdx
callq 0x266f67
testl %eax, %eax
je 0x25ccb1
cmpq $0x0, 0x28(%rsp)
jne 0x25ccd4
cmpl $0x0, 0x20(%rsp)
je 0x25cf57
movq 0x10(%rsp), %rbx
movq %rbx, (%r15)
xorl %eax, %eax
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpl $0x0, 0x20(%rsp)
je 0x25ccb6
movq 0x28(%rsp), %rsi
movq 0x38(%rsp), %rdx
leaq 0x17a1ac(%rip), %rcx    # 0x3d6e91
movq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq *0x30(%rbx)
movq %rbx, %rdi
testl %eax, %eax
je 0x25ce2f
movq 0x40(%rsp), %rbx
leaq 0x50(%rsp), %r12
movq %rbx, (%r12)
leaq 0x18(%rsp), %r14
leaq 0x48(%rsp), %r13
movq %r14, (%r13)
leaq 0x19(%rsp), %r8
movq %r12, %rsi
movq 0x30(%rsp), %rdx
movq %r13, %rcx
callq *0x70(%rdi)
cmpq %r14, (%r13)
je 0x25ce11
movsbl 0x18(%rsp), %eax
andl $-0x21, %eax
addl $-0x41, %eax
cmpl $0x1a, %eax
jae 0x25ce11
movq 0x120(%rsp), %r14
movq 0x118(%rsp), %rax
testq %rax, %rax
je 0x25cd60
movq %rbx, (%rax)
testq %r14, %r14
je 0x25cdd6
movq 0x10(%rsp), %r13
movq 0x8(%rsp), %rdi
movslq 0x80(%rdi), %rax
subq %rax, %r13
leaq 0x48(%rsp), %rax
movq %rbx, (%rax)
movq %rax, %rbx
xorps %xmm0, %xmm0
leaq 0xcf(%rsp), %r8
movaps %xmm0, -0xf(%r8)
movaps %xmm0, -0x1f(%r8)
movaps %xmm0, -0x2f(%r8)
movaps %xmm0, -0x3f(%r8)
movaps %xmm0, -0x4f(%r8)
movaps %xmm0, -0x5f(%r8)
movaps %xmm0, -0x6f(%r8)
movaps %xmm0, -0x7f(%r8)
leaq 0x18(%rsp), %rcx
movq %r12, (%rcx)
movq %rax, %rsi
movq %r13, %rdx
callq *0x70(%rdi)
cmpq %r13, (%rbx)
je 0x25cf61
xorl %eax, %eax
movq %rax, (%r14)
movq 0x10(%rsp), %rsi
movq %rbp, (%rsp)
leaq 0x28(%rsp), %rcx
leaq 0x38(%rsp), %r8
leaq 0x40(%rsp), %r9
movq 0x8(%rsp), %rdi
movq 0x30(%rsp), %rdx
callq 0x266f67
testl %eax, %eax
je 0x25ce16
cmpq $0x0, 0x28(%rsp)
setne %cl
movl $0x1, %eax
jmp 0x25ce22
movq %rbx, (%r15)
jmp 0x25ce1e
movq 0x10(%rsp), %rax
movq %rax, (%r15)
xorl %ecx, %ecx
xorl %eax, %eax
movq 0x8(%rsp), %rdi
testb %cl, %cl
je 0x25ccbb
movq 0x28(%rsp), %rbx
movq 0x38(%rsp), %rdx
leaq 0x17a05a(%rip), %rcx    # 0x3d6e9a
movq %rbx, %rsi
callq *0x30(%rdi)
cmpl $0x0, 0x20(%rsp)
jne 0x25ccb6
testl %eax, %eax
je 0x25ccb6
movq 0x128(%rsp), %r13
movq 0x40(%rsp), %rbx
movq 0x10(%rsp), %r12
movq 0x8(%rsp), %r14
movslq 0x80(%r14), %rax
movq %r12, %rdx
subq %rax, %rdx
leaq 0x17a021(%rip), %rcx    # 0x3d6ea5
movq %r14, %rdi
movq %rbx, %rsi
callq *0x30(%r14)
testl %eax, %eax
je 0x25ce9e
movq %r15, 0x20(%rsp)
movl $0x1, %eax
jmp 0x25cecb
movslq 0x80(%r14), %rax
movq %r12, %rdx
subq %rax, %rdx
leaq 0x179ff7(%rip), %rcx    # 0x3d6ea9
movq %r14, %rdi
movq %rbx, %rsi
callq *0x30(%r14)
testl %eax, %eax
je 0x25ccb6
movq %r15, 0x20(%rsp)
xorl %eax, %eax
testq %r13, %r13
je 0x25ced4
movl %eax, (%r13)
leaq 0x18(%rsp), %r14
leaq 0x50(%rsp), %r13
leaq 0x48(%rsp), %rbp
movl $0xffffffff, %r15d      # imm = 0xFFFFFFFF
movabsq $0x100002600, %rbx      # imm = 0x100002600
movq 0x8(%rsp), %rdi
movq %r12, 0x50(%rsp)
movq %r14, 0x48(%rsp)
movq %r13, %rsi
movq 0x30(%rsp), %rdx
movq %rbp, %rcx
leaq 0x19(%rsp), %r8
callq *0x70(%rdi)
cmpq %r14, 0x48(%rsp)
movsbl 0x18(%rsp), %eax
cmovel %r15d, %eax
cmpl $0x20, %eax
ja 0x25cf3f
btq %rax, %rbx
jae 0x25cf3f
movq 0x8(%rsp), %rdi
movslq 0x80(%rdi), %rax
addq %rax, %r12
jmp 0x25cef8
movq %r12, 0x10(%rsp)
movq %r12, %rbx
cmpq 0x30(%rsp), %r12
movq 0x20(%rsp), %r15
jne 0x25ccb6
movl $0x1, %eax
jmp 0x25ccbb
movq 0x18(%rsp), %rax
movb $0x0, (%rax)
leaq 0x179f00(%rip), %rsi    # 0x3d6e70
leaq 0x50(%rsp), %rdi
callq 0x266cc2
testl %eax, %eax
je 0x25cf90
movq 0x8(%rsp), %rax
cmpl $0x2, 0x80(%rax)
je 0x25cdd3
movq %r14, %r13
leaq 0x263fd6(%rip), %r14    # 0x4c0f70
xorl %ebx, %ebx
leaq 0x50(%rsp), %r12
movq (%r14), %rsi
movq %r12, %rdi
callq 0x266cc2
testl %eax, %eax
jne 0x25cfc2
incq %rbx
addq $0x8, %r14
cmpq $0x6, %rbx
jne 0x25cfa1
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
cmpl $-0x1, %ebx
movq %r13, %r14
je 0x25cdd1
movslq %ebx, %rax
leaq 0x263fc8(%rip), %rcx    # 0x4c0fa0
movq (%rcx,%rax,8), %rax
jmp 0x25cdd3