// File: /workspace/github_c_makefile_star2_O1/keithnoguchi[P]pearls-in-action/0xb/main_test.c
// Function: main
int main(void)
{
	int fail = 0;
	int i = 0;

	printf("===================\n");
	printf("Column 0xb: Sorting\n");
	printf("===================\n");

	if (test_isort1_random(&i))
		fail++;
	if (test_isort2_random(&i))
		fail++;
	if (test_isort3_random(&i))
		fail++;
	if (test_qsort1_random(&i))
		fail++;
	if (test_qsort2_random(&i))
		fail++;
	if (test_qsort3_random(&i))
		fail++;
	if (test_qsort4_random(&i))
		fail++;
	if (test_qsort5_random(&i))
		fail++;
	if (test_qsort6_random(&i))
		fail++;
	if (test_isort1_identical(&i))
		fail++;
	if (test_isort2_identical(&i))
		fail++;
	if (test_isort3_identical(&i))
		fail++;
	if (test_qsort1_identical(&i))
		fail++;
	if (test_qsort2_identical(&i))
		fail++;
	if (test_qsort3_identical(&i))
		fail++;
	if (test_qsort4_identical(&i))
		fail++;
	if (test_qsort5_identical(&i))
		fail++;
	if (test_qsort6_identical(&i))
		fail++;
	if (test_isort1_sorted(&i))
		fail++;
	if (test_isort2_sorted(&i))
		fail++;
	if (test_isort3_sorted(&i))
		fail++;
	if (test_qsort1_sorted(&i))
		fail++;
	if (test_qsort2_sorted(&i))
		fail++;
	if (test_qsort3_sorted(&i))
		fail++;
	if (test_qsort4_sorted(&i))
		fail++;
	if (test_qsort5_sorted(&i))
		fail++;
	if (test_qsort6_sorted(&i))
		fail++;

	return fail;
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0xc(%rsp), %rbx
movl $0x0, (%rbx)
leaq 0x1e62(%rip), %r14      # 0x4018
movq %r14, %rdi
callq 0x2040
leaq 0x1e3f(%rip), %rdi      # 0x4004
callq 0x2040
movq %r14, %rdi
callq 0x2040
movq %rbx, %rdi
callq 0x2394
xorl %r14d, %r14d
testl %eax, %eax
setne %r14b
movq %rbx, %rdi
callq 0x25d8
leal 0x1(%r14), %ebp
testl %eax, %eax
cmovel %r14d, %ebp
movq %rbx, %rdi
callq 0x2828
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2abc
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2d58
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x3044
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x32fc
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x35d4
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x38f4
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2551
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2795
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x29e5
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2c79
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2f15
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x3201
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x34b9
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x3791
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x3ab1
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x257c
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x27c0
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2a10
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2ca4
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x2f40
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x322c
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x34e4
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x37bc
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movq %rbx, %rdi
callq 0x3adc
cmpl $0x1, %eax
sbbl $-0x1, %ebp
movl %ebp, %eax
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
nop