// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/rdj-strgraph.c
// Function: gt_strgraph_new_from_file
GtStrgraph* gt_strgraph_new_from_file(const GtEncseq *encseq,
    GtUword fixlen, const char *indexname, const char *suffix)
{
  GtStrgraph *strgraph;
  GtFile *infp;

  gt_assert(encseq != NULL || fixlen > 0);
  gt_assert(sizeof (GtStrgraphLength) >= sizeof (GtUword) ||
     fixlen <= (GtUword)GT_STRGRAPH_LENGTH_MAX);
  gt_strgraph_show_limits_debug_log();

  strgraph = gt_calloc((size_t)1, sizeof (GtStrgraph));
  strgraph->state = GT_STRGRAPH_LOADED_FROM_FILE;
  strgraph->load_self_spm = false;
  strgraph->minmatchlen = GT_STRGRAPH_LENGTH_MAX;
  strgraph->rlt = NULL;
  strgraph->encseq = encseq;
  strgraph->fixlen = (GtStrgraphLength)fixlen;
  GT_STRGRAPH_INIT_COUNTS(strgraph);
  infp = gt_strgraph_get_file(indexname, suffix, false, false);
  gt_strgraph_load(strgraph, infp);
  gt_file_delete(infp);
  return strgraph;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rax
orq %rsi, %rax
je 0x180408
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
callq 0x17f5fb
leaq 0x1cf6c1(%rip), %rdx    # 0x34f775
pushq $0x1
popq %rdi
movl $0xa0, %esi
movl $0x23d, %ecx            # imm = 0x23D
callq 0x9334a
movq %rax, %rbx
movl $0x3, 0x10(%rax)
movb $0x0, 0x28(%rax)
orq $-0x1, 0x30(%rax)
andq $0x0, 0x38(%rax)
movq %r13, (%rax)
movq %r12, 0x8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x40(%rax)
movq %r15, %rdi
movq %r14, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x1805c9
movq %rax, %r14
leaq 0x80(%rbx), %r15
pushq $0x8
popq %rdx
movq %rax, %rdi
movq %r15, %rsi
callq 0x8d861
cmpl $0x8, %eax
jne 0x180439
leaq 0x68(%rbx), %r12
pushq $0x8
popq %rdx
movq %r14, %rdi
movq %r12, %rsi
callq 0x8d861
cmpl $0x8, %eax
jne 0x180456
leaq 0x78(%rbx), %r13
pushq $0x8
popq %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x8d861
cmpl $0x8, %eax
jne 0x180473
movq 0x80(%rbx), %rsi
incq %rsi
pushq $0x2
popq %rdi
callq 0x17fbde
movq %rax, 0x58(%rbx)
movq 0x68(%rbx), %rdi
callq 0x28a939
movq 0x80(%rbx), %rsi
incq %rsi
movl %eax, %edi
callq 0x17fbde
movq %rax, 0x60(%rbx)
movq 0x78(%rbx), %rdi
callq 0x28a939
movq 0x80(%rbx), %rsi
incq %rsi
movl %eax, %edi
callq 0x17fbde
movq %rax, 0x70(%rbx)
movq 0x58(%rbx), %rax
testq %rax, %rax
je 0x180490
movq (%rax), %rsi
movq (%r15), %rax
leaq 0x2(,%rax,2), %rax
movq %rax, %rdx
shrq $0x3, %rdx
andl $0x6, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movq %r14, %rdi
callq 0x8d861
movq (%r15), %rcx
leaq 0x2(,%rcx,2), %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
andl $0x6, %ecx
cmpq $0x1, %rcx
sbbl $-0x1, %edx
cmpl %edx, %eax
jne 0x1804ad
movq 0x70(%rbx), %rax
testq %rax, %rax
je 0x1804c7
movq (%rax), %rbp
movq (%r13), %rdi
callq 0x28a939
cltq
movq (%r15), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbq $-0x1, %rdx
movq %r14, %rdi
movq %rbp, %rsi
callq 0x8d861
movl %eax, %ebp
movq (%r13), %rdi
callq 0x28a939
cltq
movq (%r15), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rax
shrq $0x3, %rax
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbl $-0x1, %eax
cmpl %eax, %ebp
jne 0x1804e1
movq 0x60(%rbx), %rax
testq %rax, %rax
je 0x1804fb
movq (%rax), %r13
movq (%r12), %rdi
callq 0x28a939
cltq
movq (%r15), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbq $-0x1, %rdx
movq %r14, %rdi
movq %r13, %rsi
callq 0x8d861
movl %eax, %ebp
movq (%r12), %rdi
callq 0x28a939
cltq
movq (%r15), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rax
shrq $0x3, %rax
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbl $-0x1, %eax
cmpl %eax, %ebp
jne 0x180515
leaq 0x98(%rbx), %r12
pushq $0x8
popq %rdx
movq %r14, %rdi
movq %r12, %rsi
callq 0x8d861
cmpl $0x8, %eax
jne 0x180543
movq %rbx, %r13
addq $0x90, %r13
pushq $0x8
popq %rdx
movq %r14, 0x10(%rsp)
movq %r14, %rdi
movq %r13, %rsi
callq 0x8d861
cmpl $0x8, %eax
jne 0x18055d
movq %r15, %r14
movq 0x90(%rbx), %rdi
callq 0x28a939
movl %eax, %ebp
movq 0x80(%rbx), %rdi
callq 0x28a939
leal (%rax,%rbp), %edi
incl %edi
movq 0x98(%rbx), %rsi
callq 0x17fbde
movq %rax, 0x88(%rbx)
testq %rax, %rax
je 0x180577
movq (%rax), %rax
movq %rax, 0x8(%rsp)
movq (%r13), %rdi
callq 0x28a939
movl %eax, %r15d
movq (%r14), %rdi
callq 0x28a939
addl %r15d, %eax
incl %eax
cltq
imulq (%r12), %rax
movq %rax, %rdx
shrq $0x3, %rdx
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movq 0x10(%rsp), %rbp
movq %rbp, %rdi
movq 0x8(%rsp), %rsi
callq 0x8d861
movl %eax, 0x8(%rsp)
movq (%r13), %rdi
callq 0x28a939
movl %eax, %r15d
movq (%r14), %rdi
callq 0x28a939
addl %r15d, %eax
incl %eax
cltq
imulq (%r12), %rax
movq %rax, %rcx
shrq $0x3, %rcx
andl $0x7, %eax
cmpq $0x1, %rax
sbbl $-0x1, %ecx
cmpl %ecx, 0x8(%rsp)
jne 0x180591
movq %rbp, %rdi
callq 0x8da06
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2b7b59(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164bfa(%rip), %rsi    # 0x2e5013
leaq 0x1cf552(%rip), %rdx    # 0x34f972
leaq 0x1cf568(%rip), %rcx    # 0x34f98f
leaq 0x1cf347(%rip), %r8     # 0x34f775
movl $0x238, %r9d            # imm = 0x238
jmp 0x1805bd
movq 0x2b7b28(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164bc9(%rip), %rsi    # 0x2e5013
leaq 0x1cfe49(%rip), %rdx    # 0x35029a
jmp 0x18052d
movq 0x2b7b0b(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164bac(%rip), %rsi    # 0x2e5013
leaq 0x1cfe71(%rip), %rdx    # 0x3502df
jmp 0x18052d
movq 0x2b7aee(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b8f(%rip), %rsi    # 0x2e5013
leaq 0x1cfe99(%rip), %rdx    # 0x350324
jmp 0x18052d
movq 0x2b7ad1(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b72(%rip), %rsi    # 0x2e5013
leaq 0x1cfec1(%rip), %rdx    # 0x350369
jmp 0x18052d
movq 0x2b7ab4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b55(%rip), %rsi    # 0x2e5013
leaq 0x1cfec1(%rip), %rdx    # 0x350386
jmp 0x18052d
movq 0x2b7a9a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b3b(%rip), %rsi    # 0x2e5013
leaq 0x1cff23(%rip), %rdx    # 0x350402
jmp 0x18052d
movq 0x2b7a80(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b21(%rip), %rsi    # 0x2e5013
leaq 0x1cff28(%rip), %rdx    # 0x350421
jmp 0x18052d
movq 0x2b7a66(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164b07(%rip), %rsi    # 0x2e5013
leaq 0x1cffbb(%rip), %rdx    # 0x3504ce
jmp 0x18052d
movq 0x2b7a4c(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164aed(%rip), %rsi    # 0x2e5013
leaq 0x1cffc0(%rip), %rdx    # 0x3504ed
leaq 0x1cfd55(%rip), %rcx    # 0x350289
leaq 0x1cf23a(%rip), %r8     # 0x34f775
movl $0x1e7, %r9d            # imm = 0x1E7
jmp 0x1805bd
movq 0x2b7a1e(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164abf(%rip), %rsi    # 0x2e5013
leaq 0x1d003f(%rip), %rdx    # 0x35059a
jmp 0x1805a9
movq 0x2b7a04(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164aa5(%rip), %rsi    # 0x2e5013
leaq 0x1d0067(%rip), %rdx    # 0x3505dc
jmp 0x1805a9
movq 0x2b79ea(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164a8b(%rip), %rsi    # 0x2e5013
leaq 0x1d008f(%rip), %rdx    # 0x35061e
jmp 0x1805a9
movq 0x2b79d0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x164a71(%rip), %rsi    # 0x2e5013
leaq 0x1d0092(%rip), %rdx    # 0x35063b
leaq 0x1cfcd9(%rip), %rcx    # 0x350289
leaq 0x1cf1be(%rip), %r8     # 0x34f775
movl $0x1e8, %r9d            # imm = 0x1E8
xorl %eax, %eax
callq 0x17a50
callq 0x17390