// File: /workspace/github_c_makefile_star2_O3/Tarsnap[P]libcperciva/tests/elasticarray/main.c
// Function: selftest
static int
selftest(void)
{

	/* Elasticarray with simple integers. */
	if (test_intlist())
		goto err0;

	/* Elasticarray with dynamically-allocated structures. */
	if (test_dynlist())
		goto err0;

	/* Elasticarray with pointers. */
	if (test_pointerlist())
		goto err0;

	/* Elasticarray with size 0. */
	if (test_emptylist())
		goto err0;

	/* Success! */
	return (0);

err0:
	/* Failure! */
	return (-1);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
xorl %r15d, %r15d
movl $0x4, %esi
xorl %edi, %edi
callq 0x200c
testq %rax, %rax
je 0x1cbf
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %r14
movl %r15d, 0x8(%rsp)
movl $0x1, %edx
movl $0x4, %ecx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x217b
testl %eax, %eax
jne 0x1cb7
movl $0x1, %r15d
testb $0x1, %bpl
movl $0x0, %ebp
jne 0x190e
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1992
leaq 0x16b0(%rip), %r14      # 0x300a
xorl %r15d, %r15d
movl $0x4, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x22b4
movl (%rax), %esi
movl %esi, 0x8(%rsp)
movq %r14, %rdi
xorl %eax, %eax
callq 0x10d0
incq %r15
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r15
jb 0x195d
movq %rbx, %rdi
callq 0x20b4
xorl %r15d, %r15d
movl $0x8, %esi
xorl %edi, %edi
callq 0x200c
testq %rax, %rax
je 0x1cbf
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %r14
movl $0x4, %edi
callq 0x1160
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x1c75
movl %r15d, (%rax)
movl $0x1, %edx
movl $0x8, %ecx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x217b
testl %eax, %eax
jne 0x1c6b
movl $0x1, %r15d
testb $0x1, %bpl
movl $0x0, %ebp
jne 0x19bd
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1a5b
leaq 0x15f4(%rip), %r14      # 0x3013
xorl %r15d, %r15d
movl $0x8, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x22b4
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movl (%rax), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10d0
incq %r15
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r15
jb 0x1a22
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1a9d
xorl %r14d, %r14d
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22b4
movq (%rax), %rdi
callq 0x1030
incq %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r14
jb 0x1a70
movq %rbx, %rdi
callq 0x20b4
xorl %r12d, %r12d
movl $0x8, %esi
xorl %edi, %edi
callq 0x200c
testq %rax, %rax
je 0x1cbf
movq %rax, %rbx
movb $0x1, %bpl
leaq 0x8(%rsp), %r14
movl $0x8, %edi
callq 0x1160
movq %rax, 0x8(%rsp)
testq %rax, %rax
je 0x1ceb
movq %rax, %r15
movl $0x4, %edi
callq 0x1160
movq %rax, (%r15)
testq %rax, %rax
je 0x1ce3
movl %r12d, (%rax)
movl $0x1, %edx
movl $0x8, %ecx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x217b
testl %eax, %eax
jne 0x1cd1
movl $0x1, %r12d
testb $0x1, %bpl
movl $0x0, %ebp
jne 0x1ac8
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1b82
leaq 0x14d9(%rip), %r14      # 0x301c
xorl %r15d, %r15d
movl $0x8, %edx
movq %rbx, %rdi
movq %r15, %rsi
callq 0x22b4
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq (%rax), %rax
movl (%rax), %esi
movq %r14, %rdi
xorl %eax, %eax
callq 0x10d0
incq %r15
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r15
jb 0x1b46
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1bd2
xorl %r14d, %r14d
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22b4
movq %rax, %r15
movq (%rax), %rax
movq (%rax), %rdi
callq 0x1030
movq (%r15), %rdi
callq 0x1030
incq %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r14
jb 0x1b97
movq %rbx, %rdi
callq 0x20b4
movl $0x4, %esi
xorl %edi, %edi
callq 0x200c
testq %rax, %rax
je 0x1cbf
movq %rax, %rbx
movl $0x4, %esi
movq %rax, %rdi
callq 0x2172
testq %rax, %rax
jne 0x1cb7
movl $0x4, %edx
movq %rbx, %rdi
xorl %esi, %esi
callq 0x2080
testl %eax, %eax
jne 0x1cb7
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
jne 0x1cb7
leaq 0x8(%rsp), %rsi
movl $0x4, %ecx
movq %rbx, %rdi
xorl %edx, %edx
callq 0x217b
testl %eax, %eax
jne 0x1cb7
movl $0x4, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
jne 0x1cb7
movq %rbx, %rdi
callq 0x20b4
xorl %eax, %eax
jmp 0x1cc4
movq 0x8(%rsp), %rdi
callq 0x1030
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1cb7
xorl %r14d, %r14d
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22b4
movq (%rax), %rdi
callq 0x1030
incq %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r14
jb 0x1c8a
movq %rbx, %rdi
callq 0x20b4
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq 0x8(%rsp), %rax
movq (%rax), %rdi
callq 0x1030
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x1030
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
testq %rax, %rax
je 0x1cb7
xorl %r14d, %r14d
movl $0x8, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22b4
movq %rax, %r15
movq (%rax), %rax
movq (%rax), %rdi
callq 0x1030
movq (%r15), %rdi
callq 0x1030
incq %r14
movl $0x8, %esi
movq %rbx, %rdi
callq 0x2172
cmpq %rax, %r14
jb 0x1d00
jmp 0x1cb7