// File: /workspace/github_c_makefile_star2_O1/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 %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x110, %rsp            # imm = 0x110
leaq 0x10(%rsp), %rdi
callq 0x1de1
leaq 0x47f5(%rip), %r14      # 0x6104
xorl %r12d, %r12d
xorl %ebx, %ebx
movzwl 0x10(%rsp,%rbx,2), %eax
rolw $0x8, %ax
movw %ax, 0x8(%rsp)
cmpw -0x2(%r14), %ax
jne 0x197b
movzwl 0x10(%rsp,%rbx,2), %eax
movw %ax, 0x8(%rsp)
cmpw (%r14), %ax
jne 0x1995
movzwl 0x14(%rsp,%rbx,2), %eax
rolw $0x8, %ax
movw %ax, (%rsp)
movzwl (%rsp), %eax
cmpw 0x10(%rsp,%rbx,2), %ax
jne 0x19bc
movzwl 0x18(%rsp,%rbx,2), %eax
movw %ax, (%rsp)
movzwl (%rsp), %eax
cmpw 0x10(%rsp,%rbx,2), %ax
jne 0x19d2
incq %rbx
addq $0x6, %r14
cmpq $0x1, %rbx
setne %r12b
je 0x1914
jmp 0x1a8d
callq 0x1080
addq $-0x2, %r14
cmpl $0x0, (%rax)
je 0x19f9
movq %rax, %r15
leaq 0x1688(%rip), %rdi      # 0x301b
jmp 0x19a9
callq 0x1080
cmpl $0x0, (%rax)
je 0x1a02
movq %rax, %r15
leaq 0x169f(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r15)
jmp 0x1a13
callq 0x1080
cmpl $0x0, (%rax)
je 0x1a3f
movq %rax, %r14
leaq 0x1690(%rip), %rdi      # 0x3060
jmp 0x19e6
callq 0x1080
cmpl $0x0, (%rax)
je 0x1a48
movq %rax, %r14
leaq 0x16ad(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r14)
jmp 0x1a59
leaq 0x161b(%rip), %rdi      # 0x301b
jmp 0x1a09
leaq 0x163f(%rip), %rdi      # 0x3048
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
leaq 0x1619(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x2, %edx
callq 0x1f0d
leaq 0x160e(%rip), %rdi      # 0x303e
movl $0x2, %edx
movq %r14, %rsi
callq 0x1f0d
jmp 0x1a7e
leaq 0x161a(%rip), %rdi      # 0x3060
jmp 0x1a4f
leaq 0x1644(%rip), %rdi      # 0x3093
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
movzwl (%rsp), %esi
leaq 0x1614(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movzwl 0x10(%rsp,%rbx,2), %esi
leaq 0x160f(%rip), %rdi      # 0x3086
xorl %eax, %eax
callq 0x10d0
movl $0x1, %eax
testb $0x1, %r12b
je 0x1d8d
leaq 0x4684(%rip), %r14      # 0x6118
xorl %r12d, %r12d
xorl %ebx, %ebx
movl 0x1c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, 0x8(%rsp)
cmpl -0x4(%r14), %eax
jne 0x1af6
movl 0x1c(%rsp,%rbx,4), %eax
movl %eax, 0x8(%rsp)
cmpl (%r14), %eax
jne 0x1b10
movl 0x2c(%rsp,%rbx,4), %eax
bswapl %eax
movl %eax, (%rsp)
movl (%rsp), %eax
cmpl 0x1c(%rsp,%rbx,4), %eax
jne 0x1b37
movl 0x3c(%rsp,%rbx,4), %eax
movl %eax, (%rsp)
movl (%rsp), %eax
cmpl 0x1c(%rsp,%rbx,4), %eax
jne 0x1b4d
cmpq $0x3, %rbx
leaq 0x1(%rbx), %rax
setae %r12b
addq $0xc, %r14
movq %rax, %rbx
cmpq $0x4, %rax
jne 0x1a99
jmp 0x1c06
callq 0x1080
addq $-0x4, %r14
cmpl $0x0, (%rax)
je 0x1b74
movq %rax, %r15
leaq 0x159d(%rip), %rdi      # 0x30ab
jmp 0x1b24
callq 0x1080
cmpl $0x0, (%rax)
je 0x1b7d
movq %rax, %r15
leaq 0x159f(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r15)
jmp 0x1b8e
callq 0x1080
cmpl $0x0, (%rax)
je 0x1bba
movq %rax, %r14
leaq 0x1590(%rip), %rdi      # 0x30db
jmp 0x1b61
callq 0x1080
cmpl $0x0, (%rax)
je 0x1bc3
movq %rax, %r14
leaq 0x1592(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r14)
jmp 0x1bd4
leaq 0x1530(%rip), %rdi      # 0x30ab
jmp 0x1b84
leaq 0x153f(%rip), %rdi      # 0x30c3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
leaq 0x149e(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x4, %edx
callq 0x1f0d
leaq 0x1493(%rip), %rdi      # 0x303e
movl $0x4, %edx
movq %r14, %rsi
callq 0x1f0d
jmp 0x1bf7
leaq 0x151a(%rip), %rdi      # 0x30db
jmp 0x1bca
leaq 0x1529(%rip), %rdi      # 0x30f3
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
movl (%rsp), %esi
leaq 0x149a(%rip), %rdi      # 0x3078
xorl %eax, %eax
callq 0x10d0
movl 0x1c(%rsp,%rbx,4), %esi
leaq 0x1496(%rip), %rdi      # 0x3086
xorl %eax, %eax
callq 0x10d0
movl $0x1, %eax
testb $0x1, %r12b
je 0x1d8d
movb $0x1, %bpl
leaq 0x4540(%rip), %r14      # 0x6150
xorl %ebx, %ebx
movq 0x50(%rsp,%rbx,8), %rax
bswapq %rax
movq %rax, 0x8(%rsp)
cmpq -0x8(%r14), %rax
jne 0x1c83
movq 0x50(%rsp,%rbx,8), %rax
movq %rax, 0x8(%rsp)
cmpq (%r14), %rax
jne 0x1c9d
movq 0x90(%rsp,%rbx,8), %rax
bswapq %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x50(%rsp,%rbx,8), %rax
jne 0x1cc4
movq 0xd0(%rsp,%rbx,8), %rax
movq %rax, (%rsp)
movq (%rsp), %rax
cmpq 0x50(%rsp,%rbx,8), %rax
jne 0x1cda
cmpq $0x7, %rbx
leaq 0x1(%rbx), %rax
setb %bpl
addq $0x18, %r14
movq %rax, %rbx
cmpq $0x8, %rax
jne 0x1c12
jmp 0x1d86
callq 0x1080
addq $-0x8, %r14
cmpl $0x0, (%rax)
je 0x1d01
movq %rax, %r15
leaq 0x1470(%rip), %rdi      # 0x310b
jmp 0x1cb1
callq 0x1080
cmpl $0x0, (%rax)
je 0x1d0a
movq %rax, %r15
leaq 0x1472(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r15)
jmp 0x1d1b
callq 0x1080
cmpl $0x0, (%rax)
je 0x1d47
movq %rax, %r14
leaq 0x1463(%rip), %rdi      # 0x313b
jmp 0x1cee
callq 0x1080
cmpl $0x0, (%rax)
je 0x1d50
movq %rax, %r14
leaq 0x1482(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x29cc
movl $0x0, (%r14)
jmp 0x1d61
leaq 0x1403(%rip), %rdi      # 0x310b
jmp 0x1d11
leaq 0x1412(%rip), %rdi      # 0x3123
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
leaq 0x1311(%rip), %rdi      # 0x3033
leaq 0x8(%rsp), %rsi
movl $0x8, %edx
callq 0x1f0d
leaq 0x1306(%rip), %rdi      # 0x303e
movl $0x8, %edx
movq %r14, %rsi
callq 0x1f0d
jmp 0x1d86
leaq 0x13ed(%rip), %rdi      # 0x313b
jmp 0x1d57
leaq 0x1419(%rip), %rdi      # 0x3170
movq %rbx, %rsi
xorl %eax, %eax
callq 0x2aeb
movq (%rsp), %rsi
leaq 0x13e7(%rip), %rdi      # 0x3153
xorl %eax, %eax
callq 0x10d0
movq 0x50(%rsp,%rbx,8), %rsi
leaq 0x13e3(%rip), %rdi      # 0x3162
xorl %eax, %eax
callq 0x10d0
movzbl %bpl, %eax
andl $0x1, %eax
addq $0x110, %rsp            # imm = 0x110
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq