// File: tap3edit[P]tap3xml/Asn.cpp
// Function: Asn::_free_spec_tree(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, tagtype_s*, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const, tagtype_s*>>>&)
void Asn::_free_spec_tree(map<string,tagtype_s *> &spec_tree)
{
    map<string,tagtype_s *>::iterator   mii;
    vector<tagelem_s *>::iterator       vii;
    vector<tagelem_s *>*                children;


    for(mii=spec_tree.begin();mii!=spec_tree.end();mii++)
    {
        if (mii->second!=NULL)
        {
            if (mii->second->children!=NULL && mii->second->modified==false)
            {
                children=mii->second->children;

                for(vii=children->begin();vii!=children->end();vii++)
                {
                    if (*vii!=NULL)
                    {
                        delete *vii;
                        *vii=NULL;
                    }
                }

                delete mii->second->children;
                mii->second->children=NULL;
            }

            delete mii->second;
            mii->second=NULL;
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x1f070
leaq -0x20(%rbp), %rdi
callq 0x1edd0
movq -0x10(%rbp), %rdi
callq 0x1f0b0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0xf5a0
movq %rax, -0x38(%rbp)
leaq -0x18(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x1f0e0
testb $0x1, %al
jne 0x1e8fa
jmp 0x1ea89
leaq -0x18(%rbp), %rdi
callq 0x1f110
cmpq $0x0, 0x20(%rax)
je 0x1ea73
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
cmpq $0x0, 0x50(%rax)
je 0x1ea34
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
movb 0x49(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x1ea34
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
callq 0x10a10
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x28(%rbp), %rdi
callq 0x108a0
movq %rax, -0x48(%rbp)
leaq -0x20(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x1edf0
testb $0x1, %al
jne 0x1e98e
jmp 0x1e9ed
leaq -0x20(%rbp), %rdi
callq 0x1ee30
cmpq $0x0, (%rax)
je 0x1e9da
leaq -0x20(%rbp), %rdi
callq 0x1ee30
movq (%rax), %rax
movq %rax, -0x60(%rbp)
cmpq $0x0, %rax
je 0x1e9ca
movq -0x60(%rbp), %rdi
callq 0x1f230
movq -0x60(%rbp), %rdi
movl $0x50, %esi
callq 0x4370
leaq -0x20(%rbp), %rdi
callq 0x1ee30
movq $0x0, (%rax)
jmp 0x1e9dc
leaq -0x20(%rbp), %rdi
xorl %esi, %esi
callq 0x1ee50
movq %rax, -0x50(%rbp)
jmp 0x1e96e
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
movq 0x50(%rax), %rax
movq %rax, -0x68(%rbp)
cmpq $0x0, %rax
je 0x1ea1f
movq -0x68(%rbp), %rdi
callq 0x1f260
movq -0x68(%rbp), %rdi
movl $0x18, %esi
callq 0x4370
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
movq $0x0, 0x50(%rax)
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq 0x20(%rax), %rax
movq %rax, -0x70(%rbp)
cmpq $0x0, %rax
je 0x1ea62
movq -0x70(%rbp), %rdi
callq 0x1f2c0
movq -0x70(%rbp), %rdi
movl $0x58, %esi
callq 0x4370
leaq -0x18(%rbp), %rdi
callq 0x1f110
movq $0x0, 0x20(%rax)
jmp 0x1ea75
leaq -0x18(%rbp), %rdi
xorl %esi, %esi
callq 0x1f190
movq %rax, -0x58(%rbp)
jmp 0x1e8d7
addq $0x70, %rsp
popq %rbp
retq
nop