// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/intset_32.c
// Function: gt_intset_32_io
GtIntset *gt_intset_32_io(GtIntset *intset, FILE *fp, GtError *err)
{
  GtIntset32 *intset_32;
  if (intset == NULL) {
    intset = gt_intset_create(gt_intset_32_class());
    intset->members->sectionstart = NULL;
    intset->members->refcount = 0;
    intset_32 = gt_intset_32_cast(intset);
    intset_32->elements = NULL;
    intset = gt_intset_32_io_fp(intset, fp, err, gt_io_error_fread);
  }
  else {
    intset = gt_intset_32_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 0x300aca
movq %rdi, %rbx
movq $0x20, 0x8(%rsp)
testq %r14, %r14
je 0x30093d
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x300ce5
callq 0x300662
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 0x30097a
cmpq $0x20, 0x8(%rsp)
jne 0x300b53
testl %eax, %eax
jne 0x300b64
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 0x300a58
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x300a58
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x300a58
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x300a58
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
testl %eax, %eax
jne 0x300a58
movq $0x20, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x20, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xddc7d(%rip), %rdx     # 0x3de6c7
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 0x300b64
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
jne 0x300c88
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
shlq $0x2, %rsi
leaq 0xddc28(%rip), %rdx     # 0x3de6c7
movl $0xa6, %ecx
callq 0x104461
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x4, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x156cc4
jmp 0x300cd8
callq 0x300662
movq %rax, %rdi
callq 0x156688
movq %rax, %rbx
movq 0x8(%rax), %rax
xorl %r12d, %r12d
movq %r12, (%rax)
movq %r12, 0x40(%rax)
callq 0x300662
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1566fc
movq %r12, 0x10(%rax)
movq $0x20, 0x8(%rsp)
testq %r14, %r14
je 0x300b1a
movq %r14, %rdi
callq 0xfcc32
testb %al, %al
jne 0x300cea
callq 0x300662
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 0x300b7f
cmpq $0x20, 0x8(%rsp)
je 0x300b7f
leaq 0xddb99(%rip), %rsi     # 0x3de6f3
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
movq %rbx, %rdi
callq 0x3008cf
xorl %ebx, %ebx
movq %rbx, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
testl %eax, %eax
jne 0x300b64
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 0x300c59
leaq 0x18(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x300c59
leaq 0x20(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x300c59
leaq 0x28(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x300c59
leaq 0x38(%r13), %rdi
movl $0x8, %esi
movl $0x1, %edx
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x300c59
movq $0x20, 0x8(%r13)
movq (%r13), %rdi
movq 0x18(%r13), %rax
shrq $0x20, %rax
leaq 0x1(%rax), %rcx
movq %rcx, 0x30(%r13)
leaq 0x10(,%rax,8), %rsi
leaq 0xdda7c(%rip), %rdx     # 0x3de6c7
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 0x300b64
movq (%r13), %rax
movq (%rax), %rdx
testq %rdx, %rdx
je 0x300c9e
leaq 0xdd467(%rip), %rsi     # 0x3de0f6
movq %r14, %rdi
xorl %eax, %eax
callq 0xfcb67
jmp 0x300b64
movq 0x10(%r12), %rdi
movq 0x28(%r13), %rsi
shlq $0x2, %rsi
leaq 0xdda15(%rip), %rdx     # 0x3de6c7
movl $0xa6, %ecx
callq 0x104461
movq %rax, 0x10(%r12)
movq 0x28(%r13), %rdx
movl $0x4, %esi
movq %rax, %rdi
movq %r15, %rcx
movq %r14, %r8
callq 0x156d03
testl %eax, %eax
jne 0x300b64
jmp 0x300b6e
callq 0x8c46e
callq 0x8c4a7