// File: /workspace/github_c_makefile_star2_O3/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 0xc3de0
movq %rbx, %rdi
callq 0xfcc32
testb %al, %al
jne 0xc417e
testq %r15, %r15
je 0xc4179
callq 0xef0cd
movq %rax, %r12
movslq %ebp, %r13
movq (%r14,%r13,8), %rsi
movq %rax, %rdi
movq %rbx, %rdx
callq 0xef129
movq %rax, %rbx
movq %r12, %rdi
callq 0xefbe3
testq %rbx, %rbx
je 0xc4035
movq %rbx, %rdi
callq 0xec569
testb %al, %al
jne 0xc3e35
movq (%r14,%r13,8), %rsi
leaq 0x294e87(%rip), %rdi    # 0x358cb5
xorl %eax, %eax
callq 0x11f68c
movq %rbx, %rdi
callq 0xe7bac
movq %rax, %r14
cmpb $0x1, (%r15)
jne 0xc3e68
testq %r14, %r14
je 0xc4035
decq %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0xc4192
addq $-0x1, %r14
jb 0xc3e52
jmp 0xc4035
cmpb $0x0, 0x3(%r15)
jne 0xc3e88
cmpb $0x0, 0x4(%r15)
jne 0xc3e88
cmpb $0x0, 0x5(%r15)
jne 0xc3e88
cmpb $0x1, 0x6(%r15)
jne 0xc4056
movq %rbx, %rdi
callq 0xe7bac
movq %rax, %r13
leaq (,%r14,8), %rdi
leaq 0x294bae(%rip), %rsi    # 0x358a50
movl $0x129, %edx            # imm = 0x129
callq 0x104226
movq %rax, %r12
cmpb $0x0, 0x3(%r15)
je 0xc3ef8
testq %r12, %r12
je 0xc4183
movq $0x0, (%r12)
cmpq $0x2, %r14
jb 0xc4005
movl $0x1, %r15d
movq %r15, %rdi
callq 0x105d85
movq (%r12,%rax,8), %rcx
movq %rcx, (%r12,%r15,8)
movq %r15, (%r12,%rax,8)
incq %r15
cmpq %r15, %r14
jne 0xc3ed7
jmp 0xc400a
testq %r13, %r13
je 0xc3f92
leaq 0x1(%r13), %rax
andq $-0x2, %rax
leaq -0x1(%r13), %rcx
movq %rcx, %xmm0
pshufd $0x44, %xmm0, %xmm0     # xmm0 = xmm0[0,1,0,1]
movdqa 0x294b01(%rip), %xmm1   # 0x358a20
xorl %ecx, %ecx
movdqa 0x294b07(%rip), %xmm2   # 0x358a30
pxor %xmm2, %xmm0
pcmpeqd %xmm3, %xmm3
movdqa 0x294b07(%rip), %xmm4   # 0x358a40
movdqa %xmm1, %xmm5
pxor %xmm2, %xmm5
movdqa %xmm5, %xmm6
pcmpgtd %xmm0, %xmm6
pcmpeqd %xmm0, %xmm5
pshufd $0xf5, %xmm5, %xmm7     # xmm7 = xmm5[1,1,3,3]
pand %xmm6, %xmm7
pshufd $0xf5, %xmm6, %xmm5     # xmm5 = xmm6[1,1,3,3]
por %xmm7, %xmm5
movd %xmm5, %edx
notl %edx
testb $0x1, %dl
je 0xc3f6e
movq %rcx, (%r12,%rcx,8)
pxor %xmm3, %xmm5
pextrw $0x4, %xmm5, %edx
testb $0x1, %dl
je 0xc3f85
leaq 0x1(%rcx), %rdx
movq %rdx, 0x8(%r12,%rcx,8)
addq $0x2, %rcx
paddq %xmm4, %xmm1
cmpq %rcx, %rax
jne 0xc3f39
cmpb $0x1, 0x6(%r15)
jne 0xc3fad
movq %rbx, %rdi
callq 0xeac59
movq %rax, %rbp
leaq 0x2c4(%rip), %r8        # 0xc426f
jmp 0xc3fd2
cmpb $0x0, 0x4(%r15)
je 0xc3fbd
leaq 0x2d8(%rip), %r8        # 0xc4293
jmp 0xc3fcf
cmpb $0x0, 0x5(%r15)
je 0xc4188
leaq 0x339(%rip), %r8        # 0xc4308
movq %rbx, %rbp
testq %rbp, %rbp
je 0xc4005
movl $0x8, %edx
movq %r12, %rdi
movq %r13, %rsi
movq %rbp, %rcx
callq 0x10c638
cmpb $0x1, 0x6(%r15)
jne 0xc4005
leaq 0x294a58(%rip), %rsi    # 0x358a50
movq %rbp, %rdi
movl $0x154, %edx            # imm = 0x154
callq 0x1045eb
testq %r14, %r14
je 0xc4021
xorl %r15d, %r15d
movq (%r12,%r15,8), %rdi
movq %rbx, %rsi
callq 0xc4192
incq %r15
cmpq %r15, %r14
jne 0xc400d
leaq 0x294a28(%rip), %rsi    # 0x358a50
movq %r12, %rdi
movl $0x15b, %edx            # imm = 0x15B
callq 0x1045eb
xorl %ebp, %ebp
cmpq $0x1, %rbx
sbbl %ebp, %ebp
movq %rbx, %rdi
callq 0xea375
movl %ebp, %eax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
cmpb $0x0, 0x1(%r15)
jne 0xc4068
cmpb $0x0, 0x2(%r15)
je 0xc418d
leaq -0x1(%r14), %r13
movq %rbx, %rdi
movq %r13, %rsi
callq 0xeb6ee
movq %r14, %rdi
movq %rax, %rsi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0x1fc578
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
xorl %eax, %eax
movq %rax, 0x20(%rbp)
movq %rax, 0x28(%rbp)
movabsq $0x10000000000, %rax    # imm = 0x10000000000
movq %rax, 0x30(%rbp)
movq %r12, %rdi
movq %rbx, %rsi
callq 0x1fca77
movq %rbx, %rdi
callq 0xe7bac
xorl %ecx, %ecx
movq %rcx, 0x18(%rsp)
pxor %xmm0, %xmm0
movdqu %xmm0, 0x8(%rsp)
movq %rbp, (%rsp)
movq %r12, %rdi
movq %rax, %rsi
movq %rbx, %rdx
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, %r9d
callq 0x1e4c41
cmpb $0x0, 0x1(%r15)
je 0xc413e
testq %r14, %r14
je 0xc416a
xorl %r15d, %r15d
movq %r12, %rdi
movq %r15, %rsi
callq 0x1fc7ed
movq %rbx, %rdi
movq %rax, %rsi
callq 0xeb655
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc4192
incq %r15
cmpq %r15, %r14
jne 0xc4113
jmp 0xc416a
testq %r14, %r14
je 0xc416a
movq %r12, %rdi
movq %r13, %rsi
callq 0x1fc7ed
movq %rbx, %rdi
movq %rax, %rsi
callq 0xeb655
movq %rax, %rdi
movq %rbx, %rsi
callq 0xc4192
addq $-0x1, %r13
jb 0xc4143
movq %r12, %rdi
xorl %esi, %esi
callq 0x1fc765
jmp 0xc4035
callq 0x1f1f6
callq 0x1f112
callq 0x1f1bd
callq 0x1f184
callq 0x1f14b