// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_anno_db_gfflike_unit_test
int gt_anno_db_gfflike_unit_test(GtError *err)
{
  int had_err = 0, status = 0;
  GtFeatureIndex *fi = NULL;
  GtError *testerr = NULL;
  GtAnnoDBSchema *adb = NULL;
  FILE *tmpfp;
#ifdef HAVE_SQLITE
  GtRDB *rdb;
#endif
  GtStr* tmpfilename;
  gt_error_check(err);

  testerr = gt_error_new();

  tmpfilename = gt_str_new();
  tmpfp = gt_xtmpfp(tmpfilename);
  gt_fa_xfclose(tmpfp);

#ifdef HAVE_SQLITE
  rdb = gt_rdb_sqlite_new(gt_str_get(tmpfilename), testerr);
  gt_ensure(rdb != NULL);
  if (!had_err) {
    adb = gt_anno_db_gfflike_new();
    gt_ensure(adb != NULL);
  }

  if (!had_err) {
    fi = gt_anno_db_schema_get_feature_index(adb, rdb, testerr);
    gt_ensure(fi != NULL);
  }
#endif

  if (!had_err) {
    /* run generic feature index tests */
    status = gt_feature_index_unit_test(fi, testerr);
    gt_ensure(status == 0);
  }

  gt_xremove(gt_str_get(tmpfilename));
  gt_str_delete(tmpfilename);
  gt_feature_index_delete(fi);
  gt_anno_db_schema_delete(adb);
#ifdef HAVE_SQLITE
  gt_rdb_delete((GtRDB*) rdb);
#endif
  gt_error_delete(testerr);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r12
testq %rdi, %rdi
je 0x12462e
movq %r12, %rdi
callq 0xfcc32
testb %al, %al
jne 0x1247c6
callq 0xfcb4c
movq %rax, %rbx
callq 0x11ac6c
movq %rax, %r14
leaq 0x250bc1(%rip), %rdx    # 0x375206
movq %rax, %rdi
xorl %esi, %esi
movl $0x802, %ecx            # imm = 0x802
callq 0xfd35a
movq %rax, %rdi
callq 0xfd09a
movq %r14, %rdi
callq 0x11b0a1
movq %rax, %rdi
movq %rbx, %rsi
callq 0x16c0b4
movq %rax, %r15
testq %rax, %rax
je 0x1246df
callq 0x1245a8
testq %rax, %rax
je 0x124709
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x125824
testq %rax, %rax
je 0x124742
movq %rax, %r13
movq %rax, %rdi
movq %rbx, %rsi
callq 0x140d89
testl %eax, %eax
je 0x124779
leaq 0x239d82(%rip), %rsi    # 0x35e43e
leaq 0x29fe7b(%rip), %rdx    # 0x3c453e
leaq 0x250e48(%rip), %rcx    # 0x375512
leaq 0x250b35(%rip), %r8     # 0x375206
movq %r12, %rdi
movl $0x816, %r9d            # imm = 0x816
jmp 0x12476a
leaq 0x239d58(%rip), %rsi    # 0x35e43e
leaq 0x250e42(%rip), %rdx    # 0x37552f
leaq 0x250e1e(%rip), %rcx    # 0x375512
leaq 0x250b0b(%rip), %r8     # 0x375206
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x807, %r9d            # imm = 0x807
jmp 0x124731
leaq 0x239d2e(%rip), %rsi    # 0x35e43e
leaq 0x250e24(%rip), %rdx    # 0x37553b
leaq 0x250df4(%rip), %rcx    # 0x375512
leaq 0x250ae1(%rip), %r8     # 0x375206
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x80a, %r9d            # imm = 0x80A
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
xorl %ebp, %ebp
jmp 0x12477c
leaq 0x239cf5(%rip), %rsi    # 0x35e43e
leaq 0x250210(%rip), %rdx    # 0x374960
leaq 0x250dbb(%rip), %rcx    # 0x375512
leaq 0x250aa8(%rip), %r8     # 0x375206
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x80f, %r9d            # imm = 0x80F
xorl %eax, %eax
callq 0xfcb67
movl $0xffffffff, %r12d      # imm = 0xFFFFFFFF
jmp 0x12477c
xorl %r12d, %r12d
movq %r14, %rdi
callq 0x11b0a1
movq %rax, %rdi
callq 0x11f950
movq %r14, %rdi
callq 0x11bdbf
movq %r13, %rdi
callq 0x14070e
movq %rbp, %rdi
callq 0x12579f
movq %r15, %rdi
callq 0x16bda0
movq %rbx, %rdi
callq 0xfcccd
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x3aba6