// File: /workspace/github_c_makefile_star2_O1/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 %rcx, 0x28(%rsp)
movl %edx, %ebp
movq %rsi, %rbx
movq %r8, (%rsp)
testq %r8, %r8
je 0xa99fc
movq (%rsp), %rdi
callq 0x101a9a
testb %al, %al
jne 0xa9dc9
cmpq $0x0, 0x28(%rsp)
je 0xa9dc4
movslq %ebp, %rax
leaq (%rbx,%rax,8), %rsi
movl $0x1, %edi
callq 0x14d00b
leaq 0x18(%rsp), %rbx
movq %rax, 0x20(%rsp)
movq %rax, %rdi
movq %rbx, %rsi
movq (%rsp), %rdx
callq 0x16ace8
movl %eax, %r14d
testl %eax, %eax
sete %al
movq (%rbx), %rbx
testq %rbx, %rbx
setne %cl
andb %al, %cl
cmpb $0x1, %cl
jne 0xa9d99
movq 0x28(%rsp), %rax
movq (%rax), %r14
cmpq $0x0, (%rsp)
je 0xa9a6e
movq (%rsp), %rdi
callq 0x101a9a
testb %al, %al
jne 0xa9dba
testq %r14, %r14
je 0xa9db5
callq 0x1492fa
movq %rax, %rdi
movq %rbx, %rsi
callq 0x14b839
testq %rax, %rax
je 0xa9d67
movq %rbx, %rdi
callq 0x149615
movq %rax, %rdi
callq 0x14b1a8
movq %rax, 0x38(%rsp)
movq %rax, %rdi
callq 0x14b33e
testq %rax, %rax
je 0xa9d5d
movq %rax, %rdi
leaq 0x2abe85(%rip), %rsi    # 0x355945
callq 0x14918c
testq %rax, %rax
je 0xa9d1e
movq %rax, %rbx
cmpq $0x0, (%rsp)
je 0xa9ae9
movq (%rsp), %rdi
callq 0x101a9a
testb %al, %al
jne 0xa9dbf
callq 0x11f0ac
movq %rax, %r13
callq 0x1208f8
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
callq 0xe8760
movq %rax, %rbx
movq %rax, %rdi
callq 0x172f0
movq %r13, %rdi
movq %rbx, 0x30(%rsp)
movq %rbx, %rsi
movq %rax, %rdx
movl $0x2c, %ecx
callq 0x11f0c7
movq %r13, %rdi
callq 0x11f2e4
testq %rax, %rax
je 0xa9cf6
xorl %ebx, %ebx
movq %r14, 0x58(%rsp)
movq %r13, 0x50(%rsp)
movq %r13, %rdi
movq %rbx, 0x48(%rsp)
movq %rbx, %rsi
callq 0x11f2a8
movq %rax, %rbx
callq 0x11f0ac
movq %rax, %r15
movq %rbx, %rdi
callq 0x172f0
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x11f0c7
movq %r15, %rdi
xorl %esi, %esi
callq 0x11f2a8
movq %rax, %rbx
movq %r15, 0x10(%rsp)
movq %r15, %rdi
xorl %esi, %esi
callq 0x11f2a8
movq %rax, %rdi
callq 0x172f0
movq 0x8(%rsp), %rdi
movq %rbx, %rsi
movq %rax, %rdx
movq (%rsp), %rcx
callq 0x14c79e
testl %eax, %eax
jne 0xa9d28
movq %r14, %rdi
callq 0x121e78
testq %rax, %rax
movq 0x8(%rsp), %rbx
je 0xa9cd3
movq $0x0, 0x40(%rsp)
xorl %esi, %esi
movq %r14, %rdi
movq %rsi, 0x60(%rsp)
callq 0x121cfa
movq %rax, %rdi
movq (%rsp), %rsi
callq 0xd69c0
movq %rax, %r15
testq %rax, %rax
je 0xa9c8c
movq %r15, %rdi
callq 0xd75d2
testq %rax, %rax
je 0xa9c78
xorl %r13d, %r13d
movq %r15, %rdi
movq %r13, %rsi
callq 0xd71c2
movq %rax, %rbp
movq %r15, 0x68(%rsp)
movq %r13, 0x70(%rsp)
movq %rax, %rdi
callq 0x172f0
movq %rax, %r12
movq %rbx, %rdi
callq 0x120d23
movq %r15, %r14
movq %rax, %r15
movq %rbx, %rdi
callq 0x120d4c
movq %rbp, %rdi
leaq 0x68(%rsp), %r9
movq %r12, %rsi
leaq 0x174(%rip), %r8        # 0xa9dce
movq %r15, %rdx
movq %r14, %r15
movq %rax, %rcx
callq 0x186654
incq %r13
movq %r14, %rdi
callq 0xd75d2
cmpq %rax, %r13
jb 0xa9c0f
movq %r15, %rdi
callq 0xd6f28
movq 0x58(%rsp), %r14
movq 0x50(%rsp), %r13
jmp 0xa9c96
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x40(%rsp)
testq %r15, %r15
movq 0x60(%rsp), %rax
je 0xa9cc0
incq %rax
movq %r14, %rdi
movq %r13, %r15
movq %rax, %r13
callq 0x121e78
movq %r13, %rsi
movq %r15, %r13
cmpq %rax, %rsi
jb 0xa9bda
movq 0x10(%rsp), %rdi
callq 0x11f2f4
cmpl $0x0, 0x40(%rsp)
je 0xa9cdd
jmp 0xa9d37
movq 0x10(%rsp), %rdi
callq 0x11f2f4
movq 0x48(%rsp), %rbx
incq %rbx
movq %r13, %rdi
callq 0x11f2e4
cmpq %rax, %rbx
jb 0xa9b43
movq 0x30(%rsp), %rdi
leaq 0x2abb1d(%rip), %rsi    # 0x35581f
movl $0x91, %edx
callq 0x109670
movq 0x8(%rsp), %rdi
callq 0x121b03
movq %r13, %rdi
callq 0x11f2f4
movq 0x38(%rsp), %rdi
jmp 0xa9aa8
movq 0x10(%rsp), %rdi
callq 0x11f2f4
movq 0x8(%rsp), %rbx
movq 0x30(%rsp), %rdi
leaq 0x2abadc(%rip), %rsi    # 0x35581f
movl $0x91, %edx
callq 0x109670
movq %rbx, %rdi
callq 0x121b03
movq %r13, %rdi
callq 0x11f2f4
movq 0x38(%rsp), %rdi
callq 0x14b3d0
movq 0x18(%rsp), %rdi
callq 0x14c43a
movq 0x20(%rsp), %rdi
leaq 0x18(%rsp), %rsi
movq (%rsp), %rdx
callq 0x16ace8
movl %eax, %r14d
testl %eax, %eax
jne 0xa9d99
movq 0x18(%rsp), %rbx
testq %rbx, %rbx
jne 0xa9a4e
movq 0x20(%rsp), %rdi
callq 0x16ac6e
movl %r14d, %eax
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1acec
callq 0x1ac7c
callq 0x1acb5
callq 0x1ad25
callq 0x1ac43