// File: /workspace/github_c_makefile_star2_O3/Tarsnap[P]libcperciva/tests/sysendian/main.c
// Function: selftest
static int
selftest(void)
{
	struct tests tests_actual;
	struct tests * tests = &tests_actual;

	/* Copy the tests into the volatile variables. */
	fill_testcases(tests);

	TEST_FULL(tests, 16);
	TEST_FULL(tests, 32);
	TEST_FULL(tests, 64);

	/* Success! */
	return (0);

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

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
leaq 0x10(%rsp), %r14
movq %r14, %rdi
callq 0x1e6e
movb $0x1, %cl
leaq 0x12(%rsp), %rax
xorl %ebx, %ebx
leaq 0x47a8(%rip), %rdx      # 0x6100
movzwl (%r14), %edi
rolw $0x8, %di
movw %di, 0x8(%rsp)
leaq (%rbx,%rbx,2), %rsi
cmpw 0x2(%rdx,%rsi,2), %di
jne 0x1ab5
leaq (%rdx,%rsi,2), %r15
movzwl (%r14), %esi
movw %si, 0x8(%rsp)
cmpw 0x4(%r15), %si
jne 0x1aeb
movzwl 0x14(%rsp,%rbx,2), %esi
rolw $0x8, %si
movw %si, (%rsp)
movzwl (%rsp), %esi
cmpw (%r14), %si
jne 0x1b1d
movzwl 0x18(%rsp,%rbx,2), %esi
movw %si, (%rsp)
movzwl (%rsp), %esi
cmpw (%r14), %si
jne 0x1b37
movl $0x1, %ebx
movq %rax, %r14
testb $0x1, %cl
movl $0x0, %ecx
jne 0x1958
leaq 0x4741(%rip), %r14      # 0x6118
xorl %ebx, %ebx
movl 0x1c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, 0x8(%rsp)
cmpl -0x4(%r14), %eax
jne 0x1c1b
movl 0x1c(%rsp,%rbx,4), %eax
movl %eax, 0x8(%rsp)
cmpl (%r14), %eax
jne 0x1c35
movl 0x2c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, (%rsp)
movl (%rsp), %eax
cmpl 0x1c(%rsp,%rbx,4), %eax
jne 0x1c5c
movl 0x3c(%rsp,%rbx,4), %eax
movl %eax, (%rsp)
movl (%rsp), %eax
cmpl 0x1c(%rsp,%rbx,4), %eax
jne 0x1c76
incq %rbx
addq $0xc, %r14
cmpq $0x4, %rbx
jne 0x19d9
leaq 0x4714(%rip), %r14      # 0x6150
xorl %ebx, %ebx
movq 0x50(%rsp,%rbx,8), %rax
bswapq %rax
movq %rax, 0x8(%rsp)
cmpq -0x8(%r14), %rax
jne 0x1d27
movq 0x50(%rsp,%rbx,8), %rax
movq %rax, 0x8(%rsp)
cmpq (%r14), %rax
jne 0x1d41
movq 0x90(%rsp,%rbx,8), %rax
bswapq %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x50(%rsp,%rbx,8), %rax
jne 0x1d68
movq 0xd0(%rsp,%rbx,8), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x50(%rsp,%rbx,8), %rax
jne 0x1d7e
incq %rbx
addq $0x18, %r14
cmpq $0x8, %rbx
jne 0x1a3e
xorl %eax, %eax
jmp 0x1ce6
leaq (%rdx,%rsi,2), %r14
addq $0x2, %r14
callq 0x1080
cmpl $0x0, (%rax)
je 0x1b65
movq %rax, %r15
leaq 0x1546(%rip), %rdi      # 0x301b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r15)
jmp 0x1b76
addq $0x4, %r15
callq 0x1080
cmpl $0x0, (%rax)
je 0x1b9d
movq %rax, %r14
leaq 0x1541(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r14)
jmp 0x1bae
callq 0x1080
cmpl $0x0, (%rax)
je 0x1bd8
movq %rax, %r15
leaq 0x152b(%rip), %rdi      # 0x3060
jmp 0x1b4f
callq 0x1080
cmpl $0x0, (%rax)
je 0x1be1
movq %rax, %r15
leaq 0x1544(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r15)
jmp 0x1bf2
leaq 0x14af(%rip), %rdi      # 0x301b
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
leaq 0x14b6(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x2, %edx
callq 0x1fa8
leaq 0x14ab(%rip), %rdi      # 0x303e
movl $0x2, %edx
jmp 0x1cd9
leaq 0x14a4(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
leaq 0x147e(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x2, %edx
callq 0x1fa8
leaq 0x1473(%rip), %rdi      # 0x303e
movl $0x2, %edx
movq %r15, %rsi
jmp 0x1cdc
leaq 0x1481(%rip), %rdi      # 0x3060
jmp 0x1be8
leaq 0x14ab(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
movzwl (%rsp), %esi
leaq 0x147b(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movzwl (%r14), %esi
leaq 0x1477(%rip), %rdi      # 0x3086
xorl %eax, %eax
callq 0x10d0
jmp 0x1ce1
callq 0x1080
addq $-0x4, %r14
cmpl $0x0, (%rax)
je 0x1c9d
movq %rax, %r15
leaq 0x1478(%rip), %rdi      # 0x30ab
jmp 0x1c49
callq 0x1080
cmpl $0x0, (%rax)
je 0x1ca6
movq %rax, %r15
leaq 0x147a(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r15)
jmp 0x1cb7
callq 0x1080
cmpl $0x0, (%rax)
je 0x1cf3
movq %rax, %r14
leaq 0x1467(%rip), %rdi      # 0x30db
jmp 0x1c8a
callq 0x1080
cmpl $0x0, (%rax)
je 0x1cfc
movq %rax, %r14
leaq 0x1469(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r14)
jmp 0x1d0d
leaq 0x1407(%rip), %rdi      # 0x30ab
jmp 0x1cad
leaq 0x1416(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
leaq 0x1375(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x4, %edx
callq 0x1fa8
leaq 0x136a(%rip), %rdi      # 0x303e
movl $0x4, %edx
movq %r14, %rsi
callq 0x1fa8
movl $0x1, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r14
popq %r15
retq
leaq 0x13e1(%rip), %rdi      # 0x30db
jmp 0x1d03
leaq 0x13f0(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
movl (%rsp), %esi
leaq 0x1361(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movl 0x1c(%rsp,%rbx,4), %esi
jmp 0x1c08
callq 0x1080
addq $-0x8, %r14
cmpl $0x0, (%rax)
je 0x1da5
movq %rax, %r15
leaq 0x13cc(%rip), %rdi      # 0x310b
jmp 0x1d55
callq 0x1080
cmpl $0x0, (%rax)
je 0x1dae
movq %rax, %r15
leaq 0x13ce(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r15)
jmp 0x1dbf
callq 0x1080
cmpl $0x0, (%rax)
je 0x1de6
movq %rax, %r14
leaq 0x13bf(%rip), %rdi      # 0x313b
jmp 0x1d92
callq 0x1080
cmpl $0x0, (%rax)
je 0x1def
movq %rax, %r14
leaq 0x13de(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2b18
movl $0x0, (%r14)
jmp 0x1e00
leaq 0x135f(%rip), %rdi      # 0x310b
jmp 0x1db5
leaq 0x136e(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
leaq 0x126d(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x1fa8
leaq 0x1262(%rip), %rdi      # 0x303e
movl $0x8, %edx
jmp 0x1cd9
leaq 0x134e(%rip), %rdi      # 0x313b
jmp 0x1df6
leaq 0x137a(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2c37
movq (%rsp), %rsi
leaq 0x1348(%rip), %rdi      # 0x3153
xorl %eax, %eax
callq 0x10d0
movq 0x50(%rsp,%rbx,8), %rsi
leaq 0x1344(%rip), %rdi      # 0x3162
xorl %eax, %eax
callq 0x10d0
jmp 0x1ce1