// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/gff3_parser.c
// Function: get_seqid_str
static int get_seqid_str(GtStr **seqid_str, const char *seqid, GtRange range,
                         GtGFF3Parser *parser, const char *filename,
                         unsigned int line_number, GtError *err)
{
  SimpleSequenceRegion *ssr;
  int had_err = 0;

  gt_error_check(err);

  ssr = gt_hashmap_get(parser->seqid_to_ssr_mapping, seqid);
  if (!ssr) {
    GtRange range;
    range.start = 0;
    range.end = ULONG_MAX;
    ssr = simple_sequence_region_new(seqid, range, line_number);
    ssr->pseudo = true;
    gt_hashmap_add(parser->seqid_to_ssr_mapping, gt_str_get(ssr->seqid_str),
                   ssr);
  }
  else if (parser->checkregions && !ssr->is_circular &&
           !gt_range_contains(&ssr->range, &range) && parser->checkregions) {
    gt_error_set(err, "range ("GT_WU","GT_WU") of feature on line %u in file "
                 "\"%s\" is not contained in range ("GT_WU","GT_WU") of "
                 "corresponding sequence region on line %u",
                 range.start, range.end, line_number, filename,
                 ssr->range.start, ssr->range.end, ssr->line_number);
    had_err = -1;
  }

  if (!had_err)
    *seqid_str = gt_str_ref(ssr->seqid_str);

  return had_err;
}

// Assembly:
subq $0x78, %rsp
movq 0x88(%rsp), %rax
movl 0x80(%rsp), %eax
movq %rdx, 0x68(%rsp)
movq %rcx, 0x70(%rsp)
movq %rdi, 0x60(%rsp)
movq %rsi, 0x58(%rsp)
movq %r8, 0x50(%rsp)
movq %r9, 0x48(%rsp)
movl $0x0, 0x3c(%rsp)
cmpq $0x0, 0x88(%rsp)
je 0x2cb3f
movq 0x88(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x2cb07
jmp 0x2cb3f
movq 0x1874ca(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x13154e(%rip), %rsi    # 0x15e066
leaq 0x131b29(%rip), %rdx    # 0x15e648
leaq 0x1379a9(%rip), %rcx    # 0x1644cf
leaq 0x136a7e(%rip), %r8     # 0x1635ab
movl $0x1a6, %r9d            # imm = 0x1A6
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x2cb41
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x58(%rsp), %rsi
callq 0x86470
movq %rax, 0x40(%rsp)
cmpq $0x0, 0x40(%rsp)
jne 0x2cbce
movq $0x0, 0x28(%rsp)
movq $-0x1, 0x30(%rsp)
movq 0x58(%rsp), %rdi
movl 0x80(%rsp), %ecx
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
callq 0x2c3a0
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
movb $0x1, 0x1c(%rax)
movq 0x50(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, 0x20(%rsp)
movq 0x40(%rsp), %rax
movq (%rax), %rdi
callq 0x19940
movq 0x20(%rsp), %rdi
movq %rax, %rsi
movq 0x40(%rsp), %rdx
callq 0x86510
jmp 0x2cc68
movq 0x50(%rsp), %rax
testb $0x1, 0x1a(%rax)
je 0x2cc66
movq 0x40(%rsp), %rax
testb $0x1, 0x1d(%rax)
jne 0x2cc66
movq 0x40(%rsp), %rdi
addq $0x8, %rdi
leaq 0x68(%rsp), %rsi
callq 0x93ea0
testb $0x1, %al
jne 0x2cc66
movq 0x50(%rsp), %rax
testb $0x1, 0x1a(%rax)
je 0x2cc66
movq 0x88(%rsp), %rdi
movq 0x68(%rsp), %rdx
movq 0x70(%rsp), %rcx
movl 0x80(%rsp), %r8d
movq 0x48(%rsp), %r9
movq 0x40(%rsp), %rax
movq 0x8(%rax), %r11
movq 0x40(%rsp), %rax
movq 0x10(%rax), %r10
movq 0x40(%rsp), %rax
movl 0x18(%rax), %eax
leaq 0x137893(%rip), %rsi    # 0x1644dd
movq %r11, (%rsp)
movq %r10, 0x8(%rsp)
movl %eax, 0x10(%rsp)
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0x3c(%rsp) # imm = 0xFFFFFFFF
jmp 0x2cc68
cmpl $0x0, 0x3c(%rsp)
jne 0x2cc87
movq 0x40(%rsp), %rax
movq (%rax), %rdi
callq 0x19dc0
movq %rax, %rcx
movq 0x60(%rsp), %rax
movq %rcx, (%rax)
movl 0x3c(%rsp), %eax
addq $0x78, %rsp
retq