// File: /workspace/github_c_makefile_star2_O1/Tarsnap[P]libcperciva/tests/elasticarray/elasticarray_perftest.c
// Function: elasticarray_perftest
int
elasticarray_perftest(void)
{

	/* Benchmark elasticarray_append() and elasticarray_shrink(). */
	if (check_append_shrink())
		goto err0;

	/* Success! */
	return (0);

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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
movl $0x4, %esi
xorl %edi, %edi
callq 0x1f80
movl $0xffffffff, %ebp       # imm = 0xFFFFFFFF
testq %rax, %rax
je 0x1f72
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x28dc
testl %eax, %eax
je 0x1d54
callq 0x1070
cmpl $0x0, (%rax)
je 0x1f5c
movq %rax, %r14
leaq 0x133f(%rip), %rdi      # 0x3080
xorl %eax, %eax
callq 0x2b98
movl $0x0, (%r14)
jmp 0x1f6a
leaq 0xc(%rsp), %r14
movl $0x0, (%r14)
movl $0x1, %edx
movl $0x4, %ecx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f8
testl %eax, %eax
jne 0x1f6a
movl 0xc(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0xc(%rsp)
cmpl $0xf423f, %eax          # imm = 0xF423F
jl 0x1d60
leaq 0x10(%rsp), %rdi
callq 0x28dc
testl %eax, %eax
jne 0x1d29
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
leaq 0x20(%rsp), %rdi
subq (%rdi), %r14
subq 0x8(%rdi), %r15
callq 0x28dc
testl %eax, %eax
jne 0x1d29
cvtsi2sd %r14, %xmm0
cvtsi2sd %r15, %xmm1
mulsd 0x1296(%rip), %xmm1     # 0x3068
addsd %xmm0, %xmm1
mulsd 0x1292(%rip), %xmm1     # 0x3070
divsd 0x1292(%rip), %xmm1     # 0x3078
movsd %xmm1, 0x40(%rsp)
movl $0x0, 0xc(%rsp)
movl $0x1, %esi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x219c
movl 0xc(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0xc(%rsp)
cmpl $0xf423f, %eax          # imm = 0xF423F
jl 0x1df4
leaq 0x10(%rsp), %rdi
callq 0x28dc
testl %eax, %eax
jne 0x1d29
movq 0x10(%rsp), %r14
movq 0x18(%rsp), %r15
leaq 0x20(%rsp), %rdi
subq (%rdi), %r14
subq 0x8(%rdi), %r15
callq 0x28dc
testl %eax, %eax
jne 0x1d29
xorps %xmm0, %xmm0
cvtsi2sd %r14, %xmm0
xorps %xmm1, %xmm1
cvtsi2sd %r15, %xmm1
mulsd 0x1203(%rip), %xmm1     # 0x3068
addsd %xmm0, %xmm1
mulsd 0x11ff(%rip), %xmm1     # 0x3070
divsd 0x11ff(%rip), %xmm1     # 0x3078
movsd %xmm1, 0x38(%rsp)
leaq 0xc(%rsp), %r14
movl $0x0, (%r14)
movl $0x1, %edx
movl $0x4, %ecx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x20f8
testl %eax, %eax
jne 0x1f6a
movl $0x1, %esi
movl $0x4, %edx
movq %rbx, %rdi
callq 0x219c
movl 0xc(%rsp), %eax
leal 0x1(%rax), %ecx
movl %ecx, 0xc(%rsp)
cmpl $0xf423f, %eax          # imm = 0xF423F
jl 0x1e8b
leaq 0x10(%rsp), %rdi
callq 0x28dc
testl %eax, %eax
jne 0x1d29
movq 0x10(%rsp), %rax
movq 0x18(%rsp), %rcx
subq 0x20(%rsp), %rax
xorps %xmm0, %xmm0
cvtsi2sd %rax, %xmm0
subq 0x28(%rsp), %rcx
xorps %xmm1, %xmm1
cvtsi2sd %rcx, %xmm1
mulsd 0x115e(%rip), %xmm1     # 0x3068
addsd %xmm0, %xmm1
mulsd 0x115a(%rip), %xmm1     # 0x3070
divsd 0x115a(%rip), %xmm1     # 0x3078
movsd %xmm1, 0x30(%rsp)
movq %rbx, %rdi
callq 0x2031
leaq 0x1167(%rip), %rdi      # 0x309a
callq 0x1090
leaq 0x114b(%rip), %rdi      # 0x308a
movsd 0x40(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
movsd 0x30(%rsp), %xmm2
movb $0x3, %al
callq 0x10d0
xorl %ebp, %ebp
jmp 0x1f72
leaq 0x111d(%rip), %rdi      # 0x3080
xorl %eax, %eax
callq 0x2cb7
movq %rbx, %rdi
callq 0x2031
movl %ebp, %eax
addq $0x48, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
nop