// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_extracttarget.c
// Function: gt_extracttarget_runner
static int gt_extracttarget_runner(GT_UNUSED int argc, const char **argv,
                                   int parsed_args, void *tool_arguments,
                                   GtError *err)
{
  ExtractTargetArguments *arguments = tool_arguments;
  GtNodeStream *gff3_in_stream;
  GtGenomeNode *gn;
  int had_err;

  gt_error_check(err);
  gt_assert(arguments);

  gff3_in_stream = gt_gff3_in_stream_new_unsorted(1, argv + parsed_args);

  while (!(had_err = gt_node_stream_next(gff3_in_stream, &gn, err)) && gn) {
    had_err = extracttarget_from_node(gn, arguments->seqfiles, err);
    gt_genome_node_delete(gn);
  }

  gt_node_stream_delete(gff3_in_stream);

  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %r8, %r12
movq %rcx, 0x18(%rsp)
movl %edx, %ebp
movq %rsi, %rbx
testq %r8, %r8
je 0xa76a2
movq %r12, %rdi
callq 0xfcc32
testb %al, %al
jne 0xa7a4f
cmpq $0x0, 0x18(%rsp)
je 0xa7a4a
movslq %ebp, %rax
leaq (%rbx,%rax,8), %rsi
movl $0x1, %edi
callq 0x145cdf
movq %rsp, %rbx
movq %rax, 0x10(%rsp)
movq %rax, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x162e68
movl %eax, %r14d
testl %eax, %eax
sete %al
movq (%rbx), %rbx
testq %rbx, %rbx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa7a1f
movq %r12, 0x48(%rsp)
movq 0x18(%rsp), %rax
movq (%rax), %r14
testq %r12, %r12
je 0xa7713
movq %r12, %rdi
callq 0xfcc32
testb %al, %al
jne 0xa7a40
testq %r14, %r14
je 0xa7a3b
callq 0x1420be
movq %rax, %rdi
movq %rbx, %rsi
callq 0x1445d3
testq %rax, %rax
je 0xa79f2
movq %rbx, %rdi
callq 0x1423dd
movq %rax, %rdi
callq 0x143f54
movq %rax, %r15
movq %rax, %rdi
callq 0x1440ea
testq %rax, %rax
je 0xa79ea
movq %r14, 0x50(%rsp)
movq %r15, 0x8(%rsp)
movq %rax, %rdi
leaq 0x2a51a9(%rip), %rsi    # 0x34c916
callq 0x141f50
testq %rax, %rax
je 0xa79a0
movq %rax, %rbx
testq %r12, %r12
je 0xa7793
movq %r12, %rdi
callq 0xfcc32
testb %al, %al
jne 0xa7a45
callq 0x119478
movq %rax, %r15
callq 0x11ac6c
movq %rax, %r13
movq %rbx, %rdi
callq 0xe4290
movq %rax, %rbx
movq %rax, %rdi
callq 0x172f0
movq %r15, %rdi
movq %rbx, 0x20(%rsp)
movq %rbx, %rsi
movq %rax, %rdx
movl $0x2c, %ecx
callq 0x119493
movq %r15, %rdi
callq 0x1196b0
testq %rax, %rax
je 0xa7975
xorl %ebx, %ebx
movq %r15, 0x28(%rsp)
movq %r13, 0x38(%rsp)
movq %r15, %rdi
movq %rbx, 0x40(%rsp)
movq %rbx, %rsi
callq 0x119674
movq %rax, %rbx
callq 0x119478
movq %rax, %r15
movq %rbx, %rdi
callq 0x172f0
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x119493
movq %r15, %rdi
xorl %esi, %esi
callq 0x119674
movq %rax, %rbx
movq %r15, 0x30(%rsp)
movq %r15, %rdi
xorl %esi, %esi
callq 0x119674
movq %rax, %rdi
callq 0x172f0
movq %r13, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq %r12, %rcx
callq 0x1454f2
testl %eax, %eax
jne 0xa79b3
movq %r14, %rdi
callq 0x11c131
testq %rax, %rax
je 0xa794d
xorl %ebx, %ebx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x11bfb3
movq %rax, %rdi
movq %r12, %rsi
callq 0xd4388
testq %rax, %rax
je 0xa79b3
movq %rax, %r15
movq %rbx, 0x58(%rsp)
movq %rax, %rdi
callq 0xd4fc8
testq %rax, %rax
leaq 0x68(%rsp), %r12
je 0xa791d
xorl %r13d, %r13d
movq %r15, %rdi
movq %r13, %rsi
callq 0xd4bb7
movq %rax, %rbp
movq %r15, 0x68(%rsp)
movq %r13, 0x70(%rsp)
movq %rax, %rdi
callq 0x172f0
movq %rax, 0x60(%rsp)
movq %r15, %r14
movq 0x38(%rsp), %r15
movq %r15, %rdi
callq 0x11b0a1
movq %rax, %rbx
movq %r15, %rdi
movq %r14, %r15
callq 0x11b0ca
movq %rbp, %rdi
leaq 0x15a(%rip), %r8        # 0xa7a54
movq 0x60(%rsp), %rsi
movq %rbx, %rdx
movq %rax, %rcx
movq %r12, %r9
callq 0x17e068
incq %r13
movq %r14, %rdi
callq 0xd4fc8
cmpq %rax, %r13
jb 0xa78ad
movq %r15, %rdi
callq 0xd491d
movq 0x58(%rsp), %rbx
incq %rbx
movq 0x50(%rsp), %r14
movq %r14, %rdi
callq 0x11c131
cmpq %rax, %rbx
movq 0x48(%rsp), %r12
movq 0x38(%rsp), %r13
jb 0xa7871
movq 0x30(%rsp), %rdi
callq 0x1196c0
movq 0x40(%rsp), %rbx
incq %rbx
movq 0x28(%rsp), %r15
movq %r15, %rdi
callq 0x1196b0
cmpq %rax, %rbx
jb 0xa77eb
movq 0x20(%rsp), %rdi
leaq 0x2a4e6f(%rip), %rsi    # 0x34c7f0
movl $0x91, %edx
callq 0x1045eb
movq %r13, %rdi
callq 0x11bdbf
movq %r15, %rdi
callq 0x1196c0
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x1440ea
testq %rax, %rax
jne 0xa7763
jmp 0xa79ea
movq 0x30(%rsp), %rdi
callq 0x1196c0
movq 0x20(%rsp), %rdi
leaq 0x2a4e27(%rip), %rsi    # 0x34c7f0
movl $0x91, %edx
callq 0x1045eb
movq %r13, %rdi
callq 0x11bdbf
movq 0x28(%rsp), %rdi
callq 0x1196c0
movq 0x8(%rsp), %r15
movq %r15, %rdi
callq 0x14417c
movq (%rsp), %rdi
callq 0x1451a0
movq 0x10(%rsp), %rdi
movq %rsp, %rsi
movq %r12, %rdx
callq 0x162e68
movl %eax, %r14d
testl %eax, %eax
jne 0xa7a1f
movq (%rsp), %rbx
testq %rbx, %rbx
jne 0xa76f6
movq 0x10(%rsp), %rdi
callq 0x162dee
movl %r14d, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1ac29
callq 0x1abb9
callq 0x1abf2
callq 0x1ac62
callq 0x1ab80