// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/hcr.c
// Function: gt_hcr_decoder_new
GtHcrDecoder *gt_hcr_decoder_new(const char *name, GtAlphabet *alpha,
                                 bool descs, GtTimer *timer, GtError *err)
{
  GtHcrDecoder *hcr_dec = NULL;
  int had_err = 0;

  gt_error_check(err);
  if (timer != NULL)
    gt_timer_show_progress(timer, "initialize hcr decoder", stdout);

  hcr_dec = gt_malloc(sizeof (GtHcrDecoder));
  hcr_dec->seq_dec = NULL;

  if (descs) {
    hcr_dec->encdesc = gt_encdesc_load(name, err);
    if (gt_error_is_set(err)) {
      had_err = -1;
    }
  }
  else
    hcr_dec->encdesc = NULL;

  if (!had_err) {
    hcr_dec->seq_dec = hcr_seq_decoder_new(alpha, name, err);
    if (!gt_error_is_set(err))
      return hcr_dec;
  }
  gt_hcr_decoder_delete(hcr_dec);
  return NULL;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r13
movq %rcx, %r15
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
testq %r8, %r8
je 0xe9999
movq %r13, %rdi
callq 0x89eb7
testb %al, %al
jne 0xea02b
testq %r15, %r15
je 0xe99b7
movq 0x34e50b(%rip), %rax    # 0x437eb0
movq (%rax), %rdx
leaq 0x2390bc(%rip), %rsi    # 0x322a6b
movq %r15, %rdi
callq 0xaf86f
leaq 0x23909a(%rip), %rsi    # 0x322a58
pushq $0x10
popq %rdi
movl $0x342, %edx            # imm = 0x342
callq 0x93160
movq %rax, %r15
andq $0x0, 0x8(%rax)
testb %bpl, %bpl
je 0xe99f7
movq %rbx, %rdi
movq %r13, %rsi
callq 0xd2ad6
movq %rax, (%r15)
movq %r13, %rdi
callq 0x89eb7
testb %al, %al
je 0xe99fb
jmp 0xe9f1d
andq $0x0, (%r15)
movq %r15, 0x30(%rsp)
leaq 0x239051(%rip), %r12    # 0x322a58
movl $0x80, %edi
movq %r12, %rsi
movl $0x2f6, %edx            # imm = 0x2F6
callq 0x93160
movq %rax, %r15
andq $0x0, 0x10(%rsp)
movq %r14, 0x8(%rax)
movq %r14, %rdi
callq 0x56cd2
movl %eax, 0x78(%r15)
andq $0x0, 0x58(%r15)
andq $0x0, 0x48(%r15)
andq $0x0, 0x30(%r15)
andq $0x0, (%r15)
movq %rbx, %rdi
callq 0xacbd1
movq %rax, 0x40(%r15)
andq $0x0, 0x38(%r15)
andq $0x0, 0x10(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r15)
leaq 0x239374(%rip), %r14    # 0x322dde
movq %rax, %rdi
movq %r14, %rsi
callq 0xacbfb
leaq 0x25c021(%rip), %rdx    # 0x345a9d
movq %rbx, %rdi
movq %r14, %rsi
movq %r12, %rcx
movl $0x30a, %r8d            # imm = 0x30A
movq %r13, %r9
callq 0x8a449
movq %rax, %r12
testq %rax, %rax
je 0xe9ed5
movq %r13, 0x20(%rsp)
movq %r15, %rdi
addq $0x68, %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xea059
movq 0x68(%r15), %rdi
leaq 0x238f8a(%rip), %rdx    # 0x322a58
pushq $0x10
popq %rsi
movl $0x250, %ecx            # imm = 0x250
callq 0x9334a
movq %rax, (%r15)
pushq $-0x1
popq %rbp
xorl %r13d, %r13d
pushq $0x1
popq %rbx
pushq $0x8
popq %r14
movq (%r15), %rax
movq 0x68(%r15), %rcx
incq %rbp
cmpq %rcx, %rbp
jae 0xe9b73
leaq (%rax,%r13), %rdi
addq $0x8, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xe9f3a
leaq 0x10(%r13), %rax
movq %rax, 0x8(%rsp)
addq (%r15), %r13
movq %r13, %rdi
movq %r14, %rsi
movq %rbx, %rdx
movq %r12, %rcx
callq 0xb2fab
movq 0x8(%rsp), %r13
cmpq $0x1, %rax
je 0xe9aeb
movq 0x34e41f(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fb4c0(%rip), %rsi    # 0x2e5013
leaq 0x23937f(%rip), %rdx    # 0x322ed9
leaq 0x239398(%rip), %rcx    # 0x322ef9
leaq 0x238ef0(%rip), %r8     # 0x322a58
movl $0x255, %r9d            # imm = 0x255
jmp 0xe9ff3
shlq $0x4, %rcx
movq -0x8(%rax,%rcx), %rax
movq %rax, 0x60(%r15)
movq 0x8(%r15), %rdi
movq %rdi, 0x38(%rsp)
callq 0x56cd2
movl %eax, %r14d
leaq 0x238ec0(%rip), %r13    # 0x322a58
pushq $0x30
popq %rdi
movq %r13, %rsi
movl $0xc1, %edx
callq 0x93160
movq %rax, %rbp
movl $0x400, %edi            # imm = 0x400
movq %r13, %rsi
movl $0xc2, %edx
callq 0x93160
movq %rax, (%rbp)
movl %r14d, %r13d
movq %r13, %rdi
shlq $0x7, %rdi
pushq $0x8
popq %rsi
leaq 0x238e83(%rip), %rdx    # 0x322a58
movl $0xc2, %ecx
callq 0x9334a
movq (%rbp), %rcx
movq %rax, (%rcx)
shlq $0x3, %r13
cmpq $0x80, %rbx
je 0xe9c08
movq (%rbp), %rax
movq -0x8(%rax,%rbx,8), %rcx
addq %r13, %rcx
movq %rcx, (%rax,%rbx,8)
incq %rbx
jmp 0xe9bea
movl %r14d, 0x10(%rbp)
movl $0x80, 0x14(%rbp)
andl $0x0, 0x28(%rbp)
decl %r14d
movq %rbp, 0x8(%rsp)
movl %r14d, 0x20(%rbp)
leaq 0x18(%rsp), %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xea08a
pushq $0x7f
popq %rbp
xorl %ebx, %ebx
pushq $0x1
popq %r14
xorl %r13d, %r13d
movq 0x8(%rsp), %rdi
cmpq 0x18(%rsp), %rbx
jae 0xe9d07
leaq 0x7(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xe9f6b
leaq 0x6(%rsp), %rdi
movq %r14, %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xe9fc7
leaq 0x40(%rsp), %rdi
pushq $0x8
popq %rsi
movq %r14, %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xe9f99
movsbl 0x7(%rsp), %esi
movq 0x38(%rsp), %rdi
callq 0x57552
cmpb $-0x2, %al
movq 0x8(%rsp), %rdi
jne 0xe9cd9
movl 0x20(%rdi), %eax
cmpl $0x100, %eax            # imm = 0x100
jae 0xe9fff
movq 0x40(%rsp), %rcx
movq (%rdi), %rdx
movzbl 0x6(%rsp), %esi
movq (%rdx,%rsi,8), %rdx
movzbl %al, %eax
movq %rcx, (%rdx,%rax,8)
cmpl %esi, %r13d
cmovbel %esi, %r13d
cmpl %esi, %ebp
cmovbl %ebp, %esi
incq %rbx
movl %esi, %ebp
jmp 0xe9c51
movl %ebp, 0x1c(%rdi)
movl %r13d, 0x18(%rdi)
movq %rdi, %rbx
callq 0xeb191
movl 0x28(%rbx), %eax
movl %eax, 0x7c(%r15)
leaq 0x10(%rsp), %rdi
pushq $0x8
popq %rsi
pushq $0x1
popq %rdx
movq %r12, %rcx
callq 0xb2fab
cmpq $0x1, %rax
jne 0xea0bb
callq 0x6be41
movq %rax, %r14
movq %r12, %rdi
callq 0x17030
xorl %edx, %edx
divq %r14
movq %rdx, %rbp
movq %r12, %rdi
callq 0x17030
movq %rax, %rbx
testq %rbp, %rbp
movq 0x20(%rsp), %r13
movq %r12, 0x28(%rsp)
je 0xe9d7e
movq %rbx, %rax
xorl %edx, %edx
divq %r14
movq %rax, %rbx
incq %rbx
imulq %r14, %rbx
movq %rbx, 0x70(%r15)
movq 0x10(%rsp), %r12
movq 0x40(%r15), %rbp
leaq 0x238cc6(%rip), %rsi    # 0x322a58
pushq $0x50
popq %rdi
movl $0x25e, %edx            # imm = 0x25E
callq 0x93160
movq %rax, %r14
movq %rbp, %rdi
callq 0xad1fa
movq %rax, (%r14)
movq %rbx, 0x10(%r14)
movq %rbx, 0x20(%r14)
movq %r12, 0x18(%r14)
movq $0xa, 0x28(%r14)
callq 0x6be41
movq %rax, %rcx
movq %rax, 0x38(%r14)
movq 0x10(%r14), %rax
xorl %edx, %edx
divq %rcx
testq %rdx, %rdx
jne 0xea0ec
imulq 0x28(%r14), %rcx
movq %rcx, 0x40(%r14)
shrq $0x3, %rcx
movq %rcx, 0x30(%r14)
andq $0x0, 0x8(%r14)
movq %r14, 0x48(%r15)
movq 0x8(%rsp), %rdi
movl 0x10(%rdi), %eax
movl 0x14(%rdi), %edx
imulq %rax, %rdx
leaq 0x146e(%rip), %rsi      # 0xeb27d
callq 0xf04b4
movq %rax, 0x20(%r15)
movq 0x48(%r15), %rdx
leaq 0x1faa(%rip), %rsi      # 0xebdcd
movq %rax, %rdi
movq %r13, %rcx
callq 0xf0d30
movq %rax, 0x28(%r15)
testq %rax, %rax
movq 0x28(%rsp), %r12
je 0xe9ee3
xorl %ebx, %ebx
pushq $0x2
popq %rdx
movq %r12, %rdi
xorl %esi, %esi
callq 0xb2fec
movq %r12, %rdi
callq 0x17030
movq %rax, %r14
movq 0x10(%rsp), %rsi
movq %r12, %rdi
xorl %edx, %edx
callq 0xb2fec
cmpq %r14, 0x10(%rsp)
jae 0xe9e7b
movq %r12, %rdi
callq 0x11420c
movq %rax, %rbx
movq %rbx, 0x38(%r15)
movq (%r15), %rbx
movq 0x68(%r15), %r13
leaq 0x18(%rsp), %r14
movb $0x0, (%r14)
leaq 0x20a3(%rip), %rdi      # 0xebf39
xorl %esi, %esi
xorl %edx, %edx
callq 0x106594
movq %rax, %rbp
subq $0x1, %r13
jb 0xe9ebc
movq %rbp, %rdi
movq %rbx, %rsi
movq %r14, %rdx
callq 0x106b2f
addq $0x10, %rbx
jmp 0xe9ea2
cmpb $0x0, 0x18(%rsp)
je 0xea11d
movq %rbp, 0x30(%r15)
movq 0x20(%rsp), %r13
movq %r15, %rbx
jmp 0xe9ef6
movq %r15, %rdi
callq 0xebd33
xorl %ebx, %ebx
xorl %edi, %edi
jmp 0xe9efb
movq 0x20(%r15), %rdi
callq 0xf09fc
movq %r15, %rdi
callq 0xebd33
xorl %ebx, %ebx
movq 0x8(%rsp), %rdi
callq 0xeb294
movq %r12, %rdi
callq 0x8a4fd
movq 0x30(%rsp), %r15
movq %rbx, 0x8(%r15)
movq %r13, %rdi
callq 0x89eb7
testb %al, %al
je 0xe9f28
movq %r15, %rdi
callq 0xea14e
xorl %r15d, %r15d
movq %r15, %rax
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x34e027(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fb0c8(%rip), %rsi    # 0x2e5013
leaq 0x238f87(%rip), %rdx    # 0x322ed9
leaq 0x238fa0(%rip), %rcx    # 0x322ef9
leaq 0x238af8(%rip), %r8     # 0x322a58
movl $0x253, %r9d            # imm = 0x253
jmp 0xe9ff3
movq 0x34dff6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fb097(%rip), %rsi    # 0x2e5013
leaq 0x238f56(%rip), %rdx    # 0x322ed9
leaq 0x238f82(%rip), %rcx    # 0x322f0c
leaq 0x238ac7(%rip), %r8     # 0x322a58
movl $0xcc, %r9d
jmp 0xe9ff3
movq 0x34dfc8(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fb069(%rip), %rsi    # 0x2e5013
leaq 0x238f28(%rip), %rdx    # 0x322ed9
leaq 0x238f54(%rip), %rcx    # 0x322f0c
leaq 0x238a99(%rip), %r8     # 0x322a58
movl $0xd0, %r9d
jmp 0xe9ff3
movq 0x34df9a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fb03b(%rip), %rsi    # 0x2e5013
leaq 0x238efa(%rip), %rdx    # 0x322ed9
leaq 0x238f26(%rip), %rcx    # 0x322f0c
leaq 0x238a6b(%rip), %r8     # 0x322a58
movl $0xce, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x34df62(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1feda7(%rip), %rsi    # 0x2e8db7
leaq 0x238a41(%rip), %rdx    # 0x322a58
movl $0xd3, %ecx
xorl %eax, %eax
callq 0x17a50
pushq $0x1
popq %rdi
callq 0x178f0
movq 0x34df36(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fafd7(%rip), %rsi    # 0x2e5013
leaq 0x1fb17c(%rip), %rdx    # 0x2e51bf
leaq 0x2389fb(%rip), %rcx    # 0x322a45
leaq 0x238a07(%rip), %r8     # 0x322a58
movl $0x33e, %r9d            # imm = 0x33E
jmp 0xe9ff3
movq 0x34df08(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1fafa9(%rip), %rsi    # 0x2e5013
leaq 0x238e68(%rip), %rdx    # 0x322ed9
leaq 0x238e81(%rip), %rcx    # 0x322ef9
leaq 0x2389d9(%rip), %r8     # 0x322a58
movl $0x24d, %r9d            # imm = 0x24D
jmp 0xe9ff3
movq 0x34ded7(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1faf78(%rip), %rsi    # 0x2e5013
leaq 0x238e37(%rip), %rdx    # 0x322ed9
leaq 0x238e63(%rip), %rcx    # 0x322f0c
leaq 0x2389a8(%rip), %r8     # 0x322a58
movl $0xc9, %r9d
jmp 0xe9ff3
movq 0x34dea6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1faf47(%rip), %rsi    # 0x2e5013
leaq 0x238e06(%rip), %rdx    # 0x322ed9
leaq 0x238e0b(%rip), %rcx    # 0x322ee5
leaq 0x238977(%rip), %r8     # 0x322a58
movl $0x318, %r9d            # imm = 0x318
jmp 0xe9ff3
movq 0x34de75(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1faf16(%rip), %rsi    # 0x2e5013
leaq 0x238e2a(%rip), %rdx    # 0x322f2e
leaq 0x238e4f(%rip), %rcx    # 0x322f5a
leaq 0x238946(%rip), %r8     # 0x322a58
movl $0x264, %r9d            # imm = 0x264
jmp 0xe9ff3
movq 0x34de44(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1faee5(%rip), %rsi    # 0x2e5013
leaq 0x230006(%rip), %rdx    # 0x31a13b
leaq 0x238e88(%rip), %rcx    # 0x322fc4
leaq 0x238915(%rip), %r8     # 0x322a58
movl $0x2b9, %r9d            # imm = 0x2B9
jmp 0xe9ff3