// File: /workspace/github_cpp_makefile_star2_O3/fffrankkk[P]XmlCode/src/XMLParser.cpp
// Function: CXMLParser::Parse(char const*)
vector<CClassDetail *> CXMLParser::Parse(const char* pszFile)
{
    vector<CClassDetail *> vecDetail;
    CXMLTree CParser;
    if (!CParser.Create(pszFile)) {
        ERROR_OUT("create [%s].", pszFile);
        return vecDetail;
    }

    CXMLNode* pCRoot = CParser.GetRoot();
    if (PTR_NULL(pCRoot)) {
        return vecDetail;
    }
    vector<CXMLNode *> vecChildren = pCRoot->GetChildren();
    map<string, CClassDetail *> mapDetail;
    for (BT_AUTO(iterNode, vecChildren.begin()); iterNode != vecChildren.end(); ++iterNode) {
        CXMLNode* pCNode = *iterNode;
        if (pCNode->HasAttribute() || pCNode->HasChildren()) {
            BT_AUTO(iterDetail, mapDetail.find(pCNode->GetName()));
            CClassDetail* pCDetail = NULL;
            if (iterDetail == mapDetail.end()) {
                pCDetail = new CClassDetail;
                pCDetail->SetType("s");
                mapDetail.insert(make_pair(pCNode->GetName(), pCDetail));
                vecDetail.push_back(pCDetail);
            } else {
                pCDetail = iterDetail->second;
                pCDetail->SetType("m");
            }
            ParseNode(pCNode, pCDetail);
        }
    }
    return vecDetail;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xb8, %rsp
movq %rdx, %r15
movq %rsi, %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rdi, 0x10(%rsp)
movq $0x0, 0x10(%rdi)
leaq 0x78(%rsp), %r12
movq %r12, %rdi
callq 0x51d0
movq %r12, %rdi
movq %r15, %rsi
callq 0x524e
testb %al, %al
je 0x653a
leaq 0x78(%rsp), %rdi
callq 0x5880
testq %rax, %rax
je 0x6519
addq $0x78, %rax
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
callq 0x5b8a
leaq 0x90(%rsp), %rcx
movl $0x0, (%rcx)
xorl %eax, %eax
movq %rax, 0x8(%rcx)
movq %rcx, 0x10(%rcx)
movq %rcx, 0x18(%rcx)
movq %rax, 0x20(%rcx)
movq 0x60(%rsp), %rbx
movq 0x68(%rsp), %rax
cmpq %rax, %rbx
je 0x64f5
leaq 0x28(%rsp), %r12
leaq 0x18(%rsp), %r15
movq (%rbx), %rbp
cmpq $0x0, 0x70(%rbp)
jne 0x6316
movq 0x78(%rbp), %rcx
cmpq 0x80(%rbp), %rcx
je 0x64e8
movq %r15, %rdi
movq %rbp, %rsi
callq 0x4e60
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x7832
movq %rax, %r13
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x634b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq $0x0, 0x8(%rsp)
leaq 0x90(%rsp), %rax
cmpq %rax, %r13
je 0x63b0
movq 0x40(%r13), %r13
movq %r13, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r15, %rdi
leaq 0x20d58(%rip), %rsi     # 0x270d1
leaq 0x20d52(%rip), %rdx     # 0x270d2
callq 0x61a0
movq %r13, %rdi
movq %r15, %rsi
callq 0xc95a
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x64d3
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x64d3
movl $0xa8, %edi
callq 0x42e0
movq %rax, %r13
movq %rax, %rdi
callq 0xc838
movq %r13, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r15, %rdi
leaq 0x20c31(%rip), %rsi     # 0x2700a
leaq 0x20c2b(%rip), %rdx     # 0x2700b
callq 0x61a0
movq %r13, %rdi
movq %r15, %rsi
callq 0xc95a
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x6407
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x4e60
movq %r12, 0x18(%rsp)
movq 0x40(%rsp), %rax
leaq 0x50(%rsp), %rcx
cmpq %rcx, %rax
je 0x6439
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x6441
movups (%rcx), %xmm0
movups %xmm0, (%r12)
movq 0x48(%rsp), %rax
movq %rax, 0x20(%rsp)
movq %rcx, 0x40(%rsp)
movq $0x0, 0x48(%rsp)
movb $0x0, 0x50(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x7878
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x648f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x64ab
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x10(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x64c9
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x64d3
leaq 0x8(%rsp), %rdx
callq 0x7950
movq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x660c
movq 0x68(%rsp), %rax
addq $0x8, %rbx
cmpq %rax, %rbx
jne 0x62fb
leaq 0x88(%rsp), %rdi
callq 0x710a
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x6519
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42f0
leaq 0x78(%rsp), %rdi
callq 0x51e4
movq 0x10(%rsp), %rax
addq $0xb8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r15, %rdi
callq 0x4671
jmp 0x6519
jmp 0x6548
jmp 0x6548
movq %rax, %r14
jmp 0x65dc
jmp 0x65b5
movq %rax, %r14
movl $0xa8, %esi
movq %r13, %rdi
jmp 0x65ae
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x6579
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x65b8
movq 0x50(%rsp), %rsi
jmp 0x65ab
jmp 0x65b5
jmp 0x6599
jmp 0x6599
jmp 0x65b5
jmp 0x65b5
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x65b8
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x65b8
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x710a
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x65dc
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42f0
leaq 0x78(%rsp), %rdi
callq 0x51e4
movq 0x10(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x6604
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x42f0
movq %r14, %rdi
callq 0x45a0