// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/tools/gt_seqorder.c
// Function: gt_seqorder_runner
static int gt_seqorder_runner(GT_UNUSED int argc,
                              const char **argv,
                              int parsed_args,
                              void *tool_arguments,
                              GtError *err)
{
  GtSeqorderArguments *arguments = tool_arguments;
  int had_err = 0;
  GtEncseq *encseq;
  GtEncseqLoader *loader;

  gt_error_check(err);
  gt_assert(arguments != NULL);

  /* load encseq */
  loader = gt_encseq_loader_new();
  encseq = gt_encseq_loader_load(loader, argv[parsed_args], err);
  gt_encseq_loader_delete(loader);
  if (encseq == NULL)
  {
    had_err = -1;
  }
  if (had_err == 0 && !gt_encseq_has_description_support(encseq))
  {
    gt_warning("%s has no description support", argv[parsed_args]);
  }
  if (!had_err)
  {
    gt_seqorder_handle_cases(encseq,arguments);
  }
  gt_encseq_delete(encseq);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %r8, %rbx
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
testq %r8, %r8
je 0x4800e
movq %rbx, %rdi
callq 0x89eb7
testb %al, %al
jne 0x48328
testq %r15, %r15
je 0x482fa
callq 0x791cd
movq %rax, %r12
movslq %ebp, %r13
movq (%r14,%r13,8), %rsi
movq %rax, %rdi
movq %rbx, %rdx
callq 0x7921d
movq %rax, %rbx
movq %r12, %rdi
callq 0x79f01
testq %rbx, %rbx
je 0x481be
movq %rbx, %rdi
callq 0x7609a
testb %al, %al
jne 0x48063
movq (%r14,%r13,8), %rsi
leaq 0x2b0c31(%rip), %rdi    # 0x2f8c8d
xorl %eax, %eax
callq 0xb2cd0
movq %rbx, %rdi
callq 0x705a1
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0x4808e
decq %r14
cmpq $-0x1, %r14
je 0x481be
movq %r14, %rdi
movq %rbx, %rsi
callq 0x483ed
jmp 0x48074
cmpb $0x0, 0x3(%r15)
jne 0x480ae
cmpb $0x0, 0x4(%r15)
jne 0x480ae
cmpb $0x0, 0x5(%r15)
jne 0x480ae
cmpb $0x1, 0x6(%r15)
jne 0x481df
movq %rbx, %rdi
callq 0x705a1
movq %rax, %r13
leaq (,%r14,8), %rdi
leaq 0x2b0960(%rip), %rsi    # 0x2f8a28
movl $0x129, %edx            # imm = 0x129
callq 0x93160
movq %rax, %r12
cmpb $0x0, 0x3(%r15)
je 0x48110
testq %r12, %r12
je 0x48360
andq $0x0, (%r12)
pushq $0x1
popq %r15
cmpq %r14, %r15
jae 0x48191
movq %r15, %rdi
callq 0x955fa
movq (%r12,%rax,8), %rcx
movq %rcx, (%r12,%r15,8)
movq %r15, (%r12,%rax,8)
incq %r15
jmp 0x480ee
xorl %eax, %eax
cmpq %rax, %r13
je 0x48120
movq %rax, (%r12,%rax,8)
incq %rax
jmp 0x48112
cmpb $0x1, 0x6(%r15)
jne 0x4813b
movq %rbx, %rdi
callq 0x73fa8
movq %rax, %rbp
leaq 0x384(%rip), %r8        # 0x484bd
jmp 0x48160
cmpb $0x0, 0x4(%r15)
je 0x4814b
leaq 0x396(%rip), %r8        # 0x484df
jmp 0x4815d
cmpb $0x0, 0x5(%r15)
je 0x4838e
leaq 0x3f5(%rip), %r8        # 0x48552
movq %rbx, %rbp
testq %rbp, %rbp
je 0x48191
pushq $0x8
popq %rdx
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rcx
callq 0x9d5a0
cmpb $0x1, 0x6(%r15)
jne 0x48191
leaq 0x2b08a4(%rip), %rsi    # 0x2f8a28
movq %rbp, %rdi
movl $0x154, %edx            # imm = 0x154
callq 0x936f9
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x481aa
movq (%r12,%r15,8), %rdi
movq %rbx, %rsi
callq 0x483ed
incq %r15
jmp 0x48194
leaq 0x2b0877(%rip), %rsi    # 0x2f8a28
movq %r12, %rdi
movl $0x15b, %edx            # imm = 0x15B
callq 0x936f9
xorl %ebp, %ebp
cmpq $0x1, %rbx
sbbl %ebp, %ebp
movq %rbx, %rdi
callq 0x735fd
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0x1(%r15)
jne 0x481f1
cmpb $0x0, 0x2(%r15)
je 0x483bc
leaq -0x1(%r14), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0x74d9c
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x1af288
movq %rax, %r12
leaq 0x20(%rsp), %rbp
movq $0x1, (%rbp)
movq $0x3, 0x8(%rbp)
movq $0x3e8, 0x10(%rbp)      # imm = 0x3E8
movq $0xfa0, 0x18(%rbp)      # imm = 0xFA0
andq $0x0, 0x20(%rbp)
movabsq $0x10000000000, %rax    # imm = 0x10000000000
movq %rax, 0x30(%rbp)
andq $0x0, 0x28(%rbp)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1afb15
movq %rbx, %rdi
callq 0x705a1
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rsp)
andq $0x0, 0x18(%rsp)
movq %rbp, (%rsp)
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x193aaa
cmpb $0x0, 0x1(%r15)
je 0x482bf
xorl %r15d, %r15d
cmpq %r15, %r14
je 0x482eb
movq %r12, %rdi
movq %r15, %rsi
callq 0x1af5f2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x74c9d
movq %rax, %rdi
movq %rbx, %rsi
callq 0x483ed
incq %r15
jmp 0x48294
cmpq $-0x1, %r13
je 0x482eb
movq %r12, %rdi
movq %r13, %rsi
callq 0x1af5f2
movq %rbx, %rdi
movq %rax, %rsi
callq 0x74c9d
movq %rax, %rdi
movq %rbx, %rsi
callq 0x483ed
decq %r13
jmp 0x482bf
movq %r12, %rdi
xorl %esi, %esi
callq 0x1af510
jmp 0x481be
movq 0x3efc67(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29cd08(%rip), %rsi    # 0x2e5013
leaq 0x29df5a(%rip), %rdx    # 0x2e626c
leaq 0x2b0961(%rip), %rcx    # 0x2f8c7a
leaq 0x2b0708(%rip), %r8     # 0x2f8a28
movl $0x184, %r9d            # imm = 0x184
jmp 0x48354
movq 0x3efc39(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29ccda(%rip), %rsi    # 0x2e5013
leaq 0x29ce7f(%rip), %rdx    # 0x2e51bf
leaq 0x2b0933(%rip), %rcx    # 0x2f8c7a
leaq 0x2b06da(%rip), %r8     # 0x2f8a28
movl $0x183, %r9d            # imm = 0x183
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x3efc01(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29cca2(%rip), %rsi    # 0x2e5013
leaq 0x2b0972(%rip), %rdx    # 0x2f8cea
leaq 0x2b097b(%rip), %rcx    # 0x2f8cfa
leaq 0x2b06a2(%rip), %r8     # 0x2f8a28
movl $0xac, %r9d
jmp 0x48354
movq 0x3efbd3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29cc74(%rip), %rsi    # 0x2e5013
leaq 0x2de646(%rip), %rdx    # 0x3269ec
leaq 0x2b08fe(%rip), %rcx    # 0x2f8cab
leaq 0x2b0674(%rip), %r8     # 0x2f8a28
movl $0x147, %r9d            # imm = 0x147
jmp 0x48354
movq 0x3efba5(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x29cc46(%rip), %rsi    # 0x2e5013
leaq 0x2b08f0(%rip), %rdx    # 0x2f8cc4
leaq 0x2b08d0(%rip), %rcx    # 0x2f8cab
leaq 0x2b0646(%rip), %r8     # 0x2f8a28
movl $0x15e, %r9d            # imm = 0x15E
jmp 0x48354