// File: /workspace/github_c_makefile_star2_O2/samtools[P]htslib/test/hts_endian.c
// Function: main
int main(int argc, char **argv) {
    int verbose = 0;
    int errors = 0;

    if (argc > 1 && strcmp(argv[1], "-v") == 0) verbose = 1;

    errors += t16_bit(verbose);
    errors += t32_bit(verbose);
    errors += t64_bit(verbose);
    errors += t_float(verbose);
    errors += t_double(verbose);
    if (errors) {
        fprintf(stderr, "%d errors\n", errors);
        return EXIT_FAILURE;
    }

    return EXIT_SUCCESS;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl $0x0, %r13d
cmpl $0x2, %edi
jl 0x160f
movq 0x8(%rsi), %rax
cmpb $0x2d, (%rax)
jne 0x160f
cmpb $0x76, 0x1(%rax)
jne 0x160f
xorl %r13d, %r13d
cmpb $0x0, 0x2(%rax)
sete %r13b
leaq 0x2a2a(%rip), %r15      # 0x4040
pushq $0x6
popq %rbx
leaq 0x19(%rsp), %r14
movl $0x0, 0x14(%rsp)
movl %r13d, 0x8(%rsp)
subq $0x1, %rbx
jb 0x1965
testl %r13d, %r13d
jne 0x16dc
movzwl (%r15), %eax
cmpw 0x8(%r15), %ax
jne 0x1718
cmpw 0x6(%r15), %ax
jne 0x175e
leaq 0x3(%r15), %r12
movzwl 0x3(%r15), %eax
cmpw 0x8(%r15), %ax
jne 0x179e
cmpw 0x6(%r15), %ax
jne 0x17e8
movzwl 0x8(%r15), %r12d
movw %r12w, 0x18(%rsp)
cmpw (%r15), %r12w
jne 0x182d
movswl 0x6(%r15), %r12d
movw %r12w, 0x18(%rsp)
cmpw (%r15), %r12w
jne 0x187c
movzwl 0x8(%r15), %r12d
movw %r12w, 0x19(%rsp)
movzwl (%r14), %eax
cmpw (%r15), %ax
jne 0x18cb
movswl 0x6(%r15), %r12d
movw %r12w, 0x19(%rsp)
movzwl (%r14), %eax
cmpw (%r15), %ax
jne 0x1918
addq $0xa, %r15
jmp 0x162b
movq 0x28fd(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r15, %rdi
pushq $0x2
popq %rsi
callq 0x1368
movswl 0x6(%r15), %ecx
movzwl 0x8(%r15), %r8d
movq %r12, %rdi
leaq 0xa4b(%rip), %rsi       # 0x2150
leaq 0x2ca4(%rip), %rdx      # 0x43b0
xorl %eax, %eax
callq 0x1030
jmp 0x163e
movzwl %ax, %r12d
movq 0x28bd(%rip), %rax      # 0x3fe0
movq (%rax), %rbp
movq %r15, %rdi
pushq $0x2
popq %rsi
callq 0x1368
movzwl 0x8(%r15), %r8d
movq %rbp, %rdi
leaq 0xa1c(%rip), %rsi       # 0x215c
leaq 0x2c69(%rip), %rdx      # 0x43b0
movl %r12d, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
movzwl (%r15), %eax
jmp 0x164d
movswl %ax, %ebp
movq 0x2878(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r15, %rdi
pushq $0x2
popq %rsi
callq 0x1368
movswl 0x6(%r15), %r8d
movq %r12, %rdi
leaq 0x9f5(%rip), %rsi       # 0x217a
leaq 0x2c24(%rip), %rdx      # 0x43b0
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x1658
movzwl %ax, %ebp
movq 0x2838(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r12, %rdi
pushq $0x2
popq %rsi
callq 0x1368
movzwl 0x8(%r15), %r8d
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x9ce(%rip), %rsi       # 0x2198
leaq 0x2bdf(%rip), %rdx      # 0x43b0
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
movzwl 0x3(%r15), %eax
jmp 0x166c
movswl %ax, %ebp
movq 0x27ee(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r12, %rdi
pushq $0x2
popq %rsi
callq 0x1368
movswl 0x6(%r15), %r8d
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x9ac(%rip), %rsi       # 0x21c0
leaq 0x2b95(%rip), %rdx      # 0x43b0
movl %ebp, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x1677
movq 0x27ac(%rip), %rax      # 0x3fe0
movq (%rax), %r13
leaq 0x18(%rsp), %rdi
pushq $0x2
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x989(%rip), %rsi       # 0x21e8
movl %r12d, %edx
leaq 0x2b47(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x168c
movq 0x275d(%rip), %rax      # 0x3fe0
movq (%rax), %r13
leaq 0x18(%rsp), %rdi
pushq $0x2
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x958(%rip), %rsi       # 0x2206
movl %r12d, %edx
leaq 0x2af8(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x16a1
movq 0x270e(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r14, %rdi
pushq $0x2
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x929(%rip), %rsi       # 0x2224
movl %r12d, %edx
leaq 0x2aab(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x16ba
movq 0x26c1(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r14, %rdi
pushq $0x2
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x904(%rip), %rsi       # 0x224c
movl %r12d, %edx
leaq 0x2a5e(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x14(%rsp)
jmp 0x16d3
leaq 0x2714(%rip), %r15      # 0x4080
pushq $0x7
popq %rbx
movl $0x0, 0x10(%rsp)
subq $0x1, %rbx
jb 0x1c6b
testl %r13d, %r13d
jne 0x1a10
movl (%r15), %r12d
cmpl 0x10(%r15), %r12d
jne 0x1a4a
cmpl 0xc(%r15), %r12d
jne 0x1a8a
leaq 0x5(%r15), %rbp
movl 0x5(%r15), %r12d
cmpl 0x10(%r15), %r12d
jne 0x1ac7
cmpl 0xc(%r15), %r12d
jne 0x1b0d
movl 0x10(%r15), %ebp
movl %ebp, 0x18(%rsp)
cmpl (%r15), %ebp
jne 0x1b4f
movl 0xc(%r15), %ebp
movl %ebp, 0x18(%rsp)
cmpl (%r15), %ebp
jne 0x1b97
movl 0x10(%r15), %ebp
movl %ebp, 0x19(%rsp)
movl (%r14), %eax
cmpl (%r15), %eax
jne 0x1bdf
movl 0xc(%r15), %ebp
movl %ebp, 0x19(%rsp)
movl (%r14), %eax
cmpl (%r15), %eax
jne 0x1c25
addq $0x14, %r15
jmp 0x1977
movq 0x25c9(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movl 0xc(%r15), %ecx
movl 0x10(%r15), %r8d
movq %r12, %rdi
leaq 0x83d(%rip), %rsi       # 0x2274
leaq 0x2972(%rip), %rdx      # 0x43b0
xorl %eax, %eax
callq 0x1030
jmp 0x198a
movq 0x258f(%rip), %rax      # 0x3fe0
movq (%rax), %rbp
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movl 0x10(%r15), %r8d
movq %rbp, %rdi
leaq 0x6ef(%rip), %rsi       # 0x215c
leaq 0x293c(%rip), %rdx      # 0x43b0
movl %r12d, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
movl (%r15), %r12d
jmp 0x1997
movq 0x254f(%rip), %rax      # 0x3fe0
movq (%rax), %rbp
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movl 0xc(%r15), %r8d
movq %rbp, %rdi
leaq 0x6cd(%rip), %rsi       # 0x217a
leaq 0x28fc(%rip), %rdx      # 0x43b0
movl %r12d, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x19a1
movq 0x2512(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %rbp, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movl 0x10(%r15), %r8d
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x6a9(%rip), %rsi       # 0x2198
leaq 0x28ba(%rip), %rdx      # 0x43b0
movl %r12d, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
movl 0x5(%r15), %r12d
jmp 0x19b3
movq 0x24cc(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %rbp, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movl 0xc(%r15), %r8d
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x68b(%rip), %rsi       # 0x21c0
leaq 0x2874(%rip), %rdx      # 0x43b0
movl %r12d, %ecx
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x19bd
movq 0x248a(%rip), %rax      # 0x3fe0
movq (%rax), %r12
leaq 0x18(%rsp), %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r12, %rdi
leaq 0x66d(%rip), %rsi       # 0x21e8
movl %ebp, %edx
leaq 0x282c(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x19ce
movq 0x2442(%rip), %rax      # 0x3fe0
movq (%rax), %r12
leaq 0x18(%rsp), %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r12, %rdi
leaq 0x643(%rip), %rsi       # 0x2206
movl %ebp, %edx
leaq 0x27e4(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x19df
movq 0x23fa(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r14, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r12, %rdi
leaq 0x61b(%rip), %rsi       # 0x2224
movl %ebp, %edx
leaq 0x279e(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x19f3
movq 0x23b4(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r14, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r15, %rdi
pushq $0x4
popq %rsi
callq 0x1368
movq %r12, %rdi
leaq 0x5fd(%rip), %rsi       # 0x224c
movl %ebp, %edx
leaq 0x2758(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0x10(%rsp)
jmp 0x1a07
leaq 0x249e(%rip), %r15      # 0x4110
pushq $0x8
popq %rbx
movl $0x0, 0xc(%rsp)
subq $0x1, %rbx
jb 0x1f91
testl %r13d, %r13d
jne 0x1d1a
movq (%r15), %r12
cmpq 0x20(%r15), %r12
jne 0x1d54
cmpq 0x18(%r15), %r12
jne 0x1d94
leaq 0x9(%r15), %rbp
movq 0x9(%r15), %r12
cmpq 0x20(%r15), %r12
jne 0x1dd1
cmpq 0x18(%r15), %r12
jne 0x1e17
movq 0x20(%r15), %r12
movq %r12, 0x18(%rsp)
cmpq (%r15), %r12
jne 0x1e59
movq 0x18(%r15), %r12
movq %r12, 0x18(%rsp)
cmpq (%r15), %r12
jne 0x1ea8
movq 0x20(%r15), %r12
movq %r12, 0x19(%rsp)
movq (%r14), %rax
cmpq (%r15), %rax
jne 0x1ef7
movq 0x18(%r15), %r12
movq %r12, 0x19(%rsp)
movq (%r14), %rax
cmpq (%r15), %rax
jne 0x1f44
addq $0x28, %r15
jmp 0x1c7d
movq 0x22bf(%rip), %rax      # 0x3fe0
movq (%rax), %r12
movq %r15, %rdi
pushq $0x8
popq %rsi
callq 0x1368
movq 0x18(%r15), %rcx
movq 0x20(%r15), %r8
movq %r12, %rdi
leaq 0x541(%rip), %rsi       # 0x2282
leaq 0x2668(%rip), %rdx      # 0x43b0
xorl %eax, %eax
callq 0x1030
jmp 0x1c90
movq 0x2285(%rip), %rax      # 0x3fe0
movq (%rax), %rbp
movq %r15, %rdi
pushq $0x8
popq %rsi
callq 0x1368
movq 0x20(%r15), %r8
movq %rbp, %rdi
leaq 0x51b(%rip), %rsi       # 0x2292
leaq 0x2632(%rip), %rdx      # 0x43b0
movq %r12, %rcx
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
movq (%r15), %r12
jmp 0x1c9d
movq 0x2245(%rip), %rax      # 0x3fe0
movq (%rax), %rbp
movq %r15, %rdi
pushq $0x8
popq %rsi
callq 0x1368
movq 0x18(%r15), %r8
movq %rbp, %rdi
leaq 0x4fb(%rip), %rsi       # 0x22b2
leaq 0x25f2(%rip), %rdx      # 0x43b0
movq %r12, %rcx
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1ca7
movq 0x2208(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %rbp, %rdi
pushq $0x8
popq %rsi
callq 0x1368
movq 0x20(%r15), %r8
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x4d9(%rip), %rsi       # 0x22d2
leaq 0x25b0(%rip), %rdx      # 0x43b0
movq %r12, %rcx
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
movq 0x9(%r15), %r12
jmp 0x1cb9
movq 0x21c2(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %rbp, %rdi
pushq $0x8
popq %rsi
callq 0x1368
movq 0x18(%r15), %r8
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x4bd(%rip), %rsi       # 0x22fc
leaq 0x256a(%rip), %rdx      # 0x43b0
movq %r12, %rcx
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1cc3
movq 0x2180(%rip), %rax      # 0x3fe0
movq (%rax), %r13
leaq 0x18(%rsp), %rdi
pushq $0x8
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x49b(%rip), %rsi       # 0x2326
movq %r12, %rdx
leaq 0x251b(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1cd5
movq 0x2131(%rip), %rax      # 0x3fe0
movq (%rax), %r13
leaq 0x18(%rsp), %rdi
pushq $0x8
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x46b(%rip), %rsi       # 0x2345
movq %r12, %rdx
leaq 0x24cc(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1ce7
movq 0x20e2(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r14, %rdi
pushq $0x8
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x43d(%rip), %rsi       # 0x2364
movq %r12, %rdx
leaq 0x247f(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1cfc
movq 0x2095(%rip), %rax      # 0x3fe0
movq (%rax), %r13
movq %r14, %rdi
pushq $0x8
popq %rbp
movl %ebp, %esi
callq 0x1368
movq %r15, %rdi
movl %ebp, %esi
callq 0x1368
movq %r13, %rdi
movl 0x8(%rsp), %r13d
leaq 0x419(%rip), %rsi       # 0x238d
movq %r12, %rdx
leaq 0x2432(%rip), %rcx      # 0x43b0
movq %rcx, %r8
xorl %eax, %eax
callq 0x1030
incl 0xc(%rsp)
jmp 0x1d11
movl 0x10(%rsp), %ebx
addl 0x14(%rsp), %ebx
addl 0xc(%rsp), %ebx
movl %r13d, %edi
callq 0x114c
movl %eax, %ebp
addl %ebx, %ebp
movl %r13d, %edi
callq 0x13c5
xorl %ecx, %ecx
addl %ebp, %eax
jne 0x1fc8
movl %ecx, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2011(%rip), %rcx      # 0x3fe0
movq (%rcx), %rdi
leaq 0x166(%rip), %rsi       # 0x213f
movl %eax, %edx
xorl %eax, %eax
callq 0x1030
pushq $0x1
popq %rcx
jmp 0x1fb7