// File: /workspace/github_cpp_makefile_star2_O1/EmbeddedPaul166[P]SNMP-Agent/src/main.cpp
// Function: encodeASequence(Manager&)
void encodeASequence(Manager & manager)
{
    std::vector<std::byte> beginVector;
    std::vector<std::byte> endVector;
    int lengthInBytes = 0;
    
    DataType dataType;
    dataType.m_baseType = BaseDataType::SEQUENCE_OF;
    dataType.m_complexity = EncodingComplexity::CONSTRUCTED;
    dataType.m_visibility = DataVisibility::UNIVERSAL;
    
    //Validate sequence
    std::string nodeName = "ifTable";
    Node * pNode = manager.getNodeByName(nodeName);
    std::vector<std::string> nodeNameVector;
    
    if (manager.validate(dataType, pNode -> m_dataType, nodeNameVector))
    {
        std::cout << "Ok sequence " <<  nodeName <<std::endl;
        
    }
    else
    {
        std::cout << "Not ok sequence " <<  nodeName <<std::endl;
    }
    
    manager.startASequence(dataType, beginVector);
    
    //Validate integer element
    dataType.m_baseType = BaseDataType::INTEGER;
    dataType.m_complexity = EncodingComplexity::PRIMITIVE;
    nodeName = "ifType"; 
    bool isFound = false;
    int x = 5;
    pNode = manager.getNodeByName(nodeName);
    
    for (std::vector<std::string>::size_type i = nodeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        if (nodeNameVector[i] == pNode -> m_name)
        {
            isFound = true;
            break;
        }
    }
    
    if (isFound)
    {
        if (manager.validate(dataType, pNode -> m_dataType, x))
        {
            std::cout << "OK integer " <<  nodeName <<std::endl;
        }
        else
        {
            std::cout << "Not ok integer " <<  nodeName <<std::endl;
        }
    }
    else 
    {
        std::cout << "Not ok integer " <<  nodeName <<std::endl;
    }
    
    manager.addInteger(dataType, x, lengthInBytes, endVector);
    
    //Validate octet string element
    dataType.m_baseType = BaseDataType::OCTET_STRING;
    nodeName = "ifPhysAddress";  
    isFound = false;
    std::string y = "heh";
    pNode = manager.getNodeByName(nodeName);
    
    for (std::vector<std::string>::size_type i = nodeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        if (nodeNameVector[i] == pNode -> m_name)
        {
            isFound = true;
            break;
        }
    }
    
    if (isFound)
    {
        if (manager.validate(dataType, pNode -> m_dataType, y))
        {
            std::cout << "OK octet string " <<  nodeName <<std::endl;
        }
        else
        {
            std::cout << "Not ok octet string " <<  nodeName <<std::endl;
        }
    }
    else 
    {
        std::cout << "Not ok octet string " <<  nodeName <<std::endl;
    }
    
    manager.addOctetString(dataType, y, lengthInBytes, endVector);
    
    //Validate oid element
    dataType.m_baseType = BaseDataType::OBJECT_IDENTIFIER;
    nodeName = "ifLastChange";  
    isFound = false;
    std::vector<unsigned int> vec;
    vec.push_back(1);
    vec.push_back(3);
    vec.push_back(6); 
    pNode = manager.getNodeByName(nodeName);
    
    for (std::vector<std::string>::size_type i = nodeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        if (nodeNameVector[i] == pNode -> m_name)
        {
            isFound = true;
            break;
        }
    }
    
    if (isFound)
    {
        if (manager.validate(dataType, pNode -> m_dataType))
        {
            std::cout << "OK oid " <<  nodeName <<std::endl;
        }
        else
        {
            std::cout << "Not ok oid " <<  nodeName <<std::endl;
        }
    }
    else 
    {
        std::cout << "Not ok oid " <<  nodeName <<std::endl;
    } 
    
    manager.addObjectIdentifier(dataType, vec, lengthInBytes, endVector);

    //Validate bool element
    dataType.m_baseType = BaseDataType::BOOLEAN;
    nodeName = "ifOutDiscards";  
    isFound = false;
    bool z = true;
    pNode = manager.getNodeByName(nodeName);
    
    for (std::vector<std::string>::size_type i = nodeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        if (nodeNameVector[i] == pNode -> m_name)
        {
            isFound = true;
            break;
        }
    }
    
    if (isFound)
    {
        if (manager.validate(dataType, pNode -> m_dataType))
        {
            std::cout << "OK boolean " <<  nodeName <<std::endl;
        }
        else
        {
            std::cout << "Not ok boolean " <<  nodeName <<std::endl;
        }
    }
    else 
    {
        std::cout << "Not ok boolean " <<  nodeName <<std::endl;
    } 
    
    manager.addBoolean(dataType, z, lengthInBytes, endVector);
    
    //Validate NULL element 
    dataType.m_baseType = BaseDataType::NULL_D;
    nodeName = "ifOutDiscards";  
    isFound = false;
    pNode = manager.getNodeByName(nodeName);
    
    for (std::vector<std::string>::size_type i = nodeNameVector.size() - 1; i != (std::vector<std::string>::size_type) - 1; i--)
    {
        if (nodeNameVector[i] == pNode -> m_name)
        {
            isFound = true;
            break;
        }
    }
    
    if (isFound)
    {
        if (manager.validate(dataType, pNode -> m_dataType))
        {
            std::cout << "OK null " <<  nodeName <<std::endl;
        }
        else
        {
            std::cout << "Not ok null " <<  nodeName <<std::endl;
        }
    }
    else 
    {
        std::cout << "Not ok null " <<  nodeName <<std::endl;
    } 
    
    manager.addNULL(dataType, lengthInBytes, endVector);
    
    manager.endASequence(lengthInBytes, beginVector);
    manager.getEncodedSequence(beginVector, endVector);
    
    
    //Print sequence elements
    for (std::vector<std::byte>::size_type i = 0; i < beginVector.size(); i++)
    {
        std::bitset<8> x(std::to_integer<uint8_t>(beginVector[i]));
        std::cout << x << std::endl;
    } 
    
    std::cout << std::endl;
    std::cout << std::endl;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x138, %rsp            # imm = 0x138
movq %rdi, %rbx
xorps %xmm0, %xmm0
movaps %xmm0, 0x70(%rsp)
xorl %eax, %eax
movq %rax, 0x80(%rsp)
movq %rax, 0xa0(%rsp)
movaps %xmm0, 0x90(%rsp)
movl $0x0, 0x4(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x1dc38
movabsq $0x100000006, %rax      # imm = 0x100000006
movq %rax, 0xb0(%rsp)
movl $0x0, 0xbc(%rsp)
leaq 0x18(%rsp), %rax
movq %rax, -0x10(%rax)
leaq 0x195c0(%rip), %rsi     # 0x1f004
leaq 0x195c0(%rip), %rdx     # 0x1f00b
leaq 0x8(%rsp), %rdi
callq 0x6fee
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
xorps %xmm0, %xmm0
leaq 0x50(%rsp), %rcx
movaps %xmm0, (%rcx)
movq $0x0, 0x10(%rcx)
addq $0x28, %rax
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
movq %rax, %rdx
callq 0x7406
testb %al, %al
je 0x5ad7
movq 0x25521(%rip), %rdi     # 0x2afb8
leaq 0x1956e(%rip), %rsi     # 0x1f00c
movl $0xc, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x254ff(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5b1c
movq 0x254da(%rip), %rdi     # 0x2afb8
leaq 0x19534(%rip), %rsi     # 0x1f019
movl $0x10, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x254b8(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x70(%rsp), %rdx
movq %rbx, %rdi
callq 0x8362
movq $0x0, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x194ca(%rip), %rcx     # 0x1f02a
movl $0x6, %r8d
xorl %esi, %esi
callq 0x54a0
movl $0x5, 0x4c(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
movq 0x58(%rsp), %r15
movq %r15, %r13
subq 0x50(%rsp), %r13
je 0x5bd2
movq %rax, %r14
sarq $0x5, %r13
movq 0x10(%rax), %rbp
addq $-0x18, %r15
movq (%r15), %rdx
cmpq %rbp, %rdx
jne 0x5bc6
testq %rdx, %rdx
je 0x62e3
movq 0x8(%r14), %rsi
movq -0x8(%r15), %rdi
callq 0x5340
testl %eax, %eax
je 0x62e3
decq %r13
addq $-0x20, %r15
testq %r13, %r13
jne 0x5ba0
movq 0x253df(%rip), %rdi     # 0x2afb8
leaq 0x1945d(%rip), %rsi     # 0x1f03d
movl $0xf, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x253bd(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x4c(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x90(%rsp), %r8
movq %rbx, %rdi
callq 0x836c
movl $0x1, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x193e6(%rip), %rcx     # 0x1f04d
movl $0xd, %r8d
xorl %esi, %esi
callq 0x54a0
leaq 0x110(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x193d4(%rip), %rsi     # 0x1f05b
leaq 0x193d0(%rip), %rdx     # 0x1f05e
leaq 0x100(%rsp), %rdi
callq 0x6fee
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
movq 0x58(%rsp), %r15
movq %r15, %rbp
subq 0x50(%rsp), %rbp
je 0x5cf8
movq %rax, %r14
sarq $0x5, %rbp
movq 0x10(%rax), %r12
addq $-0x18, %r15
movq (%r15), %rdx
cmpq %r12, %rdx
jne 0x5cec
testq %rdx, %rdx
je 0x6351
movq 0x8(%r14), %rsi
movq -0x8(%r15), %rdi
callq 0x5340
testl %eax, %eax
je 0x6351
decq %rbp
addq $-0x20, %r15
testq %rbp, %rbp
jne 0x5cc6
movq 0x252b9(%rip), %rdi     # 0x2afb8
leaq 0x1936a(%rip), %rsi     # 0x1f070
movl $0x14, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x25297(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x100(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x90(%rsp), %r8
movq %rbx, %rdi
callq 0x8376
movl $0x2, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x192f5(%rip), %rcx     # 0x1f085
movl $0xc, %r8d
xorl %esi, %esi
callq 0x54a0
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movq $0x0, 0x40(%rsp)
movl $0x1, 0x28(%rsp)
movq 0x38(%rsp), %rsi
testq %rsi, %rsi
je 0x5dd1
movl $0x1, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x5de0
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x707e
movl $0x3, 0x28(%rsp)
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x5e05
movl $0x3, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x5e14
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x707e
movl $0x6, 0x28(%rsp)
movq 0x38(%rsp), %rsi
cmpq 0x40(%rsp), %rsi
je 0x5e39
movl $0x6, (%rsi)
addq $0x4, %rsi
movq %rsi, 0x38(%rsp)
jmp 0x5e48
leaq 0x30(%rsp), %rdi
leaq 0x28(%rsp), %rdx
callq 0x707e
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
movq 0x58(%rsp), %r15
movq %r15, %rbp
subq 0x50(%rsp), %rbp
je 0x5ea5
movq %rax, %r14
sarq $0x5, %rbp
movq 0x10(%rax), %r12
addq $-0x18, %r15
movq (%r15), %rdx
cmpq %r12, %rdx
jne 0x5e99
testq %rdx, %rdx
je 0x63c2
movq 0x8(%r14), %rsi
movq -0x8(%r15), %rdi
callq 0x5340
testl %eax, %eax
je 0x63c2
decq %rbp
addq $-0x20, %r15
testq %rbp, %rbp
jne 0x5e73
movq 0x2510c(%rip), %rdi     # 0x2afb8
leaq 0x191e7(%rip), %rsi     # 0x1f09a
movl $0xb, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x250ea(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x30(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x90(%rsp), %r8
movq %rbx, %rdi
callq 0x8380
movl $0x3, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x1916c(%rip), %rcx     # 0x1f0a6
movl $0xd, %r8d
xorl %esi, %esi
callq 0x54a0
movb $0x1, 0x3(%rsp)
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
movq 0x58(%rsp), %r15
movq %r15, %rbp
subq 0x50(%rsp), %rbp
je 0x5fa9
movq %rax, %r14
sarq $0x5, %rbp
movq 0x10(%rax), %r12
addq $-0x18, %r15
movq (%r15), %rdx
cmpq %r12, %rdx
jne 0x5f9d
testq %rdx, %rdx
je 0x642b
movq 0x8(%r14), %rsi
movq -0x8(%r15), %rdi
callq 0x5340
testl %eax, %eax
je 0x642b
decq %rbp
addq $-0x20, %r15
testq %rbp, %rbp
jne 0x5f77
movq 0x25008(%rip), %rdi     # 0x2afb8
leaq 0x19109(%rip), %rsi     # 0x1f0c0
movl $0xf, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24fe6(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x3(%rsp), %rdx
leaq 0x4(%rsp), %rcx
leaq 0x90(%rsp), %r8
movq %rbx, %rdi
callq 0x838a
movl $0x4, 0xb0(%rsp)
leaq 0x8(%rsp), %rdi
movq 0x8(%rdi), %rdx
leaq 0x19068(%rip), %rcx     # 0x1f0a6
movl $0xd, %r8d
xorl %esi, %esi
callq 0x54a0
leaq 0x8(%rsp), %rsi
movq %rbx, %rdi
callq 0x8288
movq 0x58(%rsp), %r15
movq %r15, %rbp
subq 0x50(%rsp), %rbp
je 0x60a8
movq %rax, %r14
sarq $0x5, %rbp
movq 0x10(%rax), %r12
addq $-0x18, %r15
movq (%r15), %rdx
cmpq %r12, %rdx
jne 0x609c
testq %rdx, %rdx
je 0x6494
movq 0x8(%r14), %rsi
movq -0x8(%r15), %rdi
callq 0x5340
testl %eax, %eax
je 0x6494
decq %rbp
addq $-0x20, %r15
testq %rbp, %rbp
jne 0x6076
movq 0x24f09(%rip), %rdi     # 0x2afb8
leaq 0x19023(%rip), %rsi     # 0x1f0d9
movl $0xc, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24ee7(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r14, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
leaq 0xb0(%rsp), %rsi
leaq 0x4(%rsp), %rdx
leaq 0x90(%rsp), %rcx
movq %rbx, %rdi
callq 0x8394
leaq 0x4(%rsp), %rsi
leaq 0x70(%rsp), %rdx
movq %rbx, %rdi
callq 0x839e
leaq 0x120(%rsp), %rdi
leaq 0x70(%rsp), %rdx
leaq 0x90(%rsp), %rcx
movq %rbx, %rsi
callq 0x83a8
movq 0x120(%rsp), %rdi
testq %rdi, %rdi
je 0x6169
movq 0x130(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x70(%rsp), %rax
cmpq %rax, 0x78(%rsp)
je 0x61d6
xorl %ebp, %ebp
movq 0x24e3a(%rip), %rbx     # 0x2afb8
leaq 0x28(%rsp), %r14
movzbl (%rax,%rbp), %eax
movq %rax, 0x28(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6ddb
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq %r15, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
incq %rbp
movq 0x70(%rsp), %rax
movq 0x78(%rsp), %rcx
subq %rax, %rcx
cmpq %rcx, %rbp
jb 0x6183
movq 0x24ddb(%rip), %rdi     # 0x2afb8
movq (%rdi), %rax
addq -0x18(%rax), %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq 0x24dc0(%rip), %rbx     # 0x2afb8
movq %rbx, %rdi
callq 0x5040
movq %rax, %rdi
callq 0x5260
movq (%rbx), %rax
addq -0x18(%rax), %rbx
movq %rbx, %rdi
movl $0xa, %esi
callq 0x5300
movsbl %al, %esi
movq 0x24d92(%rip), %rdi     # 0x2afb8
callq 0x5040
movq %rax, %rdi
callq 0x5260
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x624a
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x100(%rsp), %rdi
cmpq %r13, %rdi
je 0x6267
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0x6f02
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x628d
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0xb0(%rsp), %rdi
callq 0x1dc56
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x62b7
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x62d1
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
addq $0x138, %rsp            # imm = 0x138
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
addq $0x28, %r14
leaq 0xb0(%rsp), %rsi
leaq 0x4c(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x757e
testb %al, %al
je 0x64fd
movq 0x24caa(%rip), %rdi     # 0x2afb8
leaq 0x18d1c(%rip), %rsi     # 0x1f031
movl $0xb, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24c88(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5c17
addq $0x28, %r14
leaq 0xb0(%rsp), %rsi
leaq 0x100(%rsp), %rcx
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7588
testb %al, %al
je 0x6547
movq 0x24c39(%rip), %rdi     # 0x2afb8
leaq 0x18cd9(%rip), %rsi     # 0x1f05f
movl $0x10, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24c17(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5d3d
addq $0x28, %r14
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7574
testb %al, %al
je 0x6591
movq 0x24bd0(%rip), %rdi     # 0x2afb8
leaq 0x18ca3(%rip), %rsi     # 0x1f092
movl $0x7, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24bae(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5eea
addq $0x28, %r14
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7574
testb %al, %al
je 0x65db
movq 0x24b67(%rip), %rdi     # 0x2afb8
leaq 0x18c5c(%rip), %rsi     # 0x1f0b4
movl $0xb, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24b45(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5fee
addq $0x28, %r14
leaq 0xb0(%rsp), %rsi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x7574
testb %al, %al
je 0x6625
movq 0x24afe(%rip), %rdi     # 0x2afb8
leaq 0x18c0f(%rip), %rsi     # 0x1f0d0
movl $0x8, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24adc(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x60ed
movq 0x24ab4(%rip), %rdi     # 0x2afb8
leaq 0x18b32(%rip), %rsi     # 0x1f03d
movl $0xf, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24a92(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5c17
movq 0x24a6a(%rip), %rdi     # 0x2afb8
leaq 0x18b1b(%rip), %rsi     # 0x1f070
movl $0x14, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x24a48(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5d3d
movq 0x24a20(%rip), %rdi     # 0x2afb8
leaq 0x18afb(%rip), %rsi     # 0x1f09a
movl $0xb, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x249fe(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5eea
movq 0x249d6(%rip), %rdi     # 0x2afb8
leaq 0x18ad7(%rip), %rsi     # 0x1f0c0
movl $0xf, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x249b4(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x5fee
movq 0x2498c(%rip), %rdi     # 0x2afb8
leaq 0x18aa6(%rip), %rsi     # 0x1f0d9
movl $0xc, %edx
callq 0x5390
movq 0x8(%rsp), %rsi
movq 0x10(%rsp), %rdx
movq 0x2496a(%rip), %rdi     # 0x2afb8
callq 0x5390
movq %rax, %r14
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x5300
jmp 0x60ed
jmp 0x6696
jmp 0x6696
jmp 0x6696
jmp 0x668f
movq %rax, %rbx
jmp 0x66d7
movq %rax, %rbx
jmp 0x66f3
movq %rax, %rbx
jmp 0x6700
jmp 0x668f
jmp 0x6696
movq %rax, %rbx
jmp 0x66b0
movq %rax, %rbx
jmp 0x66cd
jmp 0x6696
movq %rax, %rbx
movq 0x30(%rsp), %rdi
testq %rdi, %rdi
je 0x66b0
movq 0x40(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x100(%rsp), %rdi
cmpq %r13, %rdi
je 0x66cd
movq 0x110(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0x50(%rsp), %rdi
callq 0x6f02
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0x66f3
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x5320
leaq 0xb0(%rsp), %rdi
callq 0x1dc56
movq 0x90(%rsp), %rdi
testq %rdi, %rdi
je 0x671d
movq 0xa0(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x6737
movq 0x80(%rsp), %rsi
subq %rdi, %rsi
callq 0x5320
movq %rbx, %rdi
callq 0x5550