// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/tools/gt_encseq_sample.c
// Function: gt_encseq_sample_runner
static int gt_encseq_sample_runner(GT_UNUSED int argc, const char **argv,
                                   int parsed_args, void *tool_arguments,
                                   GT_UNUSED GtError *err)
{
  GtEncseq *encseq;
  GtEncseqSampleOutputInfo output;
  int had_err = 0;
  gt_error_check(err);
  encseq = gt_encseq_sample_get_encseq(argv[parsed_args], tool_arguments, err);
  if (encseq != NULL)
    had_err = gt_encseq_sample_choose_sequences(encseq, tool_arguments, err,
                                                &output);
  else
    had_err = -1;
  if (!had_err)
    had_err = gt_encseq_sample_output(encseq, tool_arguments, &output);
  gt_encseq_delete(encseq);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2048, %rsp           # imm = 0x2048
movq %r8, %r12
movq %rcx, 0x8(%rsp)
movl %edx, %ebp
movq %rsi, %r14
testq %r8, %r8
je 0xa8431
movq %r12, %rdi
callq 0x101a9a
testb %al, %al
jne 0xa89b4
movslq %ebp, %rax
movq (%r14,%rax,8), %r15
testq %r12, %r12
je 0xa844d
movq %r12, %rdi
callq 0x101a9a
testb %al, %al
jne 0xa89b9
testq %r15, %r15
je 0xa89af
callq 0xf36ef
movq %rax, %r13
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x10158e
testb %al, %al
je 0xa8478
movq %r13, %rdi
callq 0xf69b2
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0xf374b
testq %rax, %rax
je 0xa8507
movq %rax, %r14
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rdi
callq 0x1015d5
testb %al, %al
je 0xa84cf
movq %r14, %rdi
callq 0xf02da
movq %rax, %rdi
callq 0xd3c75
testb %al, %al
je 0xa84f6
movq %r14, %rdi
movq %r12, %rsi
callq 0xf6aed
movl %eax, %ebp
movq %r13, %rdi
callq 0xf424d
testl %ebp, %ebp
jne 0xa850f
jmp 0xa84d7
movq %r13, %rdi
callq 0xf424d
movq %r14, %rdi
callq 0xf0b65
testb %al, %al
jne 0xa8512
leaq 0x2ac10a(%rip), %rdi    # 0x3545f4
movq %r15, %rsi
xorl %eax, %eax
callq 0x125448
jmp 0xa8512
leaq 0x2ac0bc(%rip), %rsi    # 0x3545b9
movq %r12, %rdi
xorl %eax, %eax
callq 0x1019cf
movq %r13, %rdi
callq 0xf424d
xorl %r14d, %r14d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testq %r14, %r14
je 0xa898e
movq %r14, %rdi
callq 0xf034b
movq %rax, %r13
movq %r14, %rdi
callq 0xec1e8
movq %rax, %r15
movq %r14, %rdi
callq 0xf035e
cmpq %rax, %r13
jne 0xa8587
movq 0x8(%rsp), %rax
movq 0x18(%rax), %rbx
cmpq $-0x1, %rbx
je 0xa85a5
movq 0x20(%rax), %rbp
cmpq $-0x1, %rbp
je 0xa85a5
movq %rbp, %rax
subq %rbx, %rax
jae 0xa864f
movq %rbx, %rdx
leaq 0x2aca71(%rip), %rsi    # 0x354fe3
xorl %r13d, %r13d
movq %r12, %rdi
movq %rbp, %rcx
xorl %eax, %eax
callq 0x1019cf
jmp 0xa8730
leaq 0x2aca2f(%rip), %rsi    # 0x354fbd
xorl %r13d, %r13d
movq %r12, %rdi
xorl %eax, %eax
callq 0x1019cf
movq 0x8(%rsp), %r12
jmp 0xa873a
xorl %ebp, %ebp
movq 0x8(%rsp), %rbx
movq 0x40(%rbx), %rdx
movq %r15, %rcx
imulq %r13, %rcx
cmpq %rcx, %rdx
jbe 0xa85d8
leaq 0x2aca5a(%rip), %rsi    # 0x35501d
xorl %r13d, %r13d
movq %r12, %rdi
xorl %eax, %eax
callq 0x1019cf
movq %rbx, %r12
jmp 0xa8735
movq %r15, %rdi
callq 0xd90d0
movq %rax, 0x18(%rsp)
movsd 0x40(%rbx), %xmm1
movsd 0x2a82ee(%rip), %xmm2   # 0x3508e0
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movapd 0x2a82f3(%rip), %xmm3   # 0x3508f0
subpd %xmm3, %xmm1
movapd %xmm1, %xmm0
unpckhpd %xmm1, %xmm0            # xmm0 = xmm0[1],xmm1[1]
addsd %xmm1, %xmm0
movq %r13, %xmm1
punpckldq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
subpd %xmm3, %xmm1
movapd %xmm1, %xmm2
unpckhpd %xmm1, %xmm2            # xmm2 = xmm2[1],xmm1[1]
addsd %xmm1, %xmm2
divsd %xmm2, %xmm0
callq 0x17100
cmpq $0x1, %r15
jne 0xa8666
movq %rbx, %r12
movq 0x18(%rsp), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0xd913c
movb $0x1, %r13b
jmp 0xa8735
cmpq %r15, %rbp
jae 0xa870b
incq %rax
movq %rax, %r15
movq %rbx, %rbp
jmp 0xa85a7
movq %rbp, 0x28(%rsp)
cvttsd2si %xmm0, %rax
movq %rax, %rcx
subsd 0x2a86a5(%rip), %xmm0   # 0x350d20
cvttsd2si %xmm0, %rbp
sarq $0x3f, %rcx
andq %rcx, %rbp
orq %rax, %rbp
leaq -0x1(%r15), %r12
movq %r12, %rdi
callq 0x10ae3c
testq %rbp, %rbp
je 0xa86f2
movq %rax, %r13
xorl %ebx, %ebx
movq %r12, 0x20(%rsp)
movq %r12, %rdi
callq 0x10ae3c
cmpq %rbp, %rax
jae 0xa86df
movq %r15, %r12
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0xd94c7
testb %al, %al
jne 0xa86d7
movq %r15, %rdi
movq %r13, %rsi
callq 0xd913c
incq %rbx
movq %r12, %r15
movq 0x20(%rsp), %r12
incq %r13
movq %r13, %rax
xorl %edx, %edx
divq %r15
movq %rdx, %r13
cmpq %rbp, %rbx
jb 0xa86a5
movq 0x8(%rsp), %r12
movq 0x28(%rsp), %rbp
movq 0x18(%rsp), %r15
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movb $0x1, %r13b
jmp 0xa873a
movq %r14, %rdi
callq 0xec1e8
leaq 0x2abf3b(%rip), %rsi    # 0x354655
xorl %r13d, %r13d
movq %r12, %rdi
movq %rbx, %rdx
movq %rbp, %rcx
movq %rax, %r8
xorl %eax, %eax
callq 0x1019cf
movq 0x8(%rsp), %r12
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testb %r13b, %r13b
je 0xa898e
movq 0x8(%r12), %rdi
callq 0x120d23
leaq 0x2a9920(%rip), %rsi    # 0x352074
movq %rax, %rdi
callq 0x17a40
movl %eax, 0x20(%rsp)
movl 0x30(%r12), %eax
movl %eax, 0x14(%rsp)
movq %r15, %rdi
callq 0xd9595
movq %rax, %r13
addq %rbp, %r13
movq %r15, %rdi
callq 0xd95e8
addq %rbp, %rax
movq %rax, 0x38(%rsp)
cmpq %rax, %r13
jae 0xa8984
orl $0x2, 0x14(%rsp)
movq 0x41b74c(%rip), %rbx    # 0x4c3ee8
movq %rbp, 0x28(%rsp)
movq %r15, 0x18(%rsp)
cmpl $0x3, 0x14(%rsp)
jne 0xa87f8
movq %r14, %rdi
callq 0xec1e8
movq %r13, %r12
notq %r12
leaq (%rax,%r12), %rsi
movq %r14, %rdi
callq 0xeffd3
movq %rax, %r15
movq %r14, %rdi
callq 0xec1d8
movq %rax, %rbp
movq %r14, %rdi
callq 0xec1e8
addq %rax, %r12
movq %r14, %rdi
movq %r12, %rsi
movq 0x8(%rsp), %r12
callq 0xefce0
addq %r15, %rax
subq %rax, %rbp
jmp 0xa8814
movq %r14, %rdi
movq %r13, %rsi
callq 0xefce0
movq %rax, %rbp
movq %r14, %rdi
movq %r13, %rsi
callq 0xeffd3
movq %rax, %r15
cmpl $0x0, 0x20(%rsp)
je 0xa88ca
movq %r14, %rdi
callq 0xf0b65
testb %al, %al
je 0xa884d
cmpl $0x3, 0x14(%rsp)
jne 0xa887a
movq %r14, %rdi
callq 0xec1e8
movq %r13, %rdx
notq %rdx
addq %rax, %rdx
movq %r14, %rdi
leaq 0x30(%rsp), %rsi
jmp 0xa8885
movl $0x2000, %esi           # imm = 0x2000
leaq 0x40(%rsp), %r12
movq %r12, %rdi
leaq 0x321daf(%rip), %rdx    # 0x3ca610
movq %r13, %rcx
xorl %eax, %eax
callq 0x17c60
movq %r12, %rdi
callq 0x172f0
movq %rax, 0x30(%rsp)
jmp 0xa888d
movq %r14, %rdi
leaq 0x30(%rsp), %rsi
movq %r13, %rdx
callq 0xf079f
movq %rax, %r12
testq %r12, %r12
je 0xa89aa
movq (%rbx), %rsi
movl $0x3e, %edi
callq 0x1255d6
movq 0x30(%rsp), %rdx
movq (%rbx), %rcx
movl $0x1, %esi
movq %r12, %rdi
callq 0x125658
movq (%rbx), %rsi
movl $0xa, %edi
callq 0x1255d6
movq 0x8(%rsp), %r12
cmpb $0x1, (%r12)
jne 0xa88fb
testq %r15, %r15
je 0xa8933
movl 0x30(%r12), %edx
movq %r14, %rdi
movq %rbp, %rsi
callq 0xec478
movsbl %al, %edi
movq (%rbx), %rsi
callq 0x1255d6
incq %rbp
decq %r15
jne 0xa88d6
jmp 0xa8933
movl 0x30(%r12), %esi
movq %r14, %rdi
movq %rbp, %rdx
callq 0xed76d
movq %rax, %rbp
testq %r15, %r15
je 0xa892b
movq %rbp, %rdi
callq 0xed12b
movsbl %al, %edi
movq (%rbx), %rsi
callq 0x1255d6
decq %r15
jne 0xa8913
movq %rbp, %rdi
callq 0xed7bf
movq 0x28(%rsp), %rbp
subq %rbp, %r13
movq 0x18(%rsp), %r15
movq %r15, %rdi
movq %r13, %rsi
callq 0xd95f8
movq %rax, %r13
addq %rbp, %r13
movl $0xa, %edi
cmpl $0x0, 0x20(%rsp)
jne 0xa8971
cmpq 0x38(%rsp), %r13
jae 0xa8971
movq 0x10(%r12), %rdi
callq 0x120d23
movsbl (%rax), %edi
movq (%rbx), %rsi
callq 0x1255d6
cmpq 0x38(%rsp), %r13
jb 0xa87a6
movq %r15, %rdi
callq 0xd97e0
xorl %ebx, %ebx
movq %r14, %rdi
callq 0xee90c
movl %ebx, %eax
addq $0x2048, %rsp           # imm = 0x2048
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1a79e
callq 0x1a7d7
callq 0x1a72c
callq 0x1a765
nop