// File: /workspace/github_c_makefile_star2_O2/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 $0x120, %rsp            # imm = 0x120
leaq 0x20(%rsp), %rdi
callq 0x1923
leaq 0x3c7d(%rip), %r14      # 0x5104
xorl %ebx, %ebx
cmpq $0x2, %rbx
je 0x14fd
movzwl 0x20(%rsp,%rbx,2), %eax
rolw $0x8, %ax
movw %ax, 0x10(%rsp)
cmpw -0x2(%r14), %ax
jne 0x156c
movzwl 0x20(%rsp,%rbx,2), %eax
movw %ax, 0x10(%rsp)
cmpw (%r14), %ax
jne 0x1586
movzwl 0x24(%rsp,%rbx,2), %eax
rolw $0x8, %ax
movw %ax, 0x8(%rsp)
movzwl 0x8(%rsp), %eax
cmpw 0x20(%rsp,%rbx,2), %ax
jne 0x15aa
movzwl 0x28(%rsp,%rbx,2), %eax
movw %ax, 0x8(%rsp)
movzwl 0x8(%rsp), %eax
cmpw 0x20(%rsp,%rbx,2), %ax
jne 0x15c0
incq %rbx
addq $0x6, %r14
jmp 0x1489
leaq 0x3c14(%rip), %r14      # 0x5118
xorl %ebx, %ebx
cmpq $0x4, %rbx
je 0x1679
movl 0x2c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, 0x10(%rsp)
cmpl -0x4(%r14), %eax
jne 0x1713
movl 0x2c(%rsp,%rbx,4), %eax
movl %eax, 0x10(%rsp)
cmpl (%r14), %eax
jne 0x172d
movl 0x3c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
cmpl 0x2c(%rsp,%rbx,4), %eax
jne 0x1751
movl 0x4c(%rsp,%rbx,4), %eax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
cmpl 0x2c(%rsp,%rbx,4), %eax
jne 0x1767
incq %rbx
addq $0xc, %r14
jmp 0x1506
callq 0x1080
addq $-0x2, %r14
cmpl $0x0, (%rax)
je 0x15e4
movq %rax, %r15
leaq 0x1a97(%rip), %rdi      # 0x301b
jmp 0x159a
callq 0x1080
cmpl $0x0, (%rax)
je 0x15ed
movq %rax, %r15
leaq 0x1aae(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r15)
jmp 0x15fe
callq 0x1080
cmpl $0x0, (%rax)
je 0x1629
movq %rax, %r14
leaq 0x1aa2(%rip), %rdi      # 0x3060
jmp 0x15d4
callq 0x1080
cmpl $0x0, (%rax)
je 0x1632
movq %rax, %r14
leaq 0x1abf(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r14)
jmp 0x1643
leaq 0x1a30(%rip), %rdi      # 0x301b
jmp 0x15f4
leaq 0x1a54(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
leaq 0x1a2e(%rip), %rdi      # 0x3033
leaq 0x10(%rsp), %rsi
pushq $0x2
popq %rbx
movq %rbx, %rdx
callq 0x1a92
leaq 0x1a22(%rip), %rdi      # 0x303e
movq %r14, %rsi
movq %rbx, %rdx
callq 0x1a92
jmp 0x1669
leaq 0x1a30(%rip), %rdi      # 0x3060
jmp 0x1639
leaq 0x1a5a(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
movzwl 0x8(%rsp), %esi
leaq 0x1a29(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movzwl 0x20(%rsp,%rbx,2), %esi
leaq 0x1a24(%rip), %rdi      # 0x3086
xorl %eax, %eax
callq 0x10d0
pushq $0x1
popq %rax
addq $0x120, %rsp            # imm = 0x120
popq %rbx
popq %r14
popq %r15
retq
leaq 0x3ad0(%rip), %r14      # 0x5150
xorl %ebx, %ebx
leaq 0x10(%rsp), %r15
cmpq $0x8, %rbx
je 0x17ed
movq 0x60(%rsp,%rbx,8), %rax
bswapq %rax
movq %rax, 0x18(%rsp)
cmpq -0x8(%r14), %rax
jne 0x17f4
movq 0x60(%rsp,%rbx,8), %rax
movq %rax, 0x18(%rsp)
cmpq (%r14), %rax
jne 0x180e
movq 0xa0(%rsp,%rbx,8), %rax
movq %rax, 0x10(%rsp)
movq %r15, %rdi
callq 0x1a8b
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x60(%rsp,%rbx,8), %rax
jne 0x1832
movq 0xe0(%rsp,%rbx,8), %rax
movq %rax, 0x10(%rsp)
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
cmpq 0x60(%rsp,%rbx,8), %rax
jne 0x1848
incq %rbx
addq $0x18, %r14
jmp 0x1687
callq 0x1080
addq $-0x4, %r14
cmpl $0x0, (%rax)
je 0x178b
movq %rax, %r15
leaq 0x1980(%rip), %rdi      # 0x30ab
jmp 0x1741
callq 0x1080
cmpl $0x0, (%rax)
je 0x1794
movq %rax, %r15
leaq 0x1982(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r15)
jmp 0x17a5
callq 0x1080
cmpl $0x0, (%rax)
je 0x17b8
movq %rax, %r14
leaq 0x1976(%rip), %rdi      # 0x30db
jmp 0x177b
callq 0x1080
cmpl $0x0, (%rax)
je 0x17c1
movq %rax, %r14
leaq 0x1978(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r14)
jmp 0x17d2
leaq 0x1919(%rip), %rdi      # 0x30ab
jmp 0x179b
leaq 0x1928(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
leaq 0x1887(%rip), %rdi      # 0x3033
leaq 0x10(%rsp), %rsi
pushq $0x4
jmp 0x160c
leaq 0x191c(%rip), %rdi      # 0x30db
jmp 0x17c8
leaq 0x192b(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
movl 0x8(%rsp), %esi
leaq 0x189b(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movl 0x2c(%rsp,%rbx,4), %esi
jmp 0x165b
xorl %eax, %eax
jmp 0x166c
callq 0x1080
addq $-0x8, %r14
cmpl $0x0, (%rax)
je 0x186c
movq %rax, %r15
leaq 0x18ff(%rip), %rdi      # 0x310b
jmp 0x1822
callq 0x1080
cmpl $0x0, (%rax)
je 0x1875
movq %rax, %r15
leaq 0x1901(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r15)
jmp 0x1886
callq 0x1080
cmpl $0x0, (%rax)
je 0x1899
movq %rax, %r14
leaq 0x18f5(%rip), %rdi      # 0x313b
jmp 0x185c
callq 0x1080
cmpl $0x0, (%rax)
je 0x18a2
movq %rax, %r14
leaq 0x1914(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x27dd
andl $0x0, (%r14)
jmp 0x18b3
leaq 0x1898(%rip), %rdi      # 0x310b
jmp 0x187c
leaq 0x18a7(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
leaq 0x17a6(%rip), %rdi      # 0x3033
leaq 0x18(%rsp), %rsi
pushq $0x8
jmp 0x160c
leaq 0x189b(%rip), %rdi      # 0x313b
jmp 0x18a9
leaq 0x18c7(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x296c
movq 0x8(%rsp), %rsi
leaq 0x1894(%rip), %rdi      # 0x3153
xorl %eax, %eax
callq 0x10d0
movq 0x60(%rsp,%rbx,8), %rsi
leaq 0x1890(%rip), %rdi      # 0x3162
xorl %eax, %eax
callq 0x10d0
jmp 0x1669