// File: dianejdan[P]Eclat/./PatternStore.hpp
// Function: PatternStore<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>::print_work(Pattern<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
void print_work(Pattern<Typ> *parent, string head){
        vector<Pattern<Typ> *> myChildren = parent->get_children(); // get children list

        stringstream ss; // for forming new header

        for (int i = 0; i < myChildren.size(); ++i){ // loop through child in children list
            cout << "[" << printCount << "]" << head << "-" << myChildren[i]->get_item() << "\n\n"; // print the current pattern
            ++printCount; // add printed pattern number by 1
            string newHead; 
            ss << head << "-" << myChildren[i]->get_item(); // form the new header
            ss >> newHead;
            ss.clear();
            print_work(myChildren[i], newHead); // recursive call
        }
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x2b0, %rsp            # imm = 0x2B0
movq %rdx, -0x258(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x250(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xf840
leaq -0x1b8(%rbp), %rdi
callq 0x2190
jmp 0x101b4
movl $0x0, -0x1c8(%rbp)
movslq -0x1c8(%rbp), %rax
movq %rax, -0x260(%rbp)
leaq -0x30(%rbp), %rdi
callq 0xf460
movq %rax, %rcx
movq -0x260(%rbp), %rax
cmpq %rcx, %rax
jae 0x104c0
movq 0x9de9(%rip), %rdi      # 0x19fd8
leaq 0xf8e(%rip), %rsi       # 0x11184
callq 0x2220
movq %rax, -0x268(%rbp)
jmp 0x10204
movq -0x268(%rbp), %rdi
movq -0x250(%rbp), %rax
movl 0x10(%rax), %esi
callq 0x2380
movq %rax, -0x270(%rbp)
jmp 0x10223
movq -0x270(%rbp), %rdi
leaq 0xf55(%rip), %rsi       # 0x11186
callq 0x2220
movq %rax, -0x278(%rbp)
jmp 0x1023f
movq -0x258(%rbp), %rsi
movq -0x278(%rbp), %rdi
callq 0x2200
movq %rax, -0x280(%rbp)
jmp 0x1025b
movq -0x280(%rbp), %rdi
leaq 0xf1f(%rip), %rsi       # 0x11188
callq 0x2220
movq %rax, -0x288(%rbp)
jmp 0x10277
movslq -0x1c8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xf870
movq (%rax), %rsi
leaq -0x1e8(%rbp), %rdi
callq 0xfa30
jmp 0x10298
movq -0x288(%rbp), %rdi
leaq -0x1e8(%rbp), %rsi
callq 0x2200
movq %rax, -0x290(%rbp)
jmp 0x102b4
movq -0x290(%rbp), %rdi
leaq 0xe80(%rip), %rsi       # 0x11142
callq 0x2220
jmp 0x102c9
leaq -0x1e8(%rbp), %rdi
callq 0x2160
movq -0x250(%rbp), %rax
movl 0x10(%rax), %ecx
incl %ecx
movl %ecx, 0x10(%rax)
leaq -0x208(%rbp), %rdi
callq 0x2320
movq -0x258(%rbp), %rsi
leaq -0x1a8(%rbp), %rdi
callq 0x2200
movq %rax, -0x298(%rbp)
jmp 0x1030c
movq -0x298(%rbp), %rdi
leaq 0xe6e(%rip), %rsi       # 0x11188
callq 0x2220
movq %rax, -0x2a0(%rbp)
jmp 0x10328
movslq -0x1c8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xf870
movq (%rax), %rsi
leaq -0x228(%rbp), %rdi
callq 0xfa30
jmp 0x10349
movq -0x2a0(%rbp), %rdi
leaq -0x228(%rbp), %rsi
callq 0x2200
jmp 0x1035e
leaq -0x228(%rbp), %rdi
callq 0x2160
leaq -0x1b8(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0x22f0
jmp 0x1037f
movq -0x1b8(%rbp), %rax
movq -0x18(%rax), %rax
leaq -0x1b8(%rbp,%rax), %rdi
xorl %esi, %esi
callq 0x2370
jmp 0x1039b
movslq -0x1c8(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0xf870
movq (%rax), %rax
movq %rax, -0x2a8(%rbp)
leaq -0x248(%rbp), %rdi
leaq -0x208(%rbp), %rsi
callq 0x20e0
jmp 0x103ca
movq -0x2a8(%rbp), %rsi
movq -0x250(%rbp), %rdi
leaq -0x248(%rbp), %rdx
callq 0x10170
jmp 0x103e6
leaq -0x248(%rbp), %rdi
callq 0x2160
leaq -0x208(%rbp), %rdi
callq 0x2160
movl -0x1c8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c8(%rbp)
jmp 0x101be
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x104ea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x104de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x1e8(%rbp), %rdi
callq 0x2160
jmp 0x104de
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
jmp 0x104b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x228(%rbp), %rdi
callq 0x2160
jmp 0x104b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1c0(%rbp)
movl %eax, -0x1c4(%rbp)
leaq -0x248(%rbp), %rdi
callq 0x2160
leaq -0x208(%rbp), %rdi
callq 0x2160
jmp 0x104de
leaq -0x1b8(%rbp), %rdi
callq 0x21b0
leaq -0x30(%rbp), %rdi
callq 0xfa60
addq $0x2b0, %rsp            # imm = 0x2B0
popq %rbp
retq
leaq -0x1b8(%rbp), %rdi
callq 0x21b0
leaq -0x30(%rbp), %rdi
callq 0xfa60
movq -0x1c0(%rbp), %rdi
callq 0x2390