// File: /workspace/github_cpp_makefile_star2_O1/kkloberdanz[P]Sort/main.cpp
// Function: test()
void test() {
    srand(time(0));
    std::vector<double> V;
    std::vector<double> Vcopy;
    std::vector<double> sortedVector;

    const int VECTOR_SIZE = 100;

    for (int i = 0; i < VECTOR_SIZE; i++) {
        V.push_back(rand() % 100);
    }

    std::cout << "unsorted\n";
    printVector(V);

    std::cout << "quick\n";
    printVector(kgk::sort(V, "quick"));

    std::cout << "insertion\n";
    printVector(kgk::sort(V, "insertion"));
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0xe0, %rsp
xorl %edi, %edi
callq 0x10f0
movl %eax, %edi
callq 0x1110
xorpd %xmm0, %xmm0
movq %rsp, %rbx
movapd %xmm0, (%rbx)
movq $0x0, 0x10(%rbx)
movl $0x64, %ebp
leaq 0x20(%rsp), %r14
callq 0x1040
cltq
imulq $0x51eb851f, %rax, %rcx # imm = 0x51EB851F
movq %rcx, %rdx
shrq $0x3f, %rdx
sarq $0x25, %rcx
addl %edx, %ecx
imull $0x64, %ecx, %ecx
subl %ecx, %eax
xorps %xmm0, %xmm0
cvtsi2sd %eax, %xmm0
movsd %xmm0, 0x20(%rsp)
movq 0x8(%rsp), %rsi
cmpq 0x10(%rsp), %rsi
je 0x184c
movsd %xmm0, (%rsi)
addq $0x8, %rsi
movq %rsi, 0x8(%rsp)
jmp 0x1857
movq %rbx, %rdi
movq %r14, %rdx
callq 0x2730
decl %ebp
jne 0x1804
movq 0x3776(%rip), %rdi      # 0x4fd8
leaq 0x1815(%rip), %rsi      # 0x307e
movl $0x9, %edx
callq 0x1140
leaq 0x88(%rsp), %rdi
movq %rsp, %rsi
callq 0x1f60
leaq 0x88(%rsp), %rdi
callq 0x1eae
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x18a2
callq 0x1100
movq 0x372f(%rip), %rdi      # 0x4fd8
leaq 0x17d8(%rip), %rsi      # 0x3088
movl $0x6, %edx
callq 0x1140
leaq 0x58(%rsp), %rdi
movq %rsp, %rsi
callq 0x1f60
leaq 0xd0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x177b(%rip), %rsi      # 0x3055
leaq 0x1779(%rip), %rdx      # 0x305a
leaq 0xc0(%rsp), %rdi
callq 0x234c
leaq 0x70(%rsp), %rdi
leaq 0x58(%rsp), %rsi
leaq 0xc0(%rsp), %rdx
callq 0x1fe0
leaq 0x70(%rsp), %rdi
callq 0x1eae
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x191e
callq 0x1100
movq 0xc0(%rsp), %rdi
cmpq %r14, %rdi
je 0x1930
callq 0x1100
movq 0x58(%rsp), %rdi
testq %rdi, %rdi
je 0x193f
callq 0x1100
movq 0x3692(%rip), %rdi      # 0x4fd8
leaq 0x1742(%rip), %rsi      # 0x308f
movl $0xa, %edx
callq 0x1140
leaq 0x28(%rsp), %rdi
movq %rsp, %rsi
callq 0x1f60
leaq 0xb0(%rsp), %r14
movq %r14, -0x10(%r14)
leaq 0x1723(%rip), %rsi      # 0x309a
leaq 0x1725(%rip), %rdx      # 0x30a3
leaq 0xa0(%rsp), %rdi
callq 0x234c
leaq 0x40(%rsp), %rdi
leaq 0x28(%rsp), %rsi
leaq 0xa0(%rsp), %rdx
callq 0x1fe0
leaq 0x40(%rsp), %rdi
callq 0x1eae
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x19bb
callq 0x1100
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x19cd
callq 0x1100
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0x19dc
callq 0x1100
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x19ea
callq 0x1100
addq $0xe0, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movq %rax, %rbx
movq 0x40(%rsp), %rdi
testq %rdi, %rdi
je 0x1a0d
callq 0x1100
jmp 0x1a0d
movq %rax, %rbx
movq 0xa0(%rsp), %rdi
cmpq %r14, %rdi
je 0x1a24
callq 0x1100
jmp 0x1a24
movq %rax, %rbx
movq 0x28(%rsp), %rdi
jmp 0x1a6b
movq %rax, %rbx
movq 0x70(%rsp), %rdi
testq %rdi, %rdi
je 0x1a42
callq 0x1100
jmp 0x1a42
movq %rax, %rbx
movq 0xc0(%rsp), %rdi
cmpq %r14, %rdi
je 0x1a59
callq 0x1100
jmp 0x1a59
movq %rax, %rbx
movq 0x58(%rsp), %rdi
jmp 0x1a6b
movq %rax, %rbx
movq 0x88(%rsp), %rdi
testq %rdi, %rdi
je 0x1a7c
callq 0x1100
jmp 0x1a7c
jmp 0x1a79
movq %rax, %rbx
movq (%rsp), %rdi
testq %rdi, %rdi
je 0x1a8a
callq 0x1100
movq %rbx, %rdi
callq 0x11a0