// File: /workspace/github_c_makefile_star2_O1/genometools[P]genometools/src/extended/gap_str.c
// Function: gt_gap_str_new
static GtGapStr *gt_gap_str_new(const char *str, bool is_protein, GtError *err)
{
  GtGapStr *gap_str;
  gap_str = gt_malloc(sizeof (GtGapStr));
  gap_str->is_protein_alignment = is_protein;
  gap_str->step = is_protein ? 3 : 1;
  gap_str->ali_len = 0;
  gap_str->ref_len = 0;
  gap_str->tar_len = 0;
  if (gt_gap_str_parse(gap_str, str, err) != 0) {
    gt_free(gap_str);
    return NULL;
  }
  return gap_str;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movl %esi, %ebp
movq %rdi, %r15
leaq 0x6f25c(%rip), %rsi     # 0xf45c4
movl $0x28, %edi
movl $0x87, %edx
callq 0x35ee2
movb %bpl, 0x20(%rax)
movl %ebp, %ecx
leaq 0x1(,%rcx,2), %rcx
movq %rcx, 0x18(%rax)
pxor %xmm0, %xmm0
movdqu %xmm0, (%rax)
movq %rax, 0x8(%rsp)
movq $0x0, 0x10(%rax)
movq %r15, %rdi
callq 0x722dc
testq %r15, %r15
je 0x85680
movq %rax, %r14
testq %rbx, %rbx
je 0x853c7
movq %rbx, %rdi
callq 0x3566a
testb %al, %al
jne 0x85685
callq 0x3a794
movq %rax, %r12
movq %rax, %rdi
callq 0x3a9a9
movq %r14, %rdi
callq 0xb260
movq %r12, %rdi
movq %r14, %rsi
movq %rax, %rdx
movl $0x20, %ecx
callq 0x3a7af
movq %r12, %rdi
callq 0x3a9cc
testq %rax, %rax
je 0x8564b
movq %rax, %r13
movq %r14, 0x20(%rsp)
movq %rbx, 0x18(%rsp)
movl $0x1, %r14d
leaq -0x1(%r14), %rsi
movq %r12, %rdi
callq 0x3a990
movq %rax, %r15
movq %rax, %rdi
callq 0xb260
cmpl $0x1, %eax
jg 0x85444
movzbl (%r15), %ecx
cmpl $0xa, %ecx
je 0x85444
cmpl $0x20, %ecx
jne 0x854ec
cmpl $0x1, %eax
jle 0x8567b
movzbl (%r15), %eax
movsbl %al, %edx
leal -0x44(%rax), %ecx
cmpl $0x9, %ecx
ja 0x8546c
leaq 0x6f0ed(%rip), %rsi     # 0xf4550
movslq (%rsi,%rcx,4), %rax
addq %rsi, %rax
jmpq *%rax
cmpl $0x52, %eax
jne 0x8550c
movq 0x8(%rsp), %rax
cmpb $0x0, 0x20(%rax)
je 0x8551c
movq %r15, %rbp
incq %rbp
movzbl (%r15), %ebx
leaq 0x10(%rsp), %rdi
movq %rbp, %rsi
callq 0x39e0b
testl %eax, %eax
sete %r15b
je 0x854c0
xorl %ebx, %ebx
movq 0x18(%rsp), %rdi
leaq 0x6f224(%rip), %rsi     # 0xf46d5
movq %rbp, %rdx
xorl %eax, %eax
callq 0x3559f
jmp 0x855ed
leal -0x44(%rbx), %eax
cmpl $0x9, %eax
ja 0x85539
leaq 0x6f0a9(%rip), %rcx     # 0xf4578
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
imulq 0x18(%rcx), %rax
jmp 0x855e4
xorl %ebx, %ebx
movq 0x18(%rsp), %rdi
leaq 0x6f136(%rip), %rsi     # 0xf4630
movq %r15, %rdx
xorl %eax, %eax
callq 0x3559f
xorl %r15d, %r15d
jmp 0x855ed
xorl %ebx, %ebx
movq 0x18(%rsp), %rdi
leaq 0x6f18e(%rip), %rsi     # 0xf46a8
jmp 0x8552a
xorl %ebx, %ebx
movq 0x18(%rsp), %rdi
leaq 0x6f130(%rip), %rsi     # 0xf465a
xorl %eax, %eax
callq 0x3559f
movb $0x1, %r15b
jmp 0x855ed
cmpl $0x52, %ebx
jne 0x8568a
movq 0x10(%rsp), %rdx
movq 0x8(%rsp), %rax
cmpq %rdx, (%rax)
jb 0x8555e
movb $0x1, %bl
movq 0x8(%rsp), %rax
cmpq %rdx, 0x10(%rax)
jae 0x85573
xorl %ebx, %ebx
movq 0x18(%rsp), %rdi
leaq 0x6f194(%rip), %rsi     # 0xf4700
xorl %eax, %eax
callq 0x3559f
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
subq %rax, (%rcx)
subq %rax, 0x10(%rcx)
jmp 0x855ed
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
imulq 0x18(%rcx), %rax
addq %rax, 0x10(%rcx)
movdqu (%rcx), %xmm0
movq %rax, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
paddq %xmm0, %xmm1
movdqu %xmm1, (%rcx)
jmp 0x855eb
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
imulq 0x18(%rcx), %rax
movdqu 0x8(%rcx), %xmm0
movq %rax, %xmm1
pshufd $0x44, %xmm1, %xmm1     # xmm1 = xmm1[0,1,0,1]
paddq %xmm0, %xmm1
movdqu %xmm1, 0x8(%rcx)
jmp 0x855eb
movq 0x10(%rsp), %rax
movq 0x8(%rsp), %rcx
addq %rax, (%rcx)
addq %rax, 0x10(%rcx)
movb $0x1, %bl
testb %r15b, %r15b
je 0x85608
cmpq %r13, %r14
setae %al
movl %ebx, %ecx
xorb $0x1, %cl
incq %r14
orb %al, %cl
je 0x85416
leaq 0x6efb5(%rip), %rsi     # 0xf45c4
movq 0x20(%rsp), %rdi
movl $0x7f, %edx
callq 0x362a0
movq %r12, %rdi
callq 0x3a9dc
testb %bl, %bl
jne 0x85667
leaq 0x6ef93(%rip), %rsi     # 0xf45c4
movq 0x8(%rsp), %rdi
movl $0x8e, %edx
callq 0x362a0
movq $0x0, 0x8(%rsp)
jmp 0x85667
leaq 0x6ef72(%rip), %rsi     # 0xf45c4
movq %r14, %rdi
movl $0x7f, %edx
callq 0x362a0
movq %r12, %rdi
callq 0x3a9dc
movq 0x8(%rsp), %rax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1f7c7
callq 0x1f835
callq 0x1f790
callq 0x1f7fe