// File: /workspace/github_cpp_makefile_star2_O3/eniac[P]Mantis/src/compile/compile_p4.cpp
// Function: generateInitTableForIng(std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<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, int>>>*, std::vector<AstNode*, std::allocator<AstNode*>>*, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, P4RMalleableValueNode*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<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, P4RMalleableValueNode*>>> const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, P4RMalleableFieldNode*, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>, std::equal_to<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, P4RMalleableFieldNode*>>> const&, int, bool)
int generateInitTableForIng(unordered_map<string, int>* mblUsages,
                               vector<AstNode*>* newNodes,
                               const unordered_map<string,
                                                   P4RMalleableValueNode*>& mblValues,
                               const unordered_map<string,
                                                   P4RMalleableFieldNode*>& mblFields,
                               int iso_opt, bool forIng) {

    // As the set of mbls in practice is small, currently a monolithic init for ing or egr
    ostringstream oss;
    string p4rInitActionName;
    string p4rSetVarTblName;
    string p4rMetadataName;
    
    if(forIng) {
        p4rInitActionName = string(kP4rIngInitAction);
        p4rSetVarTblName = "__tiSetVars";
        p4rMetadataName = string(kP4rIngMetadataName);
    } else {
        p4rInitActionName = string(kP4rEgrInitAction);
        p4rSetVarTblName = "__teSetVars";
        p4rMetadataName = string(kP4rEgrMetadataName);
    }

    oss << "action " << p4rInitActionName << "(";
    bool first = true;
    bool has_var = false;
    int num_vars = 0;
    for (auto kv : mblValues) {
        if(forIng && mblUsages->at(kv.first)==USAGE::EGRESS) {
            continue;
        } 
        if(!forIng && mblUsages->at(kv.first)==USAGE::INGRESS) {
            continue;
        }  
        if (first) {
            first = false;
        } else {
            oss << ", ";
        }
        has_var = true;
        oss << "p__" << kv.first;
        num_vars += 1;
    }
    for (auto kv : mblFields) {
        if(forIng && mblUsages->at(kv.first)==USAGE::EGRESS) {
            continue;
        } 
        if(!forIng && mblUsages->at(kv.first)==USAGE::INGRESS) {
            continue;
        }         
        if (first) {
            first = false;
        } else {
            oss << ", ";
        }
        has_var = true;
        oss << "p__" << kv.first << kP4rIndexSuffix;
        num_vars += 1;
    }

    if(has_var && iso_opt != 0) {
        oss << ", ";
    }

    if(iso_opt == 1) {
        oss << "__mv";
        num_vars += 1;
    } else if(iso_opt == 2) {
        oss << "__vv";
        num_vars += 1;
    } else if (iso_opt == 3) {
        oss << "__mv , __vv";
        num_vars += 2;
    }
    if(forIng) {
        PRINT_VERBOSE("Number of ing vars to set in init: %d\n", num_vars);
    } else {
        PRINT_VERBOSE("Number of egr vars to set in init: %d\n", num_vars);
    }

    oss << ") {\n";

    for (auto kv : mblValues) {
        if(forIng && mblUsages->at(kv.first)==USAGE::EGRESS) {
            continue;
        } 
        if(!forIng && mblUsages->at(kv.first)==USAGE::INGRESS) {
            continue;
        }        
        oss << "  modify_field(" << p4rMetadataName << "." << kv.first
                                << ", p__" << kv.first << ");\n";
    }

    for (auto kv : mblFields) {
        if(forIng && mblUsages->at(kv.first)==USAGE::EGRESS) {
            continue;
        } 
        if(!forIng && mblUsages->at(kv.first)==USAGE::INGRESS) {
            continue;
        }         
        oss << "  modify_field(" << p4rMetadataName << "."
                                << kv.first << kP4rIndexSuffix
                                << ", p__" << kv.first << kP4rIndexSuffix
                                << ");\n";
    }

    if(((unsigned int)iso_opt) & 0b1) {
        oss << "  modify_field(" << p4rMetadataName << "."
                                << "__mv, __mv"
                                << ");\n";
    } 
    if (((unsigned int)iso_opt) & 0b10) {
        oss << "  modify_field(" << p4rMetadataName << "."
                                << "__vv, __vv"
                                << ");\n";
    } 

    // pragma stage 0 not required due to the match dependency of later tables matching on __vv, __mv, field_alt
    oss << "}\n\n"
        << "table "
        << p4rSetVarTblName
        << " {\n"
        << "  actions {\n"
        << "    " << p4rInitActionName << ";\n"
        << "  }\n"
        << "  size : 1;\n"
        << "}\n\n";

    string* codeStr = new string(oss.str());
    string* objType = new string("table");
    string* tableName = new string(p4rSetVarTblName);

    newNodes->push_back(new UnanchoredNode(codeStr, objType, tableName));

    return num_vars;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movl %r9d, %ebx
movl %r8d, %r15d
movq %rcx, -0x98(%rbp)
movq %rdx, %r13
movq %rsi, %r14
movq %rdi, -0x68(%rbp)
leaq -0x260(%rbp), %rdi
callq 0x2e550
leaq -0xc8(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0xa8(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x80(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x48(%rbp), %r12
movl %ebx, -0x5c(%rbp)
leaq -0x58(%rbp), %rdi
testl %ebx, %ebx
je 0x6cc58
movq %r12, (%rdi)
leaq 0xb17f(%rip), %rsi      # 0x77d70
leaq 0xb183(%rip), %rdx      # 0x77d7b
callq 0x32e40
leaq -0xd8(%rbp), %rdi
leaq -0x58(%rbp), %rbx
movq %rbx, %rsi
callq 0x2e4c0
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x6cc1d
callq 0x2e360
leaq -0xb8(%rbp), %rdi
movq 0x8(%rdi), %rdx
leaq 0xd19e(%rip), %rcx      # 0x79dcd
movl $0xb, %r8d
xorl %esi, %esi
callq 0x2e640
leaq -0x58(%rbp), %rdi
movq %r12, (%rdi)
leaq 0xafb1(%rip), %rsi      # 0x77bfb
leaq 0xafb6(%rip), %rdx      # 0x77c07
callq 0x32e40
jmp 0x6ccc7
movq %r12, (%rdi)
leaq 0xb163(%rip), %rsi      # 0x77dc5
leaq 0xb167(%rip), %rdx      # 0x77dd0
callq 0x32e40
leaq -0xd8(%rbp), %rdi
leaq -0x58(%rbp), %rbx
movq %rbx, %rsi
callq 0x2e4c0
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x6cc8e
callq 0x2e360
leaq -0xb8(%rbp), %rdi
movq 0x8(%rdi), %rdx
leaq 0xd139(%rip), %rcx      # 0x79dd9
movl $0xb, %r8d
xorl %esi, %esi
callq 0x2e640
leaq -0x58(%rbp), %rdi
movq %r12, (%rdi)
leaq 0xaf5e(%rip), %rsi      # 0x77c19
leaq 0xaf63(%rip), %rdx      # 0x77c25
callq 0x32e40
leaq -0x90(%rbp), %rdi
movq %rbx, %rsi
callq 0x2e4c0
movq (%rbx), %rdi
cmpq %r12, %rdi
je 0x6cce3
callq 0x2e360
leaq 0x95c9(%rip), %rsi      # 0x762b3
leaq -0x260(%rbp), %rdi
movl $0x7, %edx
callq 0x2e440
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
leaq -0x260(%rbp), %rdi
callq 0x2e440
leaq 0xcea5(%rip), %rsi      # 0x79bc1
movl $0x1, %edx
movq %rax, %rdi
callq 0x2e440
movl %r15d, -0x6c(%rbp)
movq %r14, -0xe0(%rbp)
movq %r13, -0xe8(%rbp)
movq 0x10(%r13), %r14
testq %r14, %r14
je 0x6ce26
xorl %r12d, %r12d
movb $0x1, %r13b
leaq -0x260(%rbp), %r15
movl $0x0, -0x2c(%rbp)
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x8(%r14), %rsi
movq 0x10(%r14), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x32cbc
movq 0x28(%r14), %rax
movq %rax, -0x38(%rbp)
cmpb $0x0, -0x5c(%rbp)
je 0x6cda2
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d57a
cmpl $0x1, 0x28(%rax)
jne 0x6cdbd
jmp 0x6ce06
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d57a
cmpl $0x0, 0x28(%rax)
je 0x6ce06
testb $0x1, %r13b
je 0x6cdc8
xorl %r13d, %r13d
jmp 0x6cddc
movl $0x2, %edx
movq %r15, %rdi
leaq 0xb1a8(%rip), %rsi      # 0x77f7f
callq 0x2e440
movl $0x3, %edx
movq %r15, %rdi
leaq 0xd018(%rip), %rsi      # 0x79e03
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
incl -0x2c(%rbp)
movb $0x1, %r12b
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6ce18
callq 0x2e360
movq (%r14), %r14
testq %r14, %r14
jne 0x6cd5c
jmp 0x6ce33
movb $0x1, %r13b
movl $0x0, -0x2c(%rbp)
xorl %r12d, %r12d
movq -0x98(%rbp), %rax
movq 0x10(%rax), %r15
testq %r15, %r15
je 0x6cf2e
leaq -0x58(%rbp), %r14
leaq -0x260(%rbp), %rbx
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x8(%r15), %rsi
movq 0x10(%r15), %rdx
addq %rsi, %rdx
movq %r14, %rdi
callq 0x32cbc
movq 0x28(%r15), %rax
movq %rax, -0x38(%rbp)
cmpb $0x0, -0x5c(%rbp)
je 0x6ce98
movq -0x68(%rbp), %rdi
movq %r14, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d586
cmpl $0x1, 0x28(%rax)
jne 0x6ceb3
jmp 0x6cf10
movq -0x68(%rbp), %rdi
movq %r14, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d586
cmpl $0x0, 0x28(%rax)
je 0x6cf10
testb $0x1, %r13b
je 0x6cebe
xorl %r13d, %r13d
jmp 0x6ced2
movl $0x2, %edx
movq %rbx, %rdi
leaq 0xb0b2(%rip), %rsi      # 0x77f7f
callq 0x2e440
movl $0x3, %edx
movq %rbx, %rdi
leaq 0xcf22(%rip), %rsi      # 0x79e03
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e440
movl $0x5, %edx
movq %rax, %rdi
leaq 0xb039(%rip), %rsi      # 0x77f3e
callq 0x2e440
incl -0x2c(%rbp)
movb $0x1, %r12b
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6cf22
callq 0x2e360
movq (%r15), %r15
testq %r15, %r15
jne 0x6ce52
movl -0x6c(%rbp), %r13d
testl %r13d, %r13d
setne %al
testb %r12b, %al
je 0x6cf55
leaq 0xb03b(%rip), %rsi      # 0x77f7f
leaq -0x260(%rbp), %rdi
movl $0x2, %edx
callq 0x2e440
cmpl $0x3, %r13d
je 0x6cf9e
cmpl $0x2, %r13d
je 0x6cf81
cmpl $0x1, %r13d
jne 0x6cfba
leaq 0xce9f(%rip), %rsi      # 0x79e0d
leaq -0x260(%rbp), %rdi
movl $0x4, %edx
callq 0x2e440
jmp 0x6cf99
leaq 0xce64(%rip), %rsi      # 0x79dec
leaq -0x260(%rbp), %rdi
movl $0x4, %edx
callq 0x2e440
incl -0x2c(%rbp)
jmp 0x6cfba
leaq 0xce40(%rip), %rsi      # 0x79de5
leaq -0x260(%rbp), %rdi
movl $0xb, %edx
callq 0x2e440
addl $0x2, -0x2c(%rbp)
leaq 0xcc0d(%rip), %rsi      # 0x79bce
leaq -0x260(%rbp), %rdi
movl $0x4, %edx
callq 0x2e440
movq -0xe8(%rbp), %rax
movq 0x10(%rax), %r12
testq %r12, %r12
je 0x6d107
leaq -0x58(%rbp), %rbx
leaq -0x260(%rbp), %r15
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x32cbc
movq 0x28(%r12), %rax
movq %rax, -0x38(%rbp)
cmpb $0x0, -0x5c(%rbp)
je 0x6d03d
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d592
cmpl $0x1, 0x28(%rax)
jne 0x6d05c
jmp 0x6d0e8
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d592
cmpl $0x0, 0x28(%rax)
je 0x6d0e8
movl $0xf, %edx
movq %r15, %rdi
leaq 0xcd86(%rip), %rsi      # 0x79df1
callq 0x2e440
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
movq %rax, %r14
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa891(%rip), %rsi      # 0x77929
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %r14, %rdi
callq 0x2e440
movq %rax, %r14
movl $0x5, %edx
movq %rax, %rdi
leaq 0xcd42(%rip), %rsi      # 0x79e01
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %r14, %rdi
callq 0x2e440
movl $0x3, %edx
movq %rax, %rdi
leaq 0x8d41(%rip), %rsi      # 0x75e24
callq 0x2e440
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6d0fa
callq 0x2e360
movq (%r12), %r12
testq %r12, %r12
jne 0x6cff1
movq -0x98(%rbp), %rax
movq 0x10(%rax), %r12
testq %r12, %r12
je 0x6d267
leaq -0x58(%rbp), %rbx
leaq 0xae18(%rip), %r14      # 0x77f3e
leaq -0x48(%rbp), %rax
movq %rax, -0x58(%rbp)
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
addq %rsi, %rdx
movq %rbx, %rdi
callq 0x32cbc
movq 0x28(%r12), %rax
movq %rax, -0x38(%rbp)
cmpb $0x0, -0x5c(%rbp)
je 0x6d172
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d59e
cmpl $0x1, 0x28(%rax)
jne 0x6d191
jmp 0x6d248
movq -0x68(%rbp), %rdi
movq %rbx, %rsi
callq 0x63018
testq %rax, %rax
je 0x6d59e
cmpl $0x0, 0x28(%rax)
je 0x6d248
movl $0xf, %edx
leaq -0x260(%rbp), %rdi
leaq 0xcc4d(%rip), %rsi      # 0x79df1
callq 0x2e440
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x260(%rbp), %rdi
callq 0x2e440
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0xa754(%rip), %rsi      # 0x77929
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x2e440
movl $0x5, %edx
movq %r15, %rdi
leaq 0xcbf5(%rip), %rsi      # 0x79e01
callq 0x2e440
movq -0x58(%rbp), %rsi
movq -0x50(%rbp), %rdx
movq %r15, %rdi
callq 0x2e440
movq %rax, %r15
movl $0x5, %edx
movq %rax, %rdi
movq %r14, %rsi
callq 0x2e440
movl $0x3, %edx
movq %r15, %rdi
leaq 0x8be1(%rip), %rsi      # 0x75e24
callq 0x2e440
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6d25a
callq 0x2e360
movq (%r12), %r12
testq %r12, %r12
jne 0x6d126
testb $0x1, %r13b
je 0x6d2de
leaq 0xcb7d(%rip), %rsi      # 0x79df1
leaq -0x260(%rbp), %rdi
movl $0xf, %edx
callq 0x2e440
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x260(%rbp), %rdi
callq 0x2e440
movq %rax, %rbx
leaq 0xa680(%rip), %rsi      # 0x77929
movl $0x1, %edx
movq %rax, %rdi
callq 0x2e440
leaq 0xcb4a(%rip), %rsi      # 0x79e07
movl $0xa, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0x8b53(%rip), %rsi      # 0x75e24
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2e440
testb $0x2, %r13b
je 0x6d355
leaq 0xcb06(%rip), %rsi      # 0x79df1
leaq -0x260(%rbp), %rdi
movl $0xf, %edx
callq 0x2e440
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x260(%rbp), %rdi
callq 0x2e440
movq %rax, %rbx
leaq 0xa609(%rip), %rsi      # 0x77929
movl $0x1, %edx
movq %rax, %rdi
callq 0x2e440
leaq 0xcade(%rip), %rsi      # 0x79e12
movl $0xa, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0x8adc(%rip), %rsi      # 0x75e24
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0xcd31(%rip), %rsi      # 0x7a08d
leaq -0x260(%rbp), %rdi
movl $0x3, %edx
callq 0x2e440
leaq 0x8a52(%rip), %rsi      # 0x75dc6
leaq -0x260(%rbp), %rdi
movl $0x6, %edx
callq 0x2e440
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
leaq -0x260(%rbp), %rdi
callq 0x2e440
movq %rax, %rbx
leaq 0xc826(%rip), %rsi      # 0x79bcf
movl $0x3, %edx
movq %rax, %rdi
callq 0x2e440
leaq 0x8a1b(%rip), %rsi      # 0x75dd8
movl $0xc, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0x89dd(%rip), %rsi      # 0x75dae
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2e440
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
movq %rbx, %rdi
callq 0x2e440
movq %rax, %rbx
leaq 0x8a27(%rip), %rsi      # 0x75e25
movl $0x2, %edx
movq %rax, %rdi
callq 0x2e440
leaq 0x9fa4(%rip), %rsi      # 0x773b6
movl $0x4, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0xc9f7(%rip), %rsi      # 0x79e1d
movl $0xc, %edx
movq %rbx, %rdi
callq 0x2e440
leaq 0xcc53(%rip), %rsi      # 0x7a08d
movl $0x3, %edx
movq %rbx, %rdi
callq 0x2e440
movl $0x20, %edi
callq 0x2e3a0
movq %rax, %r14
leaq -0x258(%rbp), %rsi
movq %rax, %rdi
callq 0x2e660
movl $0x20, %edi
callq 0x2e3a0
movq %rax, %r15
addq $0x10, %rax
movq %rax, (%r15)
leaq 0xc883(%rip), %rsi      # 0x79d01
leaq 0xc881(%rip), %rdx      # 0x79d06
movq %r15, %rdi
callq 0x32e40
movl $0x20, %edi
callq 0x2e3a0
movq %rax, %r12
addq $0x10, %rax
movq %rax, (%r12)
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
addq %rsi, %rdx
movq %r12, %rdi
callq 0x32cbc
movl $0x58, %edi
callq 0x2e3a0
movq %rax, %r13
movq %rax, %rdi
movq %r14, %rsi
movq %r15, %rdx
movq %r12, %rcx
callq 0x3e120
movq %r13, -0x58(%rbp)
movq -0xe0(%rbp), %rdi
movq 0x8(%rdi), %rsi
cmpq 0x10(%rdi), %rsi
je 0x6d4f8
movq %r13, (%rsi)
addq $0x8, 0x8(%rdi)
jmp 0x6d501
leaq -0x58(%rbp), %rdx
callq 0x3311a
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x6d516
callq 0x2e360
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x6d52e
callq 0x2e360
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x6d546
callq 0x2e360
movq 0x20a5b(%rip), %rsi     # 0x8dfa8
leaq -0x260(%rbp), %rdi
callq 0x2e230
leaq -0x1f0(%rbp), %rdi
callq 0x2e150
movl -0x2c(%rbp), %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0xbb33(%rip), %rdi      # 0x790b4
callq 0x2e5c0
leaq 0xbb27(%rip), %rdi      # 0x790b4
callq 0x2e5c0
leaq 0xbb1b(%rip), %rdi      # 0x790b4
callq 0x2e5c0
leaq 0xbb0f(%rip), %rdi      # 0x790b4
callq 0x2e5c0
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5ea
movq %rax, %rbx
movq %r13, %rdi
jmp 0x6d607
movq %rax, %rbx
movq %r12, %rdi
jmp 0x6d607
jmp 0x6d5ea
movq %rax, %rbx
movq %r15, %rdi
jmp 0x6d607
jmp 0x6d5ea
movq %rax, %rbx
movq %r14, %rdi
jmp 0x6d607
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5f7
jmp 0x6d5f7
jmp 0x6d5ea
jmp 0x6d5ea
jmp 0x6d5f7
movq %rax, %rbx
jmp 0x6d60c
jmp 0x6d5f7
jmp 0x6d5f7
jmp 0x6d5f7
jmp 0x6d5f7
movq %rax, %rbx
movq -0x58(%rbp), %rdi
leaq -0x48(%rbp), %rax
cmpq %rax, %rdi
je 0x6d60c
callq 0x2e360
movq -0x90(%rbp), %rdi
leaq -0x80(%rbp), %rax
cmpq %rax, %rdi
je 0x6d621
callq 0x2e360
movq -0xb8(%rbp), %rdi
leaq -0xa8(%rbp), %rax
cmpq %rax, %rdi
je 0x6d639
callq 0x2e360
movq -0xd8(%rbp), %rdi
leaq -0xc8(%rbp), %rax
cmpq %rax, %rdi
je 0x6d651
callq 0x2e360
movq 0x20950(%rip), %rsi     # 0x8dfa8
leaq -0x260(%rbp), %rdi
callq 0x2e230
leaq -0x1f0(%rbp), %rdi
callq 0x2e150
movq %rbx, %rdi
callq 0x2e730