// File: /workspace/github_cpp_makefile_star2_O1/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), %rdi
callq 0x51b8
leaq 0x78(%rsp), %rdi
movq %r15, %rsi
callq 0x5236
testb %al, %al
je 0x6517
leaq 0x78(%rsp), %rdi
callq 0x5870
testq %rax, %rax
je 0x64f6
addq $0x78, %rax
leaq 0x60(%rsp), %rdi
movq %rax, %rsi
callq 0x5b7a
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
cmpq 0x68(%rsp), %rbx
je 0x64d2
leaq 0x28(%rsp), %r12
leaq 0x18(%rsp), %r15
movq (%rbx), %rbp
cmpq $0x0, 0x70(%rbp)
jne 0x62f6
movq 0x78(%rbp), %rax
cmpq 0x80(%rbp), %rax
je 0x64c3
movq %r15, %rdi
movq %rbp, %rsi
callq 0x4e58
leaq 0x88(%rsp), %rdi
movq %r15, %rsi
callq 0x783c
movq %rax, %r13
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x632b
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq $0x0, 0x8(%rsp)
leaq 0x90(%rsp), %rax
cmpq %rax, %r13
je 0x6390
movq 0x40(%r13), %r13
movq %r13, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r15, %rdi
leaq 0x20d78(%rip), %rsi     # 0x270d1
leaq 0x20d72(%rip), %rdx     # 0x270d2
callq 0x618a
movq %r13, %rdi
movq %r15, %rsi
callq 0xc9ea
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x64b3
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x64b3
movl $0xa8, %edi
callq 0x42e0
movq %rax, %r13
movq %rax, %rdi
callq 0xc8c8
movq %r13, 0x8(%rsp)
movq %r12, 0x18(%rsp)
movq %r15, %rdi
leaq 0x20c51(%rip), %rsi     # 0x2700a
leaq 0x20c4b(%rip), %rdx     # 0x2700b
callq 0x618a
movq %r13, %rdi
movq %r15, %rsi
callq 0xc9ea
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x63e7
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
leaq 0x40(%rsp), %rdi
movq %rbp, %rsi
callq 0x4e58
movq %r12, 0x18(%rsp)
movq 0x40(%rsp), %rax
leaq 0x50(%rsp), %rcx
cmpq %rcx, %rax
je 0x6419
movq %rax, 0x18(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0x28(%rsp)
jmp 0x6421
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 0x7882
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x646f
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x648b
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x10(%rsp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x64a9
movq 0x8(%rsp), %rax
movq %rax, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x64b3
leaq 0x8(%rsp), %rdx
callq 0x795a
movq 0x8(%rsp), %rdx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x65f2
addq $0x8, %rbx
cmpq 0x68(%rsp), %rbx
jne 0x62db
leaq 0x88(%rsp), %rdi
callq 0x7114
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x64f6
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42f0
leaq 0x78(%rsp), %rdi
callq 0x51cc
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 0x64f6
jmp 0x6525
jmp 0x6525
movq %rax, %r14
jmp 0x65c1
movq %rax, %r14
jmp 0x65cb
jmp 0x659a
movq %rax, %r14
movl $0xa8, %esi
movq %r13, %rdi
jmp 0x6593
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x655e
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x40(%rsp), %rdi
leaq 0x50(%rsp), %rax
cmpq %rax, %rdi
je 0x659d
movq 0x50(%rsp), %rsi
jmp 0x6590
jmp 0x659a
jmp 0x657e
jmp 0x657e
jmp 0x659a
jmp 0x659a
movq %rax, %r14
movq 0x18(%rsp), %rdi
cmpq %r12, %rdi
je 0x659d
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x659d
movq %rax, %r14
leaq 0x88(%rsp), %rdi
callq 0x7114
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x65c1
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x42f0
leaq 0x78(%rsp), %rdi
callq 0x51cc
movq 0x10(%rsp), %rax
movq (%rax), %rdi
testq %rdi, %rdi
je 0x65e9
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rsi
subq %rdi, %rsi
callq 0x42f0
movq %r14, %rdi
callq 0x45a0
nop