// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/xrf_checker.c
// Function: gt_xrf_checker_new
GtXRFChecker* gt_xrf_checker_new(const char *file_path, GtError *err)
{
  GtXRFChecker *xrc;
  GtUword i;
  gt_error_check(err);
  gt_assert(file_path);

  xrc = gt_calloc(1UL, sizeof (GtXRFChecker));
  xrc->xpt = gt_xrf_abbr_parse_tree_new(file_path, err);
  if (!xrc->xpt) {
    gt_xrf_checker_delete(xrc);
    return NULL;
  }
  xrc->abbrvs = gt_hashmap_new(GT_HASH_STRING, NULL, NULL);
  for (i = 0; i < gt_xrf_abbr_parse_tree_num_of_entries(xrc->xpt); i++) {
    const GtXRFAbbrEntry *e = gt_xrf_abbr_parse_tree_get_entry(xrc->xpt, i);
    const char *synonym;
    gt_hashmap_add(xrc->abbrvs,
                   (void*) gt_xrf_abbr_entry_get_value(e, "abbreviation"),
                   (void*) e);
    if ((synonym = gt_xrf_abbr_entry_get_value(e, "synonym"))) {
      gt_hashmap_add(xrc->abbrvs, (void*) synonym, (void*) e);
    }
  }
  xrc->splitter = gt_splitter_new();
  return xrc;
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movq %rsi, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
je 0x39e7e
movq 0x30(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x39e46
jmp 0x39e7e
movq 0x17a18b(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x12420f(%rip), %rsi    # 0x15e066
leaq 0x1247ea(%rip), %rdx    # 0x15e648
leaq 0x12d709(%rip), %rcx    # 0x16756e
leaq 0x12d5fa(%rip), %r8     # 0x167466
movl $0x6d, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x39e80
jmp 0x39e82
cmpq $0x0, 0x38(%rsp)
jne 0x39ec2
movq 0x17a147(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0x1241cb(%rip), %rsi    # 0x15e066
leaq 0x1392f9(%rip), %rdx    # 0x17319b
leaq 0x12d6c5(%rip), %rcx    # 0x16756e
leaq 0x12d5b6(%rip), %r8     # 0x167466
movl $0x6e, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x39ec4
movl $0x1, %edi
movl $0x20, %esi
leaq 0x12d591(%rip), %rdx    # 0x167466
movl $0x70, %ecx
callq 0xd5b0
movq %rax, 0x28(%rsp)
movq 0x38(%rsp), %rdi
movq 0x30(%rsp), %rsi
callq 0xa91c0
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x28(%rsp), %rax
cmpq $0x0, 0x8(%rax)
jne 0x39f23
movq 0x28(%rsp), %rdi
callq 0x3a030
movq $0x0, 0x40(%rsp)
jmp 0x3a01a
movl $0x1, %edi
xorl %eax, %eax
movl %eax, %edx
movq %rdx, %rsi
callq 0x86190
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, (%rax)
movq $0x0, 0x20(%rsp)
movq 0x20(%rsp), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rdi
callq 0xa9690
movq %rax, %rcx
movq 0x8(%rsp), %rax
cmpq %rcx, %rax
jae 0x39fff
movq 0x28(%rsp), %rax
movq 0x8(%rax), %rdi
movq 0x20(%rsp), %rsi
callq 0xa9620
movq %rax, 0x18(%rsp)
movq 0x28(%rsp), %rax
movq (%rax), %rax
movq %rax, (%rsp)
movq 0x18(%rsp), %rdi
leaq 0x12d5e0(%rip), %rsi    # 0x167581
callq 0xa9070
movq (%rsp), %rdi
movq %rax, %rsi
movq 0x18(%rsp), %rdx
callq 0x86510
movq 0x18(%rsp), %rdi
leaq 0x12d5cb(%rip), %rsi    # 0x16758e
callq 0xa9070
movq %rax, 0x10(%rsp)
cmpq $0x0, %rax
je 0x39fea
movq 0x28(%rsp), %rax
movq (%rax), %rdi
movq 0x10(%rsp), %rsi
movq 0x18(%rsp), %rdx
callq 0x86510
jmp 0x39fec
movq 0x20(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x20(%rsp)
jmp 0x39f48
callq 0x16a10
movq %rax, %rcx
movq 0x28(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x28(%rsp), %rax
movq %rax, 0x40(%rsp)
movq 0x40(%rsp), %rax
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)