// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/bioseq.c
// Function: bioseq_new_with_recreate_and_type
static GtBioseq* bioseq_new_with_recreate_and_type(GtStr *sequence_file,
                                                   bool recreate, GtError *err)
{
  GtBioseq *bs;
  int had_err = 0;
  gt_error_check(err);
  bs = gt_calloc(1, sizeof *bs);
  if (!strcmp(gt_str_get(sequence_file), "-"))
    bs->use_stdin = true;
  if (!bs->use_stdin && !gt_file_exists(gt_str_get(sequence_file))) {
    gt_error_set(err, "sequence file \"%s\" does not exist or is not readable",
                 gt_str_get(sequence_file));
    had_err = -1;
  }
  if (!had_err) {
    bs->sequence_file = gt_str_ref(sequence_file);
    had_err = bioseq_fill(bs, recreate, err);
  }
  if (had_err) {
    gt_bioseq_delete(bs);
    return NULL;
  }
  gt_assert(bs->encseq);
  bs->descriptions = gt_calloc(gt_encseq_num_of_sequences(bs->encseq),
                               sizeof (char*));
  return bs;
}

// Assembly:
subq $0x38, %rsp
movb %sil, %al
movq %rdi, 0x28(%rsp)
andb $0x1, %al
movb %al, 0x27(%rsp)
movq %rdx, 0x18(%rsp)
movl $0x0, 0xc(%rsp)
cmpq $0x0, 0x18(%rsp)
je 0x10bf7f
movq 0x18(%rsp), %rdi
callq 0xc270
testb $0x1, %al
jne 0x10bf47
jmp 0x10bf7f
movq 0xa808a(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x5210e(%rip), %rsi     # 0x15e066
leaq 0x526e9(%rip), %rdx     # 0x15e648
leaq 0x786a8(%rip), %rcx     # 0x18460e
leaq 0x781e5(%rip), %r8      # 0x184152
movl $0xe2, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x10bf81
movl $0x1, %edi
movl $0x30, %esi
leaq 0x781c0(%rip), %rdx     # 0x184152
movl $0xe3, %ecx
callq 0xd5b0
movq %rax, 0x10(%rsp)
movq 0x28(%rsp), %rdi
callq 0x19940
movq %rax, %rdi
leaq 0x5f127(%rip), %rsi     # 0x16b0dc
callq 0xb850
cmpl $0x0, %eax
jne 0x10bfc7
movq 0x10(%rsp), %rax
movb $0x1, (%rax)
movq 0x10(%rsp), %rax
testb $0x1, (%rax)
jne 0x10c017
movq 0x28(%rsp), %rdi
callq 0x19940
movq %rax, %rdi
callq 0x84330
testb $0x1, %al
jne 0x10c017
movq 0x18(%rsp), %rax
movq %rax, (%rsp)
movq 0x28(%rsp), %rdi
callq 0x19940
movq (%rsp), %rdi
movq %rax, %rdx
leaq 0x78628(%rip), %rsi     # 0x184630
movb $0x0, %al
callq 0xc0d0
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
cmpl $0x0, 0xc(%rsp)
jne 0x10c050
movq 0x28(%rsp), %rdi
callq 0x19dc0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x8(%rax)
movq 0x10(%rsp), %rdi
movb 0x27(%rsp), %al
movq 0x18(%rsp), %rdx
andb $0x1, %al
movzbl %al, %esi
callq 0x10da00
movl %eax, 0xc(%rsp)
cmpl $0x0, 0xc(%rsp)
je 0x10c06f
movq 0x10(%rsp), %rdi
callq 0x10c1d0
movq $0x0, 0x30(%rsp)
jmp 0x10c0f4
jmp 0x10c071
movq 0x10(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x10c0b5
movq 0xa7f54(%rip), %rax     # 0x1b3fd8
movq (%rax), %rdi
leaq 0x51fd8(%rip), %rsi     # 0x15e066
leaq 0x78191(%rip), %rdx     # 0x184226
leaq 0x78572(%rip), %rcx     # 0x18460e
leaq 0x780af(%rip), %r8      # 0x184152
movl $0xf3, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x10c0b7
movq 0x10(%rsp), %rax
movq 0x20(%rax), %rdi
callq 0x113f30
movq %rax, %rdi
movl $0x8, %esi
leaq 0x7807e(%rip), %rdx     # 0x184152
movl $0xf5, %ecx
callq 0xd5b0
movq %rax, %rcx
movq 0x10(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x10(%rsp), %rax
movq %rax, 0x30(%rsp)
movq 0x30(%rsp), %rax
addq $0x38, %rsp
retq
nop