// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/reads2twobit.c
// Function: gt_reads2twobit_process_fasta_mate_pair
static inline void gt_reads2twobit_process_fasta_mate_pair(
    GtReads2TwobitEncodeState *state, char *line2, FILE *file2)
{
  char *fgetsretval = NULL;
  bool was_invalid = state->invalid_mode;
  GtUword prev_seqlen = state->seqlen;
  if (line2[0] != '>')
  {
    fgetsretval = fgets(line2, (int)GT_READS2TWOBIT_READBUFFER_SIZE,
        file2);
    gt_assert(fgetsretval == line2);
  }
  gt_assert(line2[0] == '>');
  gt_reads2twobit_process_desc_line(state, line2, true, false);
  GT_READS2TWOBIT_HANDLE_LONG_DESCRIPTIONS(line2, file2, fgetsretval, true,
      state, true);
  state->seqlen = 0;
  state->exp_qlen = 0;
  state->seqlen_mate = state->seqlen;
  if (!state->invalid_mode)
    state->current.nofseqs++;
  else
    state->invalid_sequences++;
  while (true)
  {
    fgetsretval = fgets(line2, (int)GT_READS2TWOBIT_READBUFFER_SIZE, file2);
    if (fgetsretval != line2 || line2[0] == '>')
      break;
    gt_reads2twobit_process_sequence_line(state, line2);
  }
  gt_reads2twobit_finalize_descriptions(state);
  if (!state->invalid_mode)
    gt_reads2twobit_process_sequence_end(state);
  if (!was_invalid && state->invalid_mode)
  {
    state->invalid_sequences++;
    state->invalid_total_length += (prev_seqlen - 1UL);
  }
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x30(%rsp)
movq %rsi, 0x28(%rsp)
movq %rdx, 0x20(%rsp)
movq $0x0, 0x18(%rsp)
movq 0x30(%rsp), %rax
movb 0x8f1(%rax), %al
andb $0x1, %al
movb %al, 0x17(%rsp)
movq 0x30(%rsp), %rax
movq 0x808(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x28(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3e, %eax
je 0x2a7e6c
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rdx
movl $0x100, %esi            # imm = 0x100
callq 0x19b60
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
je 0x2a7e68
movq 0x394169(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26e1d2(%rip), %rsi    # 0x516013
leaq 0x2ddd62(%rip), %rdx    # 0x585baa
leaq 0x2ddd70(%rip), %rcx    # 0x585bbf
leaq 0x2dd15a(%rip), %r8     # 0x584fb0
movl $0x483, %r9d            # imm = 0x483
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a7e6a
jmp 0x2a7e6c
jmp 0x2a7e6e
movq 0x28(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3e, %eax
je 0x2a7eb3
movq 0x39411e(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x26e187(%rip), %rsi    # 0x516013
leaq 0x2ddd54(%rip), %rdx    # 0x585be7
leaq 0x2ddd25(%rip), %rcx    # 0x585bbf
leaq 0x2dd10f(%rip), %r8     # 0x584fb0
movl $0x485, %r9d            # imm = 0x485
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2a7eb5
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x2a5c70
movq 0x28(%rsp), %rdi
callq 0x192b0
movq %rax, %rcx
xorl %eax, %eax
cmpq $0xff, %rcx
movb %al, 0x7(%rsp)
jne 0x2a7f0b
movq 0x28(%rsp), %rax
movsbl 0xfe(%rax), %ecx
xorl %eax, %eax
cmpl $0xa, %ecx
movb %al, 0x7(%rsp)
je 0x2a7f0b
cmpq $0x0, 0x18(%rsp)
setne %al
movb %al, 0x7(%rsp)
movb 0x7(%rsp), %al
testb $0x1, %al
jne 0x2a7f15
jmp 0x2a7f51
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rdx
movl $0x100, %esi            # imm = 0x100
callq 0x19b60
movq %rax, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x2a7f4c
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
movl $0x1, %ecx
movl %ecx, %edx
callq 0x2a5c70
jmp 0x2a7ecb
movq 0x30(%rsp), %rax
movq $0x0, 0x808(%rax)
movq 0x30(%rsp), %rax
movq $0x0, 0x818(%rax)
movq 0x30(%rsp), %rax
movq 0x808(%rax), %rcx
movq 0x30(%rsp), %rax
movq %rcx, 0x810(%rax)
movq 0x30(%rsp), %rax
testb $0x1, 0x8f1(%rax)
jne 0x2a7fb0
movq 0x30(%rsp), %rax
movq 0x860(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x860(%rax)
jmp 0x2a7fc7
movq 0x30(%rsp), %rax
movq 0x8f8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x8f8(%rax)
jmp 0x2a7fc9
movq 0x28(%rsp), %rdi
movq 0x20(%rsp), %rdx
movl $0x100, %esi            # imm = 0x100
callq 0x19b60
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
cmpq 0x28(%rsp), %rax
jne 0x2a7ffb
movq 0x28(%rsp), %rax
movsbl (%rax), %eax
cmpl $0x3e, %eax
jne 0x2a7ffd
jmp 0x2a800e
movq 0x30(%rsp), %rdi
movq 0x28(%rsp), %rsi
callq 0x2a5db0
jmp 0x2a7fc9
movq 0x30(%rsp), %rdi
callq 0x2a5b50
movq 0x30(%rsp), %rax
testb $0x1, 0x8f1(%rax)
jne 0x2a8030
movq 0x30(%rsp), %rdi
callq 0x2a57b0
testb $0x1, 0x17(%rsp)
jne 0x2a8078
movq 0x30(%rsp), %rax
testb $0x1, 0x8f1(%rax)
je 0x2a8078
movq 0x30(%rsp), %rax
movq 0x8f8(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x8f8(%rax)
movq 0x8(%rsp), %rcx
subq $0x1, %rcx
movq 0x30(%rsp), %rax
addq 0x900(%rax), %rcx
movq %rcx, 0x900(%rax)
addq $0x38, %rsp
retq
nopl (%rax)