// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x10, %rsp
movl $0x0, -0x4(%rbp)
movl $0x0, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
leaq 0x3e50(%rip), %rdi      # 0x6004
movb $0x0, %al
callq 0x2040
leaq 0x3e57(%rip), %rdi      # 0x6019
movb $0x0, %al
callq 0x2040
leaq 0x3e34(%rip), %rdi      # 0x6004
movb $0x0, %al
callq 0x2040
leaq -0xc(%rbp), %rdi
callq 0x2520
cmpl $0x0, %eax
je 0x21ee
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x2a30
cmpl $0x0, %eax
je 0x2205
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x2f30
cmpl $0x0, %eax
je 0x221c
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x34b0
cmpl $0x0, %eax
je 0x2233
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x3a50
cmpl $0x0, %eax
je 0x224a
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4030
cmpl $0x0, %eax
je 0x2261
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4620
cmpl $0x0, %eax
je 0x2278
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4c30
cmpl $0x0, %eax
je 0x228f
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x5290
cmpl $0x0, %eax
je 0x22a6
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x2750
cmpl $0x0, %eax
je 0x22bd
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x2c60
cmpl $0x0, %eax
je 0x22d4
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x3160
cmpl $0x0, %eax
je 0x22eb
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x36e0
cmpl $0x0, %eax
je 0x2302
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x3c80
cmpl $0x0, %eax
je 0x2319
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4260
cmpl $0x0, %eax
je 0x2330
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4850
cmpl $0x0, %eax
je 0x2347
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4e60
cmpl $0x0, %eax
je 0x235e
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x54c0
cmpl $0x0, %eax
je 0x2375
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x27b0
cmpl $0x0, %eax
je 0x238c
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x2cc0
cmpl $0x0, %eax
je 0x23a3
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x31c0
cmpl $0x0, %eax
je 0x23ba
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x3740
cmpl $0x0, %eax
je 0x23d1
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x3ce0
cmpl $0x0, %eax
je 0x23e8
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x42c0
cmpl $0x0, %eax
je 0x23ff
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x48b0
cmpl $0x0, %eax
je 0x2416
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x4ec0
cmpl $0x0, %eax
je 0x242d
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
leaq -0xc(%rbp), %rdi
callq 0x5520
cmpl $0x0, %eax
je 0x2444
movl -0x8(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x8(%rbp)
movl -0x8(%rbp), %eax
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)