// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/match/rdj-contigs-writer.c
// Function: gt_contigs_writer_start
void gt_contigs_writer_start(GtContigsWriter *contigs_writer,
    GtUword seqnum)
{
  GtUword pos, nofchars, i;
  gt_assert(contigs_writer != NULL);
  pos = gt_encseq_seqstartpos(contigs_writer->reads, seqnum);
  nofchars = gt_encseq_seqlength(contigs_writer->reads, seqnum);
  for (i = 0; i < nofchars; i++, pos++)
  {
    char *c;
    GT_GETNEXTFREEINARRAY(c, &contigs_writer->contig, char,
        GT_CONTIGS_WRITER_CONTIG_INC);
    *c = gt_encseq_get_encoded_char_nospecial(contigs_writer->reads, pos,
        GT_READMODE_FORWARD)["acgt"];
  }
  contigs_writer->depthinfo.depth++;
  gt_str_append_uword(contigs_writer->path_desc,
      GT_CONTIGS_WRITER_READNUM(seqnum, contigs_writer->nofseqs));
  gt_str_append_char(contigs_writer->path_desc,
      GT_CONTIGS_WRITER_LETTER(seqnum, contigs_writer->nofseqs));
  if (contigs_writer->rcn != NULL)
  {
    contigs_writer->depthinfo.firstread_copynum = (float)contigs_writer->rcn[
      GT_CONTIGS_WRITER_READNUM(seqnum, contigs_writer->nofseqs)];
  }
}

// Assembly:
subq $0x58, %rsp
movq %rdi, 0x50(%rsp)
movq %rsi, 0x48(%rsp)
cmpq $0x0, 0x50(%rsp)
jne 0x28283e
movq 0x3b9793(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2937fc(%rip), %rsi    # 0x516013
leaq 0x2fe1d7(%rip), %rdx    # 0x5809f5
leaq 0x2fe293(%rip), %rcx    # 0x580ab8
leaq 0x2fe196(%rip), %r8     # 0x5809c2
movl $0x118, %r9d            # imm = 0x118
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x282840
movq 0x50(%rsp), %rax
movq (%rax), %rdi
movq 0x48(%rsp), %rsi
callq 0xb0530
movq %rax, 0x40(%rsp)
movq 0x50(%rsp), %rax
movq (%rax), %rdi
movq 0x48(%rsp), %rsi
callq 0xb09f0
movq %rax, 0x38(%rsp)
movq $0x0, 0x30(%rsp)
movq 0x30(%rsp), %rax
cmpq 0x38(%rsp), %rax
jae 0x2829f2
jmp 0x282889
jmp 0x28288b
movq 0x50(%rsp), %rax
movq 0x38(%rax), %rax
addq $0x0, %rax
movq 0x50(%rsp), %rcx
cmpq 0x30(%rcx), %rax
jb 0x282938
movq $0x4000, 0x20(%rsp)     # imm = 0x4000
xorl %eax, %eax
cmpq 0x20(%rsp), %rax
jbe 0x2828f1
movq 0x3b96e0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x293749(%rip), %rsi    # 0x516013
leaq 0x2968d6(%rip), %rdx    # 0x5191a7
leaq 0x2fe1e0(%rip), %rcx    # 0x580ab8
leaq 0x2fe0e3(%rip), %r8     # 0x5809c2
movl $0x11f, %r9d            # imm = 0x11F
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x2828f3
movq 0x20(%rsp), %rcx
movq 0x50(%rsp), %rax
addq 0x30(%rax), %rcx
movq %rcx, 0x30(%rax)
movq 0x50(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x50(%rsp), %rax
movq 0x30(%rax), %rsi
shlq $0x0, %rsi
leaq 0x2fe0a0(%rip), %rdx    # 0x5809c2
movl $0x11f, %ecx            # imm = 0x11F
callq 0xe8540
movq %rax, %rcx
movq 0x50(%rsp), %rax
movq %rcx, 0x28(%rax)
jmp 0x28293a
movq 0x50(%rsp), %rax
cmpq $0x0, 0x28(%rax)
jne 0x28297e
movq 0x3b9653(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x2936bc(%rip), %rsi    # 0x516013
leaq 0x2fe126(%rip), %rdx    # 0x580a84
leaq 0x2fe153(%rip), %rcx    # 0x580ab8
leaq 0x2fe056(%rip), %r8     # 0x5809c2
movl $0x11f, %r9d            # imm = 0x11F
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x282980
jmp 0x282982
movq 0x50(%rsp), %rax
movq 0x28(%rax), %rax
movq 0x50(%rsp), %rdx
movq 0x38(%rdx), %rcx
movq %rcx, %rsi
addq $0x1, %rsi
movq %rsi, 0x38(%rdx)
addq %rcx, %rax
movq %rax, 0x28(%rsp)
movq 0x50(%rsp), %rax
movq (%rax), %rdi
movq 0x40(%rsp), %rsi
xorl %edx, %edx
callq 0xaa7f0
movzbl %al, %eax
movl %eax, %ecx
leaq 0x2aca75(%rip), %rax    # 0x52f43c
movb (%rax,%rcx), %cl
movq 0x28(%rsp), %rax
movb %cl, (%rax)
movq 0x30(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x30(%rsp)
movq 0x40(%rsp), %rax
addq $0x1, %rax
movq %rax, 0x40(%rsp)
jmp 0x282877
movq 0x50(%rsp), %rax
movq 0x78(%rax), %rcx
addq $0x1, %rcx
movq %rcx, 0x78(%rax)
movq 0x50(%rsp), %rax
movq 0x48(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rcx
movq 0x60(%rcx), %rcx
shrq %rcx
cmpq %rcx, %rax
jae 0x282a33
movq 0x48(%rsp), %rax
movq %rax, 0x10(%rsp)
jmp 0x282a4a
movq 0x50(%rsp), %rax
movq 0x60(%rax), %rax
subq 0x48(%rsp), %rax
subq $0x1, %rax
movq %rax, 0x10(%rsp)
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x11d930
movq 0x50(%rsp), %rax
movq 0x48(%rax), %rdi
movq 0x48(%rsp), %rdx
movq 0x50(%rsp), %rax
movq 0x60(%rax), %rsi
shrq %rsi
movl $0x42, %eax
movl $0x45, %ecx
cmpq %rsi, %rdx
cmovbl %ecx, %eax
movsbl %al, %esi
callq 0x11da70
movq 0x50(%rsp), %rax
cmpq $0x0, 0x98(%rax)
je 0x282b00
movq 0x50(%rsp), %rax
movq 0x98(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x48(%rsp), %rax
movq 0x50(%rsp), %rcx
movq 0x60(%rcx), %rcx
shrq %rcx
cmpq %rcx, %rax
jae 0x282acc
movq 0x48(%rsp), %rax
movq %rax, (%rsp)
jmp 0x282ae2
movq 0x50(%rsp), %rax
movq 0x60(%rax), %rax
subq 0x48(%rsp), %rax
subq $0x1, %rax
movq %rax, (%rsp)
movq 0x8(%rsp), %rax
movq (%rsp), %rcx
movzbl (%rax,%rcx), %eax
cvtsi2ss %eax, %xmm0
movq 0x50(%rsp), %rax
movss %xmm0, 0x88(%rax)
addq $0x58, %rsp
retq
nopw %cs:(%rax,%rax)