// File: /workspace/github_c_makefile_star2_O3/genometools[P]genometools/src/tools/gt_condenseq_hmmsearch.c
// Function: gt_condenseq_hmmsearch_runner
static int gt_condenseq_hmmsearch_runner(GT_UNUSED int argc,
                                         GT_UNUSED const char **argv,
                                         GT_UNUSED int parsed_args,
                                         void *tool_arguments,
                                         GtError *err)
{
  GtCondenseqHmmsearchArguments *arguments = tool_arguments;
  GtCondenseq *ces = NULL;
  GtStr *table_filename = NULL;
  GtLogger *logger = NULL;
  GtTimer *timer = NULL;
  int had_err = 0;

  logger = gt_logger_new(gt_condenseq_search_arguments_verbose(arguments->csa),
                         GT_LOGGER_DEFLT_PREFIX, stderr);
  if (gt_showtime_enabled()) {
    timer = gt_timer_new_with_progress_description("initialization");
    gt_timer_start(timer);
  }

  gt_error_check(err);
  gt_assert(arguments);

  if (gt_str_length(arguments->outtable_filename) != 0) {
    table_filename = gt_str_clone(arguments->outtable_filename);
    gt_str_append_cstr(table_filename, "tabout.tsv");
  }
  else {
    table_filename = gt_condenseq_search_arguments_db_filename(arguments->csa,
                                                               "_tabout.tsv");
  }
  if (!had_err) {
    struct stat buf;
    if (stat(gt_str_get(table_filename), &buf) == 0 && !arguments->force_ow) {
      gt_error_set(err, "file %s already exists, use option -force_ow to "
                   "overwrite or delete", gt_str_get(table_filename));
      had_err = -1;
    }
  }

  if (timer != NULL)
    gt_timer_show_progress(timer, "read condenseq", stderr);
  if (!had_err) {
    ces = gt_condenseq_search_arguments_read_condenseq(arguments->csa,
                                                       logger, err);
    if (ces == NULL)
      had_err = -1;
  }
  if (!had_err) {
    had_err =
      hmmsearch_call_coarse_search(ces,
                                   gt_str_get(arguments->hmmsearch_path),
                                   gt_str_get(table_filename),
                                   gt_str_get(arguments->hmm),
                                   arguments->hmm_num_threads,
                                   timer, logger, err);
  }
  if (!had_err) {
    had_err = hmmsearch_process_coarse_hits(gt_str_get(table_filename),
                                            ces, arguments,
                                            timer, logger, err);
  }

  if (timer != NULL)
    gt_timer_show_progress(timer, "cleanup", stderr);
  gt_condenseq_delete(ces);
  gt_logger_delete(logger);
  gt_str_delete(table_filename);

  if (timer != NULL)
    gt_timer_show_progress_final(timer, stderr);
  gt_timer_delete(timer);
  return had_err;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %r8, %r12
movq %rcx, %r13
movq (%rcx), %rdi
callq 0x130d6d
movq 0x4194de(%rip), %rcx    # 0x4b8f80
movq (%rcx), %rdx
movzbl %al, %edi
leaq 0x2a6e25(%rip), %rsi    # 0x3468d4
callq 0x103e40
movq %rax, %r14
callq 0x119160
testb %al, %al
je 0x9fad9
leaq 0x2b8634(%rip), %rdi    # 0x3580fb
callq 0x11c986
movq %rax, %rbp
movq %rax, %rdi
callq 0x11c9e3
jmp 0x9fadb
xorl %ebp, %ebp
testq %r12, %r12
je 0x9faf0
movq %r12, %rdi
callq 0xfcc32
testb %al, %al
jne 0xa0369
movq 0x18(%r13), %rdi
callq 0x11b0ca
testq %rax, %rax
je 0x9fb1b
movq 0x18(%r13), %rdi
callq 0x11b191
movq %rax, %r15
leaq 0x2a9ad5(%rip), %rsi    # 0x3495e6
movq %rax, %rdi
callq 0x11acf3
jmp 0x9fb2e
movq (%r13), %rdi
leaq 0x2a9abf(%rip), %rsi    # 0x3495e5
callq 0x130dd4
movq %rax, %r15
movq %r15, %rdi
callq 0x11b0a1
leaq 0x78(%rsp), %rsi
movq %rax, %rdi
callq 0x18000
movb $0x1, %bl
testl %eax, %eax
jne 0x9fb6e
cmpb $0x0, 0x28(%r13)
jne 0x9fb6e
movq %r15, %rdi
callq 0x11b0a1
leaq 0x2a9a92(%rip), %rsi    # 0x3495f1
xorl %ebx, %ebx
movq %r12, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0xfcb67
testq %rbp, %rbp
je 0x9fb8c
movq 0x419406(%rip), %rax    # 0x4b8f80
movq (%rax), %rdx
leaq 0x2a9ab1(%rip), %rsi    # 0x349635
movq %rbp, %rdi
callq 0x11cc90
testb %bl, %bl
je 0x9fcb7
movq (%r13), %rdi
movq %r14, %rsi
movq %r12, %rdx
callq 0x130d46
testq %rax, %rax
je 0x9fcb7
movq %rax, %rbx
movq %r12, 0x30(%rsp)
movq %r14, 0x18(%rsp)
movq %rbp, 0x38(%rsp)
movq 0x10(%r13), %rdi
callq 0x11b0a1
movq %rax, %r14
movq %r15, 0x48(%rsp)
movq %r15, %rdi
callq 0x11b0a1
movq %rax, 0x8(%rsp)
movq 0x8(%r13), %rdi
callq 0x11b0a1
movq %rax, 0x10(%rsp)
movl 0x24(%r13), %ebp
movq $0x0, 0x78(%rsp)
movq %rbx, %rdi
callq 0x12cf86
movq %rax, %r12
callq 0x11ac6c
testq %r12, %r12
je 0xa036e
movq %rax, %r15
movq %rbx, 0x28(%rsp)
movq 0x38(%rsp), %rdi
testq %rdi, %rdi
je 0x9fc38
movq 0x419357(%rip), %rax    # 0x4b8f80
movq (%rax), %rdx
leaq 0x2a9a41(%rip), %rsi    # 0x349674
callq 0x11cc90
leaq 0x2a967d(%rip), %rdx    # 0x3492bc
movl $0xa, %edi
movl $0x8, %esi
movl $0x137, %ecx            # imm = 0x137
callq 0x10436a
movq %rax, %rbx
movq %r14, (%rax)
leaq 0x2a9a29(%rip), %rax    # 0x349689
movq %rax, 0x8(%rbx)
leaq 0x2a9a26(%rip), %rax    # 0x349691
movq %rax, 0x10(%rbx)
leaq 0x2a9a25(%rip), %rax    # 0x34969b
movq %rax, 0x18(%rbx)
movq 0x8(%rsp), %rax
movq %rax, 0x20(%rbx)
cmpl $-0x1, %ebp
je 0x9fd39
movq %r15, %rdi
movl %ebp, %esi
callq 0x11b054
leaq 0x2a9a0a(%rip), %rax    # 0x3496a7
movq %rax, 0x28(%rbx)
movq %r15, %rdi
callq 0x11b0a1
movq %rax, 0x30(%rbx)
movl $0x7, %ebp
jmp 0x9fd3e
xorl %ebx, %ebx
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
testq %rbp, %rbp
je 0x9fd04
movq 0x4192b5(%rip), %r12    # 0x4b8f80
movq (%r12), %rdx
leaq 0x2a95de(%rip), %rsi    # 0x3492b4
movq %rbp, %rdi
callq 0x11cc90
movq %rbx, %rdi
callq 0x12c3a7
movq %r14, %rdi
callq 0x1040e0
movq %r15, %rdi
callq 0x11bdbf
movq (%r12), %rsi
movq %rbp, %rdi
callq 0x11cf39
jmp 0x9fd1c
movq %rbx, %rdi
callq 0x12c3a7
movq %r14, %rdi
callq 0x1040e0
movq %r15, %rdi
callq 0x11bdbf
movq %rbp, %rdi
callq 0x11d054
movl %r13d, %eax
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x5, %ebp
movq 0x10(%rsp), %rax
movq %rax, (%rbx,%rbp,8)
movq %r12, %rdi
callq 0x11b0a1
movq %rax, 0x8(%rbx,%rbp,8)
cmpq $0x0, 0x10(%rbx,%rbp,8)
jne 0xa0373
leaq 0x2a995b(%rip), %rsi    # 0x3496c2
movq 0x18(%rsp), %rdi
movq %r14, %rdx
xorl %eax, %eax
callq 0x103fe1
leaq 0x78(%rsp), %rdx
movq %r14, %rdi
movq %rbx, %rsi
movq 0x30(%rsp), %rcx
callq 0x16fd44
movq %rax, %r14
leaq 0x2a9527(%rip), %rsi    # 0x3492bc
movq %rbx, %rdi
movl $0x14d, %edx            # imm = 0x14D
callq 0x1045eb
movq %r12, %rdi
callq 0x11bdbf
movq %r15, %rdi
callq 0x11bdbf
testq %r14, %r14
movq 0x38(%rsp), %rbp
je 0x9fe8f
callq 0x11ac6c
movq %rax, %rbx
movq (%r14), %rsi
movq %rax, %rdi
callq 0x11b1ff
testl %eax, %eax
movq 0x48(%rsp), %r15
jne 0x9fdf3
movq %rbx, %rdi
callq 0x11b132
movq (%r14), %rsi
movq %rbx, %rdi
callq 0x11b1ff
testl %eax, %eax
je 0x9fddc
movq %rbx, %rdi
callq 0x11bdbf
movq %r14, %rdi
callq 0x16ff7f
movq %r15, %rdi
callq 0x11b0a1
movq %rax, %r15
callq 0x119478
movq %rax, 0x8(%rsp)
callq 0x11ac6c
movq %rax, %r14
callq 0x11ac6c
movq %rax, 0x60(%rsp)
leaq 0x2d9cc2(%rip), %rdi    # 0x379af3
callq 0x11acc9
movq %rax, 0x10(%rsp)
movq %rax, %rdi
callq 0x11b0ca
movq %rax, 0x70(%rsp)
movq 0x18(%r13), %rdi
callq 0x11b0ca
movq %rax, 0x58(%rsp)
testq %rbp, %rbp
je 0x9fea3
movq 0x41911e(%rip), %rax    # 0x4b8f80
movq (%rax), %rdx
leaq 0x2a9862(%rip), %rsi    # 0x3496ce
movq %rbp, %rdi
callq 0x11cc90
leaq 0x2a986a(%rip), %rdi    # 0x3496e5
callq 0x11c986
movq %rax, 0x50(%rsp)
movq %rax, %rdi
callq 0x11c9e3
jmp 0x9feac
movq 0x18(%rsp), %r14
movq 0x48(%rsp), %r15
movq 0x28(%rsp), %rbx
jmp 0x9fcb9
movq $0x0, 0x50(%rsp)
leaq 0x2bafa2(%rip), %rsi    # 0x35ae55
movq %r15, %rdi
callq 0x11f802
movq %rax, %rbp
leaq 0x4b8(%rip), %rdi       # 0xa037d
leaq 0x4d0(%rip), %rsi       # 0xa039c
xorl %edx, %edx
callq 0x165f7c
movq %rax, 0x20(%rsp)
movl $0x1, %eax
movq %rax, 0x40(%rsp)
xorl %r12d, %r12d
movq %rax, 0x68(%rsp)
movq %r14, %rdi
movq %rbp, %rsi
callq 0x11b1ff
testl %eax, %eax
movq 0x60(%rsp), %r15
jne 0xa0221
movq %r14, %rdi
callq 0x11b0a1
cmpb $0x23, (%rax)
jne 0x9ff2b
movq %r14, %rdi
callq 0x11b132
movq %r14, %rdi
movq %rbp, %rsi
callq 0x11b1ff
testl %eax, %eax
je 0x9ff02
jmp 0xa0221
movq %rax, %rbx
movq %r14, %rdi
callq 0x11b0ca
movq 0x8(%rsp), %r15
movq %r15, %rdi
movq %rbx, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x11957c
movq %r15, %rdi
callq 0x1196b0
cmpq $0x16, %rax
jbe 0xa0378
movq %r15, %rdi
xorl %esi, %esi
callq 0x119674
movq %rax, %r15
movq %rax, %rdi
movl $0x65, %esi
callq 0x17280
leaq 0x1(%rax), %rbx
testq %rax, %rax
cmoveq %r15, %rbx
leaq 0x78(%rsp), %rdi
movq %rbx, %rsi
callq 0x10b217
testl %eax, %eax
jne 0x9ffb5
movq %rbx, %rdi
leaq 0x306bc4(%rip), %rsi    # 0x3a6b64
leaq 0x78(%rsp), %rdx
xorl %eax, %eax
callq 0x177f0
cmpl $0x1, %eax
jne 0xa00d1
movq 0x60(%rsp), %r15
movq %r15, %rdi
callq 0x11b0ca
testq %rax, %rax
je 0x9fff0
movq %r15, %rdi
callq 0x11b0a1
movq %rax, %rbx
movl $0x3, %esi
movq 0x8(%rsp), %rdi
callq 0x119674
movq %rbx, %rdi
movq %rax, %rsi
callq 0x17a40
testl %eax, %eax
je 0xa002e
movl $0x3, %esi
movq 0x8(%rsp), %rdi
callq 0x119674
movq %r15, %rdi
movq %rax, %rsi
callq 0x11ad62
incl %r12d
movq %r15, %rdi
callq 0x11b0a1
movq 0x18(%rsp), %rdi
leaq 0x2a9722(%rip), %rsi    # 0x349743
movl %r12d, %edx
movq %rax, %rcx
xorl %eax, %eax
callq 0x103fe1
movl 0x20(%r13), %eax
testl %eax, %eax
setne %cl
cmpl %eax, %r12d
seta %al
andb %cl, %al
cmpb $0x1, %al
movq 0x28(%rsp), %rdx
jne 0xa01a8
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
callq 0xa03ad
movq %rbx, %rdi
callq 0x11b0a1
movq 0x18(%rsp), %rbx
movq %rbx, %rdi
leaq 0x2a96e1(%rip), %rsi    # 0x349756
movq %rax, %rdx
xorl %eax, %eax
callq 0x103fe1
cmpq $0x0, 0x58(%rsp)
je 0xa00ef
movq 0x18(%r13), %rdi
movq 0x40(%rsp), %rsi
leaq 0x1(%rsi), %r15
callq 0x11ae72
movq 0x18(%r13), %rdi
leaq 0x2a96c1(%rip), %rsi    # 0x349765
callq 0x11acf3
movq 0x18(%r13), %rdi
callq 0x11b0a1
movq %rbx, %rdi
leaq 0x2a96ae(%rip), %rsi    # 0x34976a
movq %rax, %rdx
xorl %eax, %eax
callq 0x103fe1
movq 0x18(%r13), %rbx
movq %r15, 0x40(%rsp)
jmp 0xa00f1
xorl %r15d, %r15d
movq 0x30(%rsp), %rdi
leaq 0x2a83af(%rip), %rsi    # 0x34848f
movq %rbx, %rdx
xorl %eax, %eax
callq 0xfcb67
jmp 0xa01cd
xorl %ebx, %ebx
movq 0x10(%rsp), %rdi
callq 0x11b0a1
movq %rax, %r15
movq 0x10(%r13), %rdi
callq 0x11b0a1
movq %rax, %r12
movq 0x8(%r13), %rdi
callq 0x11b0a1
movl 0x24(%r13), %r8d
movq 0x30(%rsp), %rcx
movq %rcx, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movq %r12, %rdx
movq %rax, %rcx
movq 0x18(%rsp), %r9
callq 0xa0475
movl %eax, %ebx
movq 0x50(%rsp), %rdi
testq %rdi, %rdi
je 0xa0168
movq 0x418e37(%rip), %r12    # 0x4b8f80
movq (%r12), %rsi
movq 0x68(%rsp), %rcx
incq %rcx
leaq 0x2a961c(%rip), %rdx    # 0x349778
movq %rcx, 0x68(%rsp)
xorl %eax, %eax
callq 0x11cca7
movq 0x20(%rsp), %rdi
callq 0x165fe3
movq 0x10(%rsp), %rdi
movq 0x70(%rsp), %rsi
callq 0x11b0d7
movq 0x58(%rsp), %rsi
testq %rsi, %rsi
je 0xa0194
movq 0x18(%r13), %rdi
callq 0x11b0d7
movl $0x1, %r12d
testl %ebx, %ebx
je 0xa01a3
xorl %r15d, %r15d
jmp 0xa01cd
movq 0x28(%rsp), %rdx
movq 0x78(%rsp), %rsi
movq %rdx, %rdi
leaq 0x442(%rip), %rdx       # 0xa05f9
movq 0x20(%rsp), %rcx
movq 0x30(%rsp), %r8
callq 0x12d6aa
testq %rax, %rax
setne %r15b
movq 0x8(%rsp), %rdi
callq 0x11968d
movq %r14, %rdi
callq 0x11b132
testb %r15b, %r15b
jne 0x9feea
movq 0x8(%rsp), %rdi
callq 0x1196c0
movq %r14, %rdi
callq 0x11bdbf
movq 0x60(%rsp), %rdi
callq 0x11bdbf
movq %rbp, %rdi
callq 0x11f771
movl $0xffffffff, %r13d      # imm = 0xFFFFFFFF
movq 0x38(%rsp), %rbp
movq 0x18(%rsp), %r14
jmp 0xa030f
movq 0x8(%rsp), %rdi
callq 0x1196c0
movq %r14, %rdi
callq 0x11bdbf
movq %r15, %rdi
callq 0x11bdbf
movq %rbp, %rdi
callq 0x11f771
movq 0x10(%rsp), %rbx
movq %rbx, %rdi
movq 0x20(%rsp), %rsi
movq 0x28(%rsp), %rdx
callq 0xa03ad
movq %rbx, %rdi
callq 0x11b0a1
leaq 0x2a94ed(%rip), %rsi    # 0x349756
xorl %ebx, %ebx
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103fe1
cmpq $0x0, 0x58(%rsp)
je 0xa02c4
movq 0x18(%r13), %rdi
movq 0x40(%rsp), %rsi
callq 0x11ae72
movq 0x18(%r13), %rdi
leaq 0x2a94c7(%rip), %rsi    # 0x349765
callq 0x11acf3
movq 0x18(%r13), %rdi
callq 0x11b0a1
leaq 0x2a94b7(%rip), %rsi    # 0x34976a
movq %r14, %rdi
movq %rax, %rdx
xorl %eax, %eax
callq 0x103fe1
movq 0x18(%r13), %rbx
movq 0x38(%rsp), %rbp
movq 0x10(%rsp), %rdi
callq 0x11b0a1
movq %rax, %r12
movq 0x10(%r13), %rdi
callq 0x11b0a1
movq %rax, %r15
movq 0x8(%r13), %rdi
callq 0x11b0a1
movl 0x24(%r13), %r8d
movq 0x30(%rsp), %rcx
movq %rcx, (%rsp)
movq %rbx, %rdi
movq %r12, %rsi
movq %r15, %rdx
movq %rax, %rcx
movq %r14, %r9
callq 0xa0475
movl %eax, %r13d
movq 0x48(%rsp), %r15
movq 0x50(%rsp), %r12
testq %r12, %r12
movq 0x28(%rsp), %rbx
je 0xa0335
movq 0x418c56(%rip), %rax    # 0x4b8f80
movq (%rax), %rsi
movq %r12, %rdi
callq 0x11cf39
movq %r12, %rdi
callq 0x11d054
leaq 0x2a944b(%rip), %rdi    # 0x34978f
movq 0x40(%rsp), %rsi
xorl %eax, %eax
callq 0x103d72
movq 0x20(%rsp), %rdi
callq 0x165fc5
movq 0x10(%rsp), %rdi
callq 0x11bdbf
jmp 0x9fcbf
callq 0x19509
callq 0x195b4
callq 0x19542
callq 0x1957b