// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/intset_16.c
// Function: gt_intset_16_io
GtIntset *gt_intset_16_io(GtIntset *intset, FILE *fp, GtError *err)
{
  GtIntset16 *intset_16;
  if (intset == NULL) {
    intset = gt_intset_create(gt_intset_16_class());
    intset->members->sectionstart = NULL;
    intset->members->refcount = 0;
    intset_16 = gt_intset_16_cast(intset);
    intset_16->elements = NULL;
    intset = gt_intset_16_io_fp(intset, fp, err, gt_io_error_fread);
  }
  else {
    intset = gt_intset_16_io_fp(intset, fp, err, gt_io_error_fwrite);
  }
  return intset;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r15
testq %rdi, %rdi
je 0x3094fa
movq %rdi, %rbx
movq $0x10, (%rsp)
testq %r14, %r14
je 0x30949f
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x30988a
callq 0x3091a6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x15e2b0
movq %rax, %r12
movq %rsp, %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x3094eb
cmpq $0x10, (%rsp)
je 0x3094eb
leaq 0xde2e0(%rip), %rsi     # 0x3e77bc
movq %r14, %rdi
xorl %eax, %eax
callq 0x1019cf
movl $0x1, %eax
testl %eax, %eax
je 0x3095a4
xorl %ebp, %ebp
jmp 0x3097e5
callq 0x3091a6
movq %rax, %rdi
callq 0x15e23c
movq %rax, %rbx
movq 0x8(%rax), %rax
xorl %r12d, %r12d
movq %r12, (%rax)
movq %r12, 0x40(%rax)
callq 0x3091a6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x15e2b0
movq %r12, 0x10(%rax)
movq $0x10, (%rsp)
testq %r14, %r14
je 0x309549
movq %r14, %rdi
callq 0x101a9a
testb %al, %al
jne 0x30988f
callq 0x3091a6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x15e2b0
movq %rax, %r12
movq %rsp, %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x309595
cmpq $0x10, (%rsp)
je 0x309595
leaq 0xde236(%rip), %rsi     # 0x3e77bc
movq %r14, %rdi
xorl %eax, %eax
callq 0x1019cf
movl $0x1, %eax
testl %eax, %eax
je 0x3096a4
xorl %ebp, %ebp
jmp 0x30982c
movq 0x8(%rbx), %r13
leaq 0x10(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x30967a
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x30967a
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x30967a
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x30967a
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
jne 0x30967a
movq $0x10, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x10, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xde124(%rip), %rdx     # 0x3e7790
movl $0x9a, %ecx
callq 0x1094e6
movq %rax, (%r13)
movq (%r13), %rdi
movq 0x30(%r13), %rdx
incq %rdx
movl $0x8, %esi
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
testl %eax, %eax
je 0x3097a0
xorl %ebp, %ebp
jmp 0x3097e5
movq 0x8(%rbx), %r13
leaq 0x10(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x30977a
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x30977a
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x30977a
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x30977a
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
jne 0x30977a
movq $0x10, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x10, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xde024(%rip), %rdx     # 0x3e7790
movl $0x9a, %ecx
callq 0x1094e6
movq %rax, (%r13)
movq (%r13), %rdi
movq 0x30(%r13), %rdx
incq %rdx
movl $0x8, %esi
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
je 0x3097c1
xorl %ebp, %ebp
jmp 0x30982c
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je 0x3097e2
leaq 0xde043(%rip), %rsi     # 0x3e77f6
xorl %ebp, %ebp
movq %r14, %rdi
xorl %eax, %eax
callq 0x1019cf
jmp 0x3097e5
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je 0x309829
leaq 0xde022(%rip), %rsi     # 0x3e77f6
xorl %ebp, %ebp
movq %r14, %rdi
xorl %eax, %eax
callq 0x1019cf
jmp 0x30982c
movb $0x1, %bpl
testb %bpl, %bpl
je 0x30986e
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
addq %rsi, %rsi
leaq 0xddf8f(%rip), %rdx     # 0x3e7790
movl $0xa6, %ecx
callq 0x1094e6
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x2, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x15e878
jmp 0x30986a
movb $0x1, %bpl
testb %bpl, %bpl
je 0x30986e
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
addq %rsi, %rsi
leaq 0xddf4c(%rip), %rdx     # 0x3e7790
movl $0xa6, %ecx
callq 0x1094e6
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x2, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x15e8b7
testl %eax, %eax
je 0x309878
movq %rbx, %rdi
callq 0x309438
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x8dca6
callq 0x8dcdf