// File: /workspace/github_cpp_makefile_star2_O1/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
movl $0x1, %ebx
leaq -0x22(%rip), %r14       # 0x423c
leaq 0x40(%rsp), %r12
leaq 0x38(%rsp), %r15
movq %r15, %r13
leaq 0x118(%rsp), %r15
movl %ebx, 0x158(%rsp)
movl $0x1, 0x15c(%rsp)
leaq 0x160(%rsp), %rax
xorl %ecx, %ecx
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movl %ebx, 0x138(%rsp)
movl $0x2, 0x13c(%rsp)
leaq 0x140(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0x118(%rsp)
movl $0x3, 0x11c(%rsp)
leaq 0x120(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0xf8(%rsp)
movl $0x4, 0xfc(%rsp)
leaq 0x100(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0xd8(%rsp)
movl $0x5, 0xdc(%rsp)
leaq 0xe0(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0xb8(%rsp)
movl $0x6, 0xbc(%rsp)
leaq 0xc0(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0x98(%rsp)
movl $0x7, 0x9c(%rsp)
leaq 0xa0(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0x78(%rsp)
movl $0x8, 0x7c(%rsp)
leaq 0x80(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
movl %ebx, 0x58(%rsp)
movl $0x9, 0x5c(%rsp)
leaq 0x60(%rsp), %rax
movq %rcx, 0x10(%rax)
movups %xmm0, (%rax)
leaq 0x158(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x48(%rsp), %rdi
movq %r14, %rsi
movq %r12, %rbp
leaq 0x28(%rsp), %r12
movq %r12, %rdx
callq 0x4654
leaq 0x138(%rsp), %rax
movq %rax, 0x40(%rsp)
movq %r12, %rdi
movq %rbp, %r12
movq %r14, %rsi
movq %rbp, %rdx
callq 0x4654
movq %r15, 0x38(%rsp)
movq %r12, %rdi
movq %r14, %rsi
movq %r13, %r15
movq %r13, %rdx
callq 0x4654
leaq 0xf8(%rsp), %r13
movq %r13, 0x20(%rsp)
movq %r15, %rdi
movq %r14, %rsi
leaq 0x20(%rsp), %r13
movq %r13, %rdx
callq 0x4654
leaq 0xd8(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %r13, %rdi
movq %r14, %rsi
leaq 0x18(%rsp), %r13
movq %r13, %rdx
callq 0x4654
leaq 0xb8(%rsp), %rax
movq %rax, 0x10(%rsp)
movq %r13, %rdi
movq %r14, %rsi
leaq 0x10(%rsp), %r13
movq %r13, %rdx
callq 0x4654
leaq 0x98(%rsp), %rax
movq %rax, 0x30(%rsp)
movq %r13, %rdi
movq %r14, %rsi
leaq 0x30(%rsp), %r13
movq %r13, %rdx
callq 0x4654
leaq 0x78(%rsp), %rax
movq %rax, 0x8(%rsp)
movq %r13, %rbp
movq %r13, %rdi
movq %r14, %rsi
leaq 0x8(%rsp), %r13
movq %r13, %rdx
callq 0x4654
leaq 0x58(%rsp), %rax
movq %rax, 0x50(%rsp)
movq %r13, %rdi
movq %r14, %rsi
leaq 0x50(%rsp), %rdx
callq 0x4654
leaq 0x48(%rsp), %rdi
callq 0x21f0
leaq 0x158(%rsp), %rdi
callq 0x4072
leaq 0x28(%rsp), %rdi
callq 0x21f0
leaq 0x138(%rsp), %rdi
callq 0x4072
movq %r12, %rdi
callq 0x21f0
leaq 0x118(%rsp), %rdi
callq 0x4072
movq %r15, %rdi
callq 0x21f0
leaq 0xf8(%rsp), %rdi
callq 0x4072
leaq 0x20(%rsp), %rdi
callq 0x21f0
leaq 0xd8(%rsp), %rdi
callq 0x4072
leaq 0x18(%rsp), %rdi
callq 0x21f0
leaq 0xb8(%rsp), %rdi
callq 0x4072
leaq 0x10(%rsp), %rdi
callq 0x21f0
leaq 0x98(%rsp), %rdi
callq 0x4072
movq %rbp, %rdi
callq 0x21f0
leaq 0x78(%rsp), %rdi
callq 0x4072
leaq 0x8(%rsp), %rdi
callq 0x21f0
leaq 0x58(%rsp), %rdi
callq 0x4072
cmpq $0x0, 0x8(%rsp)
jne 0x464f
cmpq $0x0, 0x30(%rsp)
jne 0x464f
cmpq $0x0, 0x10(%rsp)
jne 0x464f
cmpq $0x0, 0x18(%rsp)
jne 0x464f
cmpq $0x0, 0x20(%rsp)
jne 0x464f
cmpq $0x0, 0x38(%rsp)
jne 0x464f
cmpq $0x0, 0x40(%rsp)
jne 0x464f
cmpq $0x0, 0x28(%rsp)
jne 0x464f
cmpq $0x0, 0x48(%rsp)
jne 0x464f
incl %ebx
cmpl $0x15, %ebx
jne 0x4268
xorl %eax, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x463f
jmp 0x4637
jmp 0x462f
jmp 0x4627
jmp 0x461f
jmp 0x4617
jmp 0x460f
jmp 0x4607
cmpq $0x0, 0x8(%rsp)
jne 0x464f
cmpq $0x0, 0x30(%rsp)
jne 0x464f
cmpq $0x0, 0x10(%rsp)
jne 0x464f
cmpq $0x0, 0x18(%rsp)
jne 0x464f
cmpq $0x0, 0x20(%rsp)
jne 0x464f
cmpq $0x0, 0x38(%rsp)
jne 0x464f
cmpq $0x0, 0x40(%rsp)
jne 0x464f
cmpq $0x0, 0x28(%rsp)
jne 0x464f
cmpq $0x0, 0x48(%rsp)
jne 0x464f
movq %rax, %rdi
callq 0x2220
callq 0x2060