// File: /workspace/github_cpp_makefile_star2_O2/pokorj54[P]Pathfinder-utilities/src/SGsearch.cpp
// Function: main
int main(void)
{
    for(int currentNoDices = 1; currentNoDices <= maxDices; ++currentNoDices)
    {   
        SGCategory s1 = SGCategory(currentNoDices, 1);
        SGCategory s2 = SGCategory(currentNoDices, 2);
        SGCategory s3 = SGCategory(currentNoDices, 3);
        SGCategory s4 = SGCategory(currentNoDices, 4);
        SGCategory s5 = SGCategory(currentNoDices, 5);
        SGCategory s6 = SGCategory(currentNoDices, 6);
        SGCategory s7 = SGCategory(currentNoDices, 7);
        SGCategory s8 = SGCategory(currentNoDices, 8);
        SGCategory s9 = SGCategory(currentNoDices, 9);
        thread t1 = thread(SGCategory::Execute, ref(s1));
        thread t2 = thread(SGCategory::Execute, ref(s2));
        thread t3 = thread(SGCategory::Execute, ref(s3));
        thread t4 = thread(SGCategory::Execute, ref(s4));
        thread t5 = thread(SGCategory::Execute, ref(s5));
        thread t6 = thread(SGCategory::Execute, ref(s6));
        thread t7 = thread(SGCategory::Execute, ref(s7));
        thread t8 = thread(SGCategory::Execute, ref(s8));
        thread t9 = thread(SGCategory::Execute, ref(s9));
        t1.join();
        s1.Print();
        t2.join();
        s2.Print();
        t3.join();
        s3.Print();
        t4.join();
        s4.Print();
        t5.join();
        s5.Print();
        t6.join();
        s6.Print();
        t7.join();
        s7.Print();
        t8.join();
        s8.Print();
        t9.join();
        s9.Print();
    }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
pushq $0x1
popq %rcx
leaq -0x20(%rip), %r14       # 0x3672
leaq 0x48(%rsp), %r15
leaq 0x158(%rsp), %r12
leaq 0x40(%rsp), %rbp
leaq 0x138(%rsp), %r13
cmpl $0x15, %ecx
je 0x3a07
movq %r13, %rbx
movq %rbp, %r13
movq %r12, %rbp
movl %ecx, 0x118(%rsp)
movl $0x1, 0x11c(%rsp)
leaq 0x120(%rsp), %rax
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movl %ecx, 0xf8(%rsp)
movl $0x2, 0xfc(%rsp)
leaq 0x100(%rsp), %rax
andq $0x0, 0x10(%rax)
movups %xmm0, (%rax)
movl %ecx, 0x158(%rsp)
movl $0x3, 0x15c(%rsp)
leaq 0x160(%rsp), %rax
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movl %ecx, 0x138(%rsp)
movl $0x4, 0x13c(%rsp)
leaq 0x140(%rsp), %rax
andq $0x0, 0x10(%rax)
movups %xmm0, (%rax)
movl %ecx, 0xd8(%rsp)
movl $0x5, 0xdc(%rsp)
leaq 0xe0(%rsp), %rax
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movl %ecx, 0xb8(%rsp)
movl $0x6, 0xbc(%rsp)
leaq 0xc0(%rsp), %rax
andq $0x0, 0x10(%rax)
movups %xmm0, (%rax)
movl %ecx, 0x98(%rsp)
movl $0x7, 0x9c(%rsp)
leaq 0xa0(%rsp), %rax
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
movl %ecx, 0x78(%rsp)
movl $0x8, 0x7c(%rsp)
leaq 0x80(%rsp), %rax
andq $0x0, 0x10(%rax)
movups %xmm0, (%rax)
movl %ecx, 0x34(%rsp)
movl %ecx, 0x58(%rsp)
movl $0x9, 0x5c(%rsp)
leaq 0x60(%rsp), %rax
movups %xmm0, (%rax)
andq $0x0, 0x10(%rax)
leaq 0x118(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x28(%rsp), %rdi
movq %r14, %rsi
movq %r15, %r12
leaq 0x20(%rsp), %r15
movq %r15, %rdx
callq 0x3aa6
leaq 0xf8(%rsp), %rax
movq %rax, 0x48(%rsp)
movq %r15, %rdi
movq %r12, %r15
movq %r14, %rsi
movq %r12, %rdx
callq 0x3aa6
movq %rbp, %r12
movq %rbp, 0x40(%rsp)
movq %r15, %rdi
movq %r14, %rsi
movq %r13, %rbp
movq %r13, %rdx
callq 0x3aa6
movq %rbx, %r13
movq %rbx, 0x18(%rsp)
movq %rbp, %rdi
movq %r14, %rsi
leaq 0x18(%rsp), %rbx
movq %rbx, %rdx
callq 0x3aa6
leaq 0xd8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x10(%rsp), %rbx
movq %rbx, %rdx
callq 0x3aa6
leaq 0xb8(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x8(%rsp), %rbx
movq %rbx, %rdx
callq 0x3aa6
leaq 0x98(%rsp), %rax
movq %rax, (%rsp)
movq %rbx, %rdi
movq %r14, %rsi
movq %rsp, %rbx
movq %rbx, %rdx
callq 0x3aa6
leaq 0x78(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x38(%rsp), %rbx
movq %rbx, %rdx
callq 0x3aa6
leaq 0x58(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
leaq 0x50(%rsp), %rdx
callq 0x3aa6
leaq 0x28(%rsp), %rdi
callq 0x21e0
leaq 0x118(%rsp), %rdi
callq 0x3524
leaq 0x20(%rsp), %rdi
callq 0x21e0
leaq 0xf8(%rsp), %rdi
callq 0x3524
movq %r15, %rdi
callq 0x21e0
movq %r12, %rdi
callq 0x3524
movq %rbp, %rdi
callq 0x21e0
movq %r13, %rdi
callq 0x3524
leaq 0x18(%rsp), %rdi
callq 0x21e0
leaq 0xd8(%rsp), %rdi
callq 0x3524
leaq 0x10(%rsp), %rdi
callq 0x21e0
leaq 0xb8(%rsp), %rdi
callq 0x3524
leaq 0x8(%rsp), %rdi
callq 0x21e0
leaq 0x98(%rsp), %rdi
callq 0x3524
movq %rsp, %rdi
callq 0x21e0
leaq 0x78(%rsp), %rdi
callq 0x3524
movq %rbx, %rdi
callq 0x21e0
leaq 0x58(%rsp), %rdi
callq 0x3524
movq %rbx, %rdi
callq 0x3b20
movq %rsp, %rdi
callq 0x3b20
leaq 0x8(%rsp), %rdi
callq 0x3b20
leaq 0x10(%rsp), %rdi
callq 0x3b20
leaq 0x18(%rsp), %rdi
callq 0x3b20
movq %rbp, %rdi
callq 0x3b20
movq %r15, %rdi
callq 0x3b20
leaq 0x20(%rsp), %rdi
callq 0x3b20
leaq 0x28(%rsp), %rdi
callq 0x3b20
movl 0x34(%rsp), %ecx
incl %ecx
jmp 0x36ac
xorl %eax, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0x3a58
movq %rax, %rbx
jmp 0x3a50
movq %rax, %rbx
jmp 0x3a94
movq %rax, %rbx
jmp 0x3a8a
movq %rax, %rbx
jmp 0x3a80
movq %rax, %rbx
jmp 0x3a76
movq %rax, %rbx
jmp 0x3a6c
movq %rax, %rbx
jmp 0x3a62
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x3b20
movq %rsp, %rdi
callq 0x3b20
leaq 0x8(%rsp), %rdi
callq 0x3b20
leaq 0x10(%rsp), %rdi
callq 0x3b20
leaq 0x18(%rsp), %rdi
callq 0x3b20
leaq 0x40(%rsp), %rdi
callq 0x3b20
leaq 0x48(%rsp), %rdi
callq 0x3b20
leaq 0x20(%rsp), %rdi
callq 0x3b20
leaq 0x28(%rsp), %rdi
callq 0x3b20
movq %rbx, %rdi
callq 0x2210