// File: /workspace/github_c_makefile_star2_O1/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 $0x28, %rsp
movq %rdi, %rax
orq %rsi, %rax
je 0x1d88df
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r13
leaq 0x1e048d(%rip), %rdi    # 0x3b8804
leaq 0x1e04bf(%rip), %rsi    # 0x3b883d
leaq 0x1e04b1(%rip), %rdx    # 0x3b8836
xorl %eax, %eax
callq 0x108e02
leaq 0x1e059a(%rip), %rdx    # 0x3b892d
movl $0x1, %edi
movl $0xa0, %esi
movl $0x23d, %ecx            # imm = 0x23D
callq 0x1093ef
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 0x1d8925
movq %rax, %r15
leaq 0x80(%rbx), %r12
movl $0x8, %edx
movq %rax, %rdi
movq %r12, %rsi
callq 0x104009
cmpl $0x8, %eax
jne 0x1d88e4
leaq 0x68(%rbx), %r14
movl $0x8, %edx
movq %r15, %rdi
movq %r14, %rsi
callq 0x104009
cmpl $0x8, %eax
jne 0x1d88e9
movq %r14, 0x10(%rsp)
leaq 0x78(%rbx), %r13
movl $0x8, %edx
movq %r15, %rdi
movq %r13, %rsi
callq 0x104009
cmpl $0x8, %eax
jne 0x1d88ee
movq (%r12), %r14
leaq 0x191999(%rip), %rsi    # 0x369de8
movl $0x18, %edi
movl $0x48, %edx
callq 0x1092b2
movq %rax, %rbp
testq %rax, %rax
movq %r12, 0x8(%rsp)
je 0x1d84d2
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 0x191951(%rip), %rdx    # 0x369de8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x1093ef
movq %rax, (%rbp)
testq %rax, %rax
je 0x1d84bc
movl $0x2, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1d84d2
leaq 0x191925(%rip), %rsi    # 0x369de8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x109670
xorl %ebp, %ebp
movq %rbp, 0x58(%rbx)
movq 0x68(%rbx), %rdi
callq 0x2f9d41
movl %eax, %r12d
movq 0x80(%rbx), %r14
leaq 0x1918f8(%rip), %rsi    # 0x369de8
movl $0x18, %edi
movl $0x48, %edx
callq 0x1092b2
movq %rax, %rbp
testq %rax, %rax
je 0x1d8562
incq %r14
movl %r12d, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x1918be(%rip), %rdx    # 0x369de8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x1093ef
movq %rax, (%rbp)
testq %rax, %rax
je 0x1d854c
movl %r12d, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1d8562
leaq 0x191895(%rip), %rsi    # 0x369de8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x109670
xorl %ebp, %ebp
movq %rbp, 0x60(%rbx)
movq 0x78(%rbx), %rdi
callq 0x2f9d41
movl %eax, %r12d
movq 0x80(%rbx), %r14
leaq 0x191868(%rip), %rsi    # 0x369de8
movl $0x18, %edi
movl $0x48, %edx
callq 0x1092b2
movq %rax, %rbp
testq %rax, %rax
je 0x1d85f2
incq %r14
movl %r12d, %eax
imulq %r14, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x19182e(%rip), %rdx    # 0x369de8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x1093ef
movq %rax, (%rbp)
testq %rax, %rax
je 0x1d85dc
movl %r12d, 0x10(%rbp)
movq %r14, 0x8(%rbp)
jmp 0x1d85f2
leaq 0x191805(%rip), %rsi    # 0x369de8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x109670
xorl %ebp, %ebp
movq %rbp, 0x70(%rbx)
movq 0x58(%rbx), %rax
testq %rax, %rax
movq 0x8(%rsp), %r12
je 0x1d88f3
movq (%rax), %rsi
movq (%r12), %rax
leaq 0x2(,%rax,2), %rax
movq %rax, %rdx
shrq $0x3, %rdx
andl $0x6, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movq %r15, %rdi
callq 0x104009
movq (%r12), %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 0x1d88f8
movq 0x70(%rbx), %rax
testq %rax, %rax
je 0x1d88fd
movq (%rax), %r14
movq (%r13), %rdi
callq 0x2f9d41
cltq
movq (%r12), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbq $-0x1, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x104009
movl %eax, %ebp
movq (%r13), %rdi
callq 0x2f9d41
cltq
movq (%r12), %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 0x1d8902
movq 0x60(%rbx), %rax
testq %rax, %rax
je 0x1d8907
movq (%rax), %r14
movq 0x10(%rsp), %r13
movq (%r13), %rdi
callq 0x2f9d41
cltq
movq (%r12), %rcx
incq %rcx
imulq %rax, %rcx
movq %rcx, %rdx
shrq $0x3, %rdx
andl $0x7, %ecx
cmpq $0x1, %rcx
sbbq $-0x1, %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x104009
movl %eax, %ebp
movq (%r13), %rdi
callq 0x2f9d41
cltq
movq (%r12), %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 0x1d890c
leaq 0x98(%rbx), %rbp
movl $0x8, %edx
movq %r15, %rdi
movq %rbp, %rsi
callq 0x104009
cmpl $0x8, %eax
jne 0x1d8911
movq %rbx, %r13
addq $0x90, %r13
movl $0x8, %edx
movq %r15, 0x10(%rsp)
movq %r15, %rdi
movq %r13, %rsi
callq 0x104009
cmpl $0x8, %eax
jne 0x1d8916
movq (%r13), %rdi
callq 0x2f9d41
movl %eax, %r14d
movq (%r12), %rdi
callq 0x2f9d41
movl %eax, %r15d
movq %rbp, 0x20(%rsp)
movq (%rbp), %r12
leaq 0x191635(%rip), %rsi    # 0x369de8
movl $0x18, %edi
movl $0x48, %edx
callq 0x1092b2
movq %rax, %rbp
testq %rax, %rax
je 0x1d8828
addl %r15d, %r14d
incl %r14d
movl %r14d, %eax
imulq %r12, %rax
movq %rax, %rdi
shrq $0x3, %rdi
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdi
leaq 0x1915f8(%rip), %rdx    # 0x369de8
movl $0x1, %esi
movl $0x4c, %ecx
callq 0x1093ef
movq %rax, (%rbp)
testq %rax, %rax
je 0x1d8812
movl %r14d, 0x10(%rbp)
movq %r12, 0x8(%rbp)
jmp 0x1d8828
leaq 0x1915cf(%rip), %rsi    # 0x369de8
movq %rbp, %rdi
movl $0x4d, %edx
callq 0x109670
xorl %ebp, %ebp
movq 0x8(%rsp), %r12
movq %rbp, 0x88(%rbx)
testq %rbp, %rbp
je 0x1d891b
movq (%rbp), %r14
movq (%r13), %rdi
callq 0x2f9d41
movl %eax, %r15d
movq (%r12), %rdi
callq 0x2f9d41
addl %r15d, %eax
incl %eax
cltq
movq 0x20(%rsp), %rbp
imulq (%rbp), %rax
movq %rax, %rdx
shrq $0x3, %rdx
andl $0x7, %eax
cmpq $0x1, %rax
sbbq $-0x1, %rdx
movq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x104009
movl %eax, 0x1c(%rsp)
movq (%r13), %rdi
callq 0x2f9d41
movl %eax, %r14d
movq (%r12), %rdi
callq 0x2f9d41
addl %r14d, %eax
incl %eax
cltq
imulq (%rbp), %rax
movq %rax, %rcx
shrq $0x3, %rcx
andl $0x7, %eax
cmpq $0x1, %rax
sbbl $-0x1, %ecx
cmpl %ecx, 0x1c(%rsp)
jne 0x1d8920
movq %r15, %rdi
callq 0x1040fc
movq %rbx, %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x6dc44
callq 0x6dc7d
callq 0x6dcb6
callq 0x6dcef
callq 0x6df29
callq 0x6dd28
callq 0x6def0
callq 0x6dd61
callq 0x6deb7
callq 0x6dd9a
callq 0x6ddd3
callq 0x6de0c
callq 0x6de7e
callq 0x6de45