// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/anno_db_gfflike.c
// Function: gt_feature_index_gfflike_get_features_for_range
int gt_feature_index_gfflike_get_features_for_range(GtFeatureIndex *gfi,
                                                    GtArray *results,
                                                    const char *seqid,
                                                    const GtRange *qry_range,
                                                    GtError *err)
{
  GtFeatureIndexGFFlike *fi;
  int retval;
  gt_error_check(err);
  GtRDBStmt *stmt;
  gt_assert(gfi && results);
  gt_error_check(err);
  fi = feature_index_gfflike_cast(gfi);
  stmt = fi->stmts[GT_PSTMT_GET_RANGE_SELECT];
  gt_mutex_lock(fi->dblock);
  gt_rdb_stmt_reset(stmt, err);
  gt_rdb_stmt_bind_string(stmt, 0, seqid, err);
  gt_rdb_stmt_bind_ulong(stmt, 1, qry_range->end, err);
  gt_rdb_stmt_bind_ulong(stmt, 2, qry_range->start, err);
  retval = get_nodes_for_stmt(fi, results, stmt, err);
  gt_mutex_unlock(fi->dblock);
  return retval;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x40(%rsp)
movq %rsi, 0x38(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq %r8, 0x20(%rsp)
cmpq $0x0, 0x20(%rsp)
je 0x12eb8d
movq 0x20(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x12eb55
jmp 0x12eb8d
movq 0x50d444(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3e74ad(%rip), %rsi    # 0x516013
leaq 0x3e7652(%rip), %rdx    # 0x5161bf
leaq 0x418a41(%rip), %rcx    # 0x5475b5
leaq 0x4188d3(%rip), %r8     # 0x54744e
movl $0x5be, %r9d            # imm = 0x5BE
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x12eb8f
jmp 0x12eb91
cmpq $0x0, 0x40(%rsp)
je 0x12eba1
cmpq $0x0, 0x38(%rsp)
jne 0x12ebd9
movq 0x50d3f8(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3e7461(%rip), %rsi    # 0x516013
leaq 0x418a2c(%rip), %rdx    # 0x5475e5
leaq 0x4189f5(%rip), %rcx    # 0x5475b5
leaq 0x418887(%rip), %r8     # 0x54744e
movl $0x5c0, %r9d            # imm = 0x5C0
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x12ebdb
jmp 0x12ebdd
cmpq $0x0, 0x20(%rsp)
je 0x12ec2d
movq 0x20(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x12ebf5
jmp 0x12ec2d
movq 0x50d3a4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3e740d(%rip), %rsi    # 0x516013
leaq 0x3e75b2(%rip), %rdx    # 0x5161bf
leaq 0x4189a1(%rip), %rcx    # 0x5475b5
leaq 0x418833(%rip), %r8     # 0x54744e
movl $0x5c1, %r9d            # imm = 0x5C1
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x12ec2f
callq 0x12dc70
movq %rax, %rdi
movq 0x40(%rsp), %rsi
callq 0x16a0d0
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq 0xc8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x18(%rsp), %rax
movq 0x170(%rax), %rdi
callq 0x1211d0
movq 0x8(%rsp), %rdi
movq 0x20(%rsp), %rsi
callq 0x1c42f0
movq 0x8(%rsp), %rdi
movq 0x30(%rsp), %rdx
movq 0x20(%rsp), %rcx
xorl %eax, %eax
movl %eax, %esi
callq 0x1c44f0
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rdx
movq 0x20(%rsp), %rcx
movl $0x1, %esi
callq 0x1c4440
movq 0x8(%rsp), %rdi
movq 0x28(%rsp), %rax
movq (%rax), %rdx
movq 0x20(%rsp), %rcx
movl $0x2, %esi
callq 0x1c4440
movq 0x18(%rsp), %rdi
movq 0x38(%rsp), %rsi
movq 0x8(%rsp), %rdx
movq 0x20(%rsp), %rcx
callq 0x12e170
movl %eax, 0x14(%rsp)
movq 0x18(%rsp), %rax
movq 0x170(%rax), %rdi
callq 0x121270
movl 0x14(%rsp), %eax
addq $0x48, %rsp
retq
nop