// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/ltr/ltrdigest_pdom_visitor.c
// Function: gt_ltrdigest_pdom_visitor_parse_query
static int gt_ltrdigest_pdom_visitor_parse_query(GtLTRdigestPdomVisitor *lv,
                                                 GtHMMERParseStatus *status,
                                                 bool *end,
                                                 FILE *instream, GtError *err)
{
  int had_err = 0;
  char buf[GT_HMMER_BUF_LEN];
  gt_assert(lv && instream && status);
  gt_error_check(err);

  had_err = pdom_parser_get_next_line(buf, instream, err);
  if (!had_err && strncmp("Query:", buf, (size_t) 6) != 0) {
    *end = true;
  }
  if (!had_err && !(*end)) {
    status->strand = gt_strand_get(buf[14]);
    buf[14] = '\0';
    status->frame = (unsigned) atoi(buf+13);
  }
  if (!had_err && !(*end)) {
    had_err = gt_ltrdigest_pdom_visitor_parse_scores(lv, buf, instream, err);
  }
  if (!had_err && !(*end)) {
    had_err = gt_ltrdigest_pdom_visitor_parse_domainhits(lv, status, buf,
                                                         instream, err);
  }
  if (!had_err && !(*end)) {
    had_err = gt_ltrdigest_pdom_visitor_parse_statistics(lv, buf, instream,
                                                         err);
  }
  return had_err;
}

// Assembly:
subq $0xfa38, %rsp           # imm = 0xFA38
movq %rdi, 0xfa30(%rsp)
movq %rsi, 0xfa28(%rsp)
movq %rdx, 0xfa20(%rsp)
movq %rcx, 0xfa18(%rsp)
movq %r8, 0xfa10(%rsp)
movl $0x0, 0xfa0c(%rsp)
cmpq $0x0, 0xfa30(%rsp)
je 0x30908b
cmpq $0x0, 0xfa18(%rsp)
je 0x30908b
cmpq $0x0, 0xfa28(%rsp)
jne 0x3090c3
movq 0x332f0e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x20cf77(%rip), %rsi    # 0x516013
leaq 0x28a737(%rip), %rdx    # 0x5937da
leaq 0x28a770(%rip), %rcx    # 0x59381a
leaq 0x28a448(%rip), %r8     # 0x5934f9
movl $0x1cf, %r9d            # imm = 0x1CF
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x3090c5
jmp 0x3090c7
cmpq $0x0, 0xfa10(%rsp)
je 0x30911d
movq 0xfa10(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x3090e5
jmp 0x30911d
movq 0x332eb4(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x20cf1d(%rip), %rsi    # 0x516013
leaq 0x20d0c2(%rip), %rdx    # 0x5161bf
leaq 0x28a716(%rip), %rcx    # 0x59381a
leaq 0x28a3ee(%rip), %r8     # 0x5934f9
movl $0x1d0, %r9d            # imm = 0x1D0
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x30911f
movq %rsp, %rdi
movq 0xfa18(%rsp), %rsi
movq 0xfa10(%rsp), %rdx
callq 0x309290
movl %eax, 0xfa0c(%rsp)
cmpl $0x0, 0xfa0c(%rsp)
jne 0x30916c
movq %rsp, %rsi
leaq 0x28a6ee(%rip), %rdi    # 0x593840
movl $0x6, %edx
callq 0x192f0
cmpl $0x0, %eax
je 0x30916c
movq 0xfa20(%rsp), %rax
movb $0x1, (%rax)
cmpl $0x0, 0xfa0c(%rsp)
jne 0x3091b7
movq 0xfa20(%rsp), %rax
testb $0x1, (%rax)
jne 0x3091b7
movsbl 0xe(%rsp), %edi
callq 0x11fdd0
movl %eax, %ecx
movq 0xfa28(%rsp), %rax
movl %ecx, (%rax)
movb $0x0, 0xe(%rsp)
movq %rsp, %rdi
addq $0xd, %rdi
callq 0x19b30
movl %eax, %ecx
movq 0xfa28(%rsp), %rax
movl %ecx, 0x4(%rax)
cmpl $0x0, 0xfa0c(%rsp)
jne 0x3091f5
movq 0xfa20(%rsp), %rax
testb $0x1, (%rax)
jne 0x3091f5
movq 0xfa30(%rsp), %rdi
movq %rsp, %rsi
movq 0xfa18(%rsp), %rdx
movq 0xfa10(%rsp), %rcx
callq 0x3093d0
movl %eax, 0xfa0c(%rsp)
cmpl $0x0, 0xfa0c(%rsp)
jne 0x30923b
movq 0xfa20(%rsp), %rax
testb $0x1, (%rax)
jne 0x30923b
movq 0xfa30(%rsp), %rdi
movq 0xfa28(%rsp), %rsi
movq %rsp, %rdx
movq 0xfa18(%rsp), %rcx
movq 0xfa10(%rsp), %r8
callq 0x309590
movl %eax, 0xfa0c(%rsp)
cmpl $0x0, 0xfa0c(%rsp)
jne 0x309279
movq 0xfa20(%rsp), %rax
testb $0x1, (%rax)
jne 0x309279
movq 0xfa30(%rsp), %rdi
movq %rsp, %rsi
movq 0xfa18(%rsp), %rdx
movq 0xfa10(%rsp), %rcx
callq 0x309ac0
movl %eax, 0xfa0c(%rsp)
movl 0xfa0c(%rsp), %eax
addq $0xfa38, %rsp           # imm = 0xFA38
retq
nopl (%rax,%rax)