// File: /workspace/github_c_makefile_star2_O2/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 0xb923f
movq %r12, %rdi
callq 0x89eb7
testb %al, %al
jne 0xb93d3
callq 0x89da4
movq %rax, %rbx
callq 0xacb84
movq %rax, %r14
leaq 0x25c2c0(%rip), %rdx    # 0x315516
movq %rax, %rdi
xorl %esi, %esi
movl $0x802, %ecx            # imm = 0x802
callq 0x8abea
movq %rax, %rdi
callq 0x8a5e5
movq %r14, %rdi
callq 0xad1fa
movq %rax, %rdi
movq %rbx, %rsi
callq 0x10d8b0
movq %rax, %r15
testq %rax, %rax
je 0xb92f0
callq 0xb9186
testq %rax, %rax
je 0xb931a
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0xba686
testq %rax, %rax
je 0xb9351
movq %rax, %r13
movq %rax, %rdi
movq %rbx, %rsi
callq 0xd8131
testl %eax, %eax
je 0xb9386
leaq 0x245125(%rip), %rsi    # 0x2fe3f2
leaq 0x2ab67a(%rip), %rdx    # 0x36494e
leaq 0x25c547(%rip), %rcx    # 0x315822
leaq 0x25c234(%rip), %r8     # 0x315516
movq %r12, %rdi
movl $0x816, %r9d            # imm = 0x816
jmp 0xb9379
leaq 0x2450fb(%rip), %rsi    # 0x2fe3f2
leaq 0x25c541(%rip), %rdx    # 0x31583f
leaq 0x25c51d(%rip), %rcx    # 0x315822
leaq 0x25c20a(%rip), %r8     # 0x315516
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x807, %r9d            # imm = 0x807
jmp 0xb9342
leaq 0x2450d1(%rip), %rsi    # 0x2fe3f2
leaq 0x25c523(%rip), %rdx    # 0x31584b
leaq 0x25c4f3(%rip), %rcx    # 0x315822
leaq 0x25c1e0(%rip), %r8     # 0x315516
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x80a, %r9d            # imm = 0x80A
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %r12
xorl %ebp, %ebp
jmp 0xb9389
leaq 0x24509a(%rip), %rsi    # 0x2fe3f2
leaq 0x25b911(%rip), %rdx    # 0x314c70
leaq 0x25c4bc(%rip), %rcx    # 0x315822
leaq 0x25c1a9(%rip), %r8     # 0x315516
xorl %r13d, %r13d
movq %r12, %rdi
movl $0x80f, %r9d            # imm = 0x80F
xorl %eax, %eax
callq 0x89dbb
pushq $-0x1
popq %r12
jmp 0xb9389
xorl %r12d, %r12d
movq %r14, %rdi
callq 0xad1fa
movq %rax, %rdi
callq 0xb3109
movq %r14, %rdi
callq 0xae103
movq %r13, %rdi
callq 0xd7777
movq %rbp, %rdi
callq 0xba5a3
movq %r15, %rdi
callq 0x10d1a6
movq %rbx, %rdi
callq 0x8a045
movl %r12d, %eax
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x37eb8e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x22bc2f(%rip), %rsi    # 0x2e5013
leaq 0x22bdd4(%rip), %rdx    # 0x2e51bf
leaq 0x25c430(%rip), %rcx    # 0x315822
leaq 0x25c11d(%rip), %r8     # 0x315516
movl $0x7fd, %r9d            # imm = 0x7FD
xorl %eax, %eax
callq 0x17a50
callq 0x17390