// File: /workspace/github_c_makefile_star2_O3/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 0x1cf162
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
leaq 0x1e05de(%rip), %rdi    # 0x3af204
leaq 0x1e0610(%rip), %rsi    # 0x3af23d
leaq 0x1e0602(%rip), %rdx    # 0x3af236
xorl %eax, %eax
callq 0x103d72
leaq 0x1e06eb(%rip), %rdx    # 0x3af32d
movl $0x1, %edi
movl $0xa0, %esi
movl $0x23d, %ecx            # imm = 0x23D
callq 0x10436a
movq %rax, %rbx
movl $0x3, 0x10(%rax)
movb $0x0, 0x28(%rax)
movq $-0x1, 0x30(%rax)
movq $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 0x1cf1bf
movq %rax, %r14
leaq 0x80(%rbx), %r15
movl $0x8, %edx
movq %rax, %rdi
movq %r15, %rsi
callq 0xff139
cmpl $0x8, %eax
jne 0x1cf167
leaq 0x68(%rbx), %r12
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0xff139
cmpl $0x8, %eax
jne 0x1cf16c
leaq 0x78(%rbx), %r13
movl $0x8, %edx
movq %r14, 0x8(%rsp)
movq %r14, %rdi
movq %r13, %rsi
callq 0xff139
cmpl $0x8, %eax
jne 0x1cf171
movq (%r15), %r14
leaq 0x191fdb(%rip), %rsi    # 0x360cd8
movl $0x18, %edi
movl $0x48, %edx
callq 0x104226
testq %rax, %rax
movq %r12, 0x10(%rsp)
je 0x1ced7e
movq %rax, %rbp
incq %r14
movq %r14, %rax
shrq $0x2, %rax
movabsq $0x1fffffffffffffff, %rdi # imm = 0x1FFFFFFFFFFFFFFF
andq %rax, %rdi
movl %r14d, %eax
andl $0x3, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x191f93(%rip), %rdx    # 0x360cd8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x10436a
movq %rax, (%rbp)
testq %rax, %rax
je 0x1ced6a
movl $0x2, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1ced80
leaq 0x191f67(%rip), %rsi    # 0x360cd8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x1045eb
xorl %ebp, %ebp
movq %rbp, 0x58(%rbx)
movq 0x68(%rbx), %rdi
callq 0x2f09dd
movl %eax, %r12d
movq 0x80(%rbx), %r14
leaq 0x191f3a(%rip), %rsi    # 0x360cd8
movl $0x18, %edi
movl $0x48, %edx
callq 0x104226
testq %rax, %rax
je 0x1cee0e
movq %rax, %rbp
incq %r14
movl %r12d, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x191f00(%rip), %rdx    # 0x360cd8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x10436a
movq %rax, (%rbp)
testq %rax, %rax
je 0x1cedfa
movl %r12d, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1cee10
leaq 0x191ed7(%rip), %rsi    # 0x360cd8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x1045eb
xorl %ebp, %ebp
movq %rbp, 0x60(%rbx)
movq 0x78(%rbx), %rdi
callq 0x2f09dd
movl %eax, %r12d
movq 0x80(%rbx), %r14
leaq 0x191eaa(%rip), %rsi    # 0x360cd8
movl $0x18, %edi
movl $0x48, %edx
callq 0x104226
testq %rax, %rax
je 0x1cee9e
movq %rax, %rbp
incq %r14
movl %r12d, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x191e70(%rip), %rdx    # 0x360cd8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x10436a
movq %rax, (%rbp)
testq %rax, %rax
je 0x1cee8a
movl %r12d, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1ceea0
leaq 0x191e47(%rip), %rsi    # 0x360cd8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x1045eb
xorl %ebp, %ebp
movq %rbp, 0x70(%rbx)
movq 0x58(%rbx), %rax
testq %rax, %rax
movq 0x8(%rsp), %r14
je 0x1cf176
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 0xff139
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 0x1cf17b
movq 0x70(%rbx), %rax
testq %rax, %rax
je 0x1cf180
movq (%rax), %r12
movq (%r13), %rdi
callq 0x2f09dd
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 %r12, %rsi
callq 0xff139
movl %eax, %ebp
movq (%r13), %rdi
callq 0x2f09dd
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 0x1cf185
movq 0x60(%rbx), %rax
testq %rax, %rax
je 0x1cf18a
movq (%rax), %r12
movq 0x10(%rsp), %r13
movq (%r13), %rdi
callq 0x2f09dd
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 %r12, %rsi
callq 0xff139
movl %eax, %ebp
movq (%r13), %rdi
callq 0x2f09dd
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 0x1cf18f
leaq 0x98(%rbx), %r12
movl $0x8, %edx
movq %r14, %rdi
movq %r12, %rsi
callq 0xff139
cmpl $0x8, %eax
jne 0x1cf194
movq %rbx, %r13
addq $0x90, %r13
movl $0x8, %edx
movq %r14, %rdi
movq %r13, %rsi
callq 0xff139
cmpl $0x8, %eax
jne 0x1cf199
movq (%r13), %rdi
callq 0x2f09dd
movl %eax, %r13d
movq (%r15), %rdi
callq 0x2f09dd
movl %eax, %ebp
movq (%r12), %r14
leaq 0x191c89(%rip), %rsi    # 0x360cd8
movl $0x18, %edi
movl $0x48, %edx
callq 0x104226
testq %rax, %rax
je 0x1cf1b2
movq %rax, %r15
addl %r13d, %ebp
incl %ebp
movl %ebp, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x191c4a(%rip), %rdx    # 0x360cd8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x10436a
movq %rax, (%r15)
testq %rax, %rax
je 0x1cf19e
movq %rax, %r12
movl %ebp, 0x10(%r15)
movq %r14, 0x8(%r15)
movq %r15, 0x88(%rbx)
movq 0x90(%rbx), %rdi
callq 0x2f09dd
movl %eax, %r15d
movq 0x80(%rbx), %rdi
callq 0x2f09dd
addl %r15d, %eax
incl %eax
cltq
imulq 0x98(%rbx), %rax
movq %rax, %rdx
shrq $0x3, %rdx
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movq 0x8(%rsp), %r14
movq %r14, %rdi
movq %r12, %rsi
callq 0xff139
movl %eax, %ebp
movq 0x90(%rbx), %rdi
callq 0x2f09dd
movl %eax, %r15d
movq 0x80(%rbx), %rdi
callq 0x2f09dd
addl %r15d, %eax
incl %eax
cltq
imulq 0x98(%rbx), %rax
movq %rax, %rcx
shrq $0x3, %rcx
andl $0x7, %eax
cmpq $0x1, %rax
sbbl $-0x1, %ecx
cmpl %ecx, %ebp
jne 0x1cf1ba
movq %r14, %rdi
callq 0xff22c
movq %rbx, %rax
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x6c035
callq 0x6c06e
callq 0x6c0a7
callq 0x6c0e0
callq 0x6c322
callq 0x6c119
callq 0x6c2e9
callq 0x6c152
callq 0x6c2b0
callq 0x6c18b
callq 0x6c1c4
callq 0x6c1fd
leaq 0x191b33(%rip), %rsi    # 0x360cd8
movq %r15, %rdi
movl $0x4d, %edx
callq 0x1045eb
movq %rbx, %rdi
callq 0x6c26f
callq 0x6c236