// File: /workspace/github_c_makefile_star2_O3/keithnoguchi[P]pearls-in-action/0xd/set1_test.c
// Function: test_set1
int test_set1(int *i)
{
	int fail = 0;

	if (test_set1_alloc(i))
		fail++;
	if (test_set1_insert(i))
		fail++;

	return fail;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
leaq 0xcee(%rip), %rcx       # 0x2068
leaq 0x252f(%rip), %rbx      # 0x38b0
xorl %r15d, %r15d
movq 0x10(%rsp), %rax
movl (%rax), %esi
incl %esi
movl %esi, (%rax)
leaq 0xd54(%rip), %rdi       # 0x20ea
leaq 0xd5f(%rip), %rdx       # 0x20fc
xorl %eax, %eax
callq 0x1070
callq 0x1060
movq %rax, %r14
movl -0x8(%rbx), %r12d
movl -0x4(%rbx), %ebp
movl %r12d, %edi
movl %ebp, %esi
callq 0x1208
movq %rax, %r13
callq 0x1060
subq %r14, %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0xc88(%rip), %xmm0      # 0x2060
testq %r13, %r13
movsd %xmm0, (%rsp)
je 0x1414
movq %r13, %rdi
callq *0x8(%r13)
movq %r13, %rdi
testq %rax, %rax
je 0x1440
callq *0x8(%r13)
leaq 0xd3b(%rip), %rdi       # 0x2137
movq %rax, %rsi
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
movq %r13, %rdi
callq *(%r13)
jmp 0x143b
callq 0x1040
movl (%rax), %edi
callq 0x10b0
leaq 0xce5(%rip), %rdi       # 0x210c
movl %r12d, %esi
movl %ebp, %edx
movq %rax, %rcx
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
incl %r15d
jmp 0x1457
callq *(%r13)
leaq 0xd0f(%rip), %rdi       # 0x215a
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
movq (%rbx), %rcx
addq $0x10, %rbx
testq %rcx, %rcx
jne 0x1384
movl %r15d, 0xc(%rsp)
leaq 0x24ad(%rip), %r15      # 0x3920
leaq 0xcfa(%rip), %rcx       # 0x2174
leaq 0x24b3(%rip), %r14      # 0x3934
xorl %ebx, %ebx
movq 0x10(%rsp), %rax
movl (%rax), %esi
incl %esi
movl %esi, (%rax)
leaq 0xc55(%rip), %rdi       # 0x20ea
leaq 0xd82(%rip), %rdx       # 0x221e
xorl %eax, %eax
callq 0x1070
movl 0x8(%r15), %r12d
movl 0xc(%r15), %ebp
movl %r12d, %edi
movl %ebp, %esi
callq 0x1208
testq %rax, %rax
je 0x1580
movq %rax, %r13
movl %ebx, 0x8(%rsp)
callq 0x1060
movq %rax, (%rsp)
movl 0x10(%r15), %esi
cmpl %ebp, %esi
je 0x14ea
movq %r14, %rbx
movq %r13, %rdi
callq *0x10(%r13)
movl (%rbx), %esi
addq $0x4, %rbx
cmpl %ebp, %esi
jne 0x14d9
movslq %r12d, %r12
callq 0x1060
subq (%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
divsd 0xb5a(%rip), %xmm0      # 0x2060
movsd %xmm0, (%rsp)
movq %r13, %rdi
callq *0x8(%r13)
cmpq %r12, %rax
jne 0x15a4
leaq 0x4(,%r12,4), %rdi
callq 0x10a0
movq %rax, %r12
movq %r13, %rdi
movq %rax, %rsi
callq *0x18(%r13)
movl (%r12), %edx
cmpl %ebp, %edx
movl 0x8(%rsp), %ebx
je 0x155c
xorl %ecx, %ecx
movl 0x210(%r15,%rcx,4), %r8d
cmpl %r8d, %edx
jne 0x15ca
movl 0x4(%r12,%rcx,4), %edx
incq %rcx
cmpl %ebp, %edx
jne 0x1543
movq %r12, %rdi
callq 0x1030
movq %r13, %rdi
callq *(%r13)
leaq 0xbe8(%rip), %rdi       # 0x215a
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
jmp 0x15f0
callq 0x1040
movl (%rax), %edi
callq 0x10b0
leaq 0xc9c(%rip), %rdi       # 0x222f
movl %r12d, %esi
movl %ebp, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x1070
jmp 0x15ee
movq %r13, %rdi
callq *0x8(%r13)
leaq 0xc9e(%rip), %rdi       # 0x2250
movq %rax, %rsi
movl %r12d, %edx
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
movl 0x8(%rsp), %ebx
jmp 0x15e7
leaq 0xca3(%rip), %rdi       # 0x2274
movl %ecx, %esi
movsd (%rsp), %xmm0
movb $0x1, %al
callq 0x1070
movq %r12, %rdi
callq 0x1030
movq %r13, %rdi
callq *(%r13)
incl %ebx
movq 0x410(%r15), %rcx
movl $0x410, %eax            # imm = 0x410
addq %rax, %r15
addq %rax, %r14
testq %rcx, %rcx
jne 0x1483
xorl %ecx, %ecx
cmpl $0x0, 0xc(%rsp)
setne %cl
leal 0x1(%rcx), %eax
testl %ebx, %ebx
cmovel %ecx, %eax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq