// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/intset_8.c
// Function: gt_intset_8_io
GtIntset *gt_intset_8_io(GtIntset *intset, FILE *fp, GtError *err)
{
  GtIntset8 *intset_8;
  if (intset == NULL) {
    intset = gt_intset_create(gt_intset_8_class());
    intset->members->sectionstart = NULL;
    intset->members->refcount = 0;
    intset_8 = gt_intset_8_cast(intset);
    intset_8->elements = NULL;
    intset = gt_intset_8_io_fp(intset, fp, err, gt_io_error_fread);
  }
  else {
    intset = gt_intset_8_io_fp(intset, fp, err, gt_io_error_fwrite);
  }
  return intset;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %r14
movq %rsi, %r15
testq %rdi, %rdi
je 0x301d11
movq %rdi, %rbx
movq $0x8, 0x8(%rsp)
testq %r14, %r14
je 0x301b88
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x301f28
callq 0x3018b1
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1566fc
movq %rax, %r12
leaq 0x8(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301bc5
cmpq $0x8, 0x8(%rsp)
jne 0x301d9a
testl %eax, %eax
jne 0x301dab
movq 0x8(%rbx), %r13
leaq 0x10(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301ca3
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301ca3
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301ca3
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301ca3
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301ca3
movq $0x8, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x8, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xdce84(%rip), %rdx     # 0x3deb19
movl $0x9a, %ecx
callq 0x104461
movq %rax, (%r13)
movq (%r13), %rdi
movq 0x30(%r13), %rdx
incq %rdx
movl $0x8, %esi
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x301dab
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
jne 0x301ecf
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
leaq 0xdce33(%rip), %rdx     # 0x3deb19
movl $0xa6, %ecx
callq 0x104461
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x1, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
jmp 0x301f1b
callq 0x3018b1
movq %rax, %rdi
callq 0x156688
movq %rax, %rbx
movq 0x8(%rax), %rax
xorl %r12d, %r12d
movq %r12, (%rax)
movq %r12, 0x40(%rax)
callq 0x3018b1
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1566fc
movq %r12, 0x10(%rax)
movq $0x8, 0x8(%rsp)
testq %r14, %r14
je 0x301d61
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x301f2d
callq 0x3018b1
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1566fc
movq %rax, %r12
leaq 0x8(%rsp), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301dc6
cmpq $0x8, 0x8(%rsp)
je 0x301dc6
leaq 0xdcda2(%rip), %rsi     # 0x3deb43
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
movq %rbx, %rdi
callq 0x301b1a
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
testl %eax, %eax
jne 0x301dab
movq 0x8(%rbx), %r13
leaq 0x10(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301ea0
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301ea0
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301ea0
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301ea0
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301ea0
movq $0x8, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x8, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xdcc87(%rip), %rdx     # 0x3deb19
movl $0x9a, %ecx
callq 0x104461
movq %rax, (%r13)
movq (%r13), %rdi
movq 0x30(%r13), %rdx
incq %rdx
movl $0x8, %esi
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301dab
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je 0x301ee5
leaq 0xdc220(%rip), %rsi     # 0x3de0f6
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
jmp 0x301dab
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
leaq 0xdcc24(%rip), %rdx     # 0x3deb19
movl $0xa6, %ecx
callq 0x104461
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x1, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x301dab
jmp 0x301db5
callq 0x8c919
callq 0x8c952