// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/feature_index_memory.c
// Function: gt_feature_index_memory_unit_test
int gt_feature_index_memory_unit_test(GtError *err)
{
  int had_err = 0, status = 0;
  GtFeatureIndex *fi = NULL;
  GtFeatureNode *tmp, *fn;
  GtError *testerr;
  gt_error_check(err);

  fi = gt_feature_index_memory_new();
  gt_ensure(fi);

  /* run generic feature index tests */
  had_err = gt_feature_index_unit_test(fi, err);
  gt_ensure(status == 0);

  /* run subclass specific tests */
  testerr = gt_error_new();
  fn = gt_feature_node_cast(gt_feature_node_new_standard_gene());
  gt_ensure(!gt_feature_index_add_feature_node(fi, fn, testerr));

  /* test gt_feature_index_memory_get_node_by_ptr() */
  tmp = gt_feature_index_memory_get_node_by_ptr(
                                            gt_feature_index_memory_cast(fi),
                                            fn, testerr);
  gt_ensure(tmp == fn);
  gt_ensure(!gt_error_is_set(testerr));

  /* we don't store NULL pointers */
  tmp = gt_feature_index_memory_get_node_by_ptr(
                                               gt_feature_index_memory_cast(fi),
                                               (GtFeatureNode*) 0,
                                                testerr);
  gt_ensure(tmp == NULL);
  gt_ensure(gt_error_is_set(testerr));
  gt_genome_node_delete((GtGenomeNode*) fn);
  gt_feature_index_delete(fi);

  gt_error_delete(testerr);
  return had_err;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movl $0x0, 0x2c(%rsp)
movl $0x0, 0x28(%rsp)
movq $0x0, 0x20(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x1fb02
movq 0x30(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x1faca
jmp 0x1fb02
movq 0x194507(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x13e58b(%rip), %rsi    # 0x15e066
leaq 0x13eb66(%rip), %rdx    # 0x15e648
leaq 0x141fed(%rip), %rcx    # 0x161ad6
leaq 0x141d6c(%rip), %r8     # 0x16185c
movl $0x195, %r9d            # imm = 0x195
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x1fb04
callq 0x1f9d0
movq %rax, 0x20(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x1fb55
cmpq $0x0, 0x20(%rsp)
jne 0x1fb53
movq 0x30(%rsp), %rdi
leaq 0x14064e(%rip), %rsi    # 0x160177
leaq 0x15c811(%rip), %rdx    # 0x17c341
leaq 0x141f9f(%rip), %rcx    # 0x161ad6
leaq 0x141d1e(%rip), %r8     # 0x16185c
movl $0x198, %r9d            # imm = 0x198
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fb55
jmp 0x1fb57
movq 0x20(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0x1def0
movl %eax, 0x2c(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x1fbb0
cmpl $0x0, 0x28(%rsp)
je 0x1fbae
movq 0x30(%rsp), %rdi
leaq 0x1405f3(%rip), %rsi    # 0x160177
leaq 0x147f24(%rip), %rdx    # 0x167aaf
leaq 0x141f44(%rip), %rcx    # 0x161ad6
leaq 0x141cc3(%rip), %r8     # 0x16185c
movl $0x19c, %r9d            # imm = 0x19C
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fbb0
jmp 0x1fbb2
callq 0xc0b0
movq %rax, 0x8(%rsp)
callq 0x20a70
movq %rax, %rdi
callq 0x20750
movq %rax, 0x10(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x1fc26
movq 0x20(%rsp), %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x1d3d0
cmpl $0x0, %eax
je 0x1fc24
movq 0x30(%rsp), %rdi
leaq 0x14057d(%rip), %rsi    # 0x160177
leaq 0x141ef7(%rip), %rdx    # 0x161af8
leaq 0x141ece(%rip), %rcx    # 0x161ad6
leaq 0x141c4d(%rip), %r8     # 0x16185c
movl $0x1a1, %r9d            # imm = 0x1A1
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fc26
jmp 0x1fc28
callq 0x1eb70
movq %rax, %rdi
movq 0x20(%rsp), %rsi
callq 0x1de70
movq %rax, %rdi
movq 0x10(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x1f350
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x1fc9c
movq 0x18(%rsp), %rax
cmpq 0x10(%rsp), %rax
je 0x1fc9a
movq 0x30(%rsp), %rdi
leaq 0x140507(%rip), %rsi    # 0x160177
leaq 0x141eb5(%rip), %rdx    # 0x161b2c
leaq 0x141e58(%rip), %rcx    # 0x161ad6
leaq 0x141bd7(%rip), %r8     # 0x16185c
movl $0x1a7, %r9d            # imm = 0x1A7
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fc9c
jmp 0x1fc9e
jmp 0x1fca0
cmpl $0x0, 0x2c(%rsp)
jne 0x1fcef
movq 0x8(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x1fcb7
jmp 0x1fced
movq 0x30(%rsp), %rdi
leaq 0x1404b4(%rip), %rsi    # 0x160177
leaq 0x141e6c(%rip), %rdx    # 0x161b36
leaq 0x141e05(%rip), %rcx    # 0x161ad6
leaq 0x141b84(%rip), %r8     # 0x16185c
movl $0x1a8, %r9d            # imm = 0x1A8
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fcef
jmp 0x1fcf1
callq 0x1eb70
movq %rax, %rdi
movq 0x20(%rsp), %rsi
callq 0x1de70
movq %rax, %rdi
movq 0x8(%rsp), %rdx
xorl %eax, %eax
movl %eax, %esi
callq 0x1f350
movq %rax, 0x18(%rsp)
cmpl $0x0, 0x2c(%rsp)
jne 0x1fd60
cmpq $0x0, 0x18(%rsp)
je 0x1fd5e
movq 0x30(%rsp), %rdi
leaq 0x140443(%rip), %rsi    # 0x160177
leaq 0x141e15(%rip), %rdx    # 0x161b50
leaq 0x141d94(%rip), %rcx    # 0x161ad6
leaq 0x141b13(%rip), %r8     # 0x16185c
movl $0x1af, %r9d            # imm = 0x1AF
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fd60
jmp 0x1fd62
jmp 0x1fd64
cmpl $0x0, 0x2c(%rsp)
jne 0x1fdb1
movq 0x8(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x1fdaf
movq 0x30(%rsp), %rdi
leaq 0x1403f2(%rip), %rsi    # 0x160177
leaq 0x141dab(%rip), %rdx    # 0x161b37
leaq 0x141d43(%rip), %rcx    # 0x161ad6
leaq 0x141ac2(%rip), %r8     # 0x16185c
movl $0x1b0, %r9d            # imm = 0x1B0
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x2c(%rsp) # imm = 0xFFFFFFFF
jmp 0x1fdb1
jmp 0x1fdb3
movq 0x10(%rsp), %rdi
callq 0x26eb0
movq 0x20(%rsp), %rdi
callq 0x1d200
movq 0x8(%rsp), %rdi
callq 0xc490
movl 0x2c(%rsp), %eax
addq $0x38, %rsp
retq
nopw (%rax,%rax)