// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/rcr.c
// Function: rcr_init_decode_info
static RcrDecodeInfo *rcr_init_decode_info(GtRcrDecoder *rcr_dec, GtError *err)
{
  RcrDecodeInfo *info = gt_malloc(sizeof (*info));

  gt_error_check(err);

  info->base_hbwd = NULL;
  info->cigar_hbwd = NULL;
  info->qual_hbwd = NULL;
  info->del_len_ebwd = NULL;

  info->base_hbwd = gt_huffman_bitwise_decoder_new(rcr_dec->bases_huff, err);
  if (info->base_hbwd != NULL)
    info->cigar_hbwd =
      gt_huffman_bitwise_decoder_new(rcr_dec->cigar_ops_huff, err);
  if (info->cigar_hbwd != NULL) {
    info->del_len_ebwd = gt_elias_gamma_bitwise_decoder_new();

    info->alphabet = gt_encseq_alphabet(rcr_dec->encseq);
    info->alpha_size = (GtUword) gt_alphabet_size(info->alphabet);
    info->qual_hbwd = NULL;
    info->varpos_gbwd = NULL;
    info->base_string = gt_str_new();
    info->qual_string = gt_str_new();
    info->cigar_string = gt_str_new();
    info->inserted_bases = 0;

    if (rcr_dec->varpos_golomb != NULL)
      info->varpos_gbwd = gt_golomb_bitwise_decoder_new(rcr_dec->varpos_golomb);

    if (rcr_dec->store_var_qual || rcr_dec->store_all_qual) {
      info->qual_hbwd = gt_huffman_bitwise_decoder_new(rcr_dec->qual_huff, err);
      if (info->qual_hbwd == NULL)
        info = NULL;
    }
  }
  else {
    info = NULL;
  }
  return info;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq %rsi, 0x8(%rsp)
movl $0x60, %edi
leaq 0x39efb5(%rip), %rsi    # 0x5614df
movl $0x6e3, %edx            # imm = 0x6E3
callq 0xe80f0
movq %rax, (%rsp)
cmpq $0x0, 0x8(%rsp)
je 0x1c2588
movq 0x8(%rsp), %rdi
callq 0xd8a60
testb $0x1, %al
jne 0x1c2550
jmp 0x1c2588
movq 0x479a49(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x353ab2(%rip), %rsi    # 0x516013
leaq 0x353c57(%rip), %rdx    # 0x5161bf
leaq 0x39f776(%rip), %rcx    # 0x561ce5
leaq 0x39ef69(%rip), %r8     # 0x5614df
movl $0x6e5, %r9d            # imm = 0x6E5
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1c258a
movq (%rsp), %rax
movq $0x0, 0x18(%rax)
movq (%rsp), %rax
movq $0x0, 0x28(%rax)
movq (%rsp), %rax
movq $0x0, 0x20(%rax)
movq (%rsp), %rax
movq $0x0, 0x8(%rax)
movq 0x10(%rsp), %rax
movq 0x40(%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0x192f30
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x18(%rax)
movq (%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x1c2601
movq 0x10(%rsp), %rax
movq 0x38(%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0x192f30
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x28(%rax)
movq (%rsp), %rax
cmpq $0x0, 0x28(%rax)
je 0x1c271a
callq 0x15ea70
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rsp), %rax
movq 0x50(%rax), %rdi
callq 0xb0f00
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, (%rax)
movq (%rsp), %rax
movq (%rax), %rdi
callq 0x7e920
movl %eax, %eax
movl %eax, %ecx
movq (%rsp), %rax
movq %rcx, 0x48(%rax)
movq (%rsp), %rax
movq $0x0, 0x20(%rax)
movq (%rsp), %rax
movq $0x0, 0x10(%rax)
callq 0x11d4a0
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x30(%rax)
callq 0x11d4a0
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x38(%rax)
callq 0x11d4a0
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x40(%rax)
movq (%rsp), %rax
movq $0x0, 0x58(%rax)
movq 0x10(%rsp), %rax
cmpq $0x0, 0x18(%rax)
je 0x1c26c9
movq 0x10(%rsp), %rax
movq 0x18(%rax), %rdi
callq 0x181620
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x10(%rsp), %rax
testb $0x1, 0xe2(%rax)
jne 0x1c26e5
movq 0x10(%rsp), %rax
testb $0x1, 0xe1(%rax)
je 0x1c2718
movq 0x10(%rsp), %rax
movq 0x28(%rax), %rdi
movq 0x8(%rsp), %rsi
callq 0x192f30
movq %rax, %rcx
movq (%rsp), %rax
movq %rcx, 0x20(%rax)
movq (%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x1c2716
movq $0x0, (%rsp)
jmp 0x1c2718
jmp 0x1c2722
movq $0x0, (%rsp)
movq (%rsp), %rax
addq $0x18, %rsp
retq
nopl (%rax,%rax)