// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/extended/swalign.c
// Function: gt_swalign
GtAlignment* gt_swalign(GtSeq *u, GtSeq *v, const GtScoreFunction *sf)
{
  gt_assert(u && v && sf);
  return smith_waterman_align(gt_seq_get_orig(u), gt_seq_get_orig(v),
                              gt_seq_get_encoded(u), gt_seq_get_encoded(v),
                              gt_seq_length(u), gt_seq_length(v),
                              gt_score_function_get_scores(sf),
                              gt_score_function_get_deletion_score(sf),
                              gt_score_function_get_insertion_score(sf),
                              gt_seq_get_alphabet(u), gt_seq_get_alphabet(v));
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
testq %rdi, %rdi
je 0x125265
movq %rsi, %rbx
testq %rsi, %rsi
je 0x125265
movq %rdx, %r12
testq %rdx, %rdx
je 0x125265
movq %rdi, %r15
callq 0xa5761
movq %rax, 0x30(%rsp)
movq %rbx, %rdi
callq 0xa5761
movq %rax, %r13
movq %r15, %rdi
callq 0xa57a1
movq %rax, %rbp
movq %rbx, %rdi
callq 0xa57a1
movq %rax, %r14
movq %r15, %rdi
callq 0xa5869
movq %rax, 0x8(%rsp)
movq %rbx, %rdi
callq 0xa5869
movq %rax, 0x18(%rsp)
movq %r12, %rdi
callq 0xa4900
movq %rax, 0x38(%rsp)
movq %r12, %rdi
callq 0xa4944
movl %eax, 0x28(%rsp)
movq %r12, %rdi
callq 0xa4984
movl %eax, 0x20(%rsp)
movq %r15, %rdi
callq 0xa5828
movq %rax, %r15
movq %rbx, %rdi
callq 0xa5828
movq %rbp, 0x50(%rsp)
movq %rbp, %xmm0
movq %r14, 0x48(%rsp)
movq %r14, %xmm1
punpcklqdq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0]
movq 0x30(%rsp), %xmm1
movq %r13, 0x40(%rsp)
movq %r13, %xmm2
punpcklqdq %xmm2, %xmm1    # xmm1 = xmm1[0],xmm2[0]
pxor %xmm2, %xmm2
pcmpeqd %xmm2, %xmm1
pcmpeqd %xmm2, %xmm0
movdqa %xmm1, %xmm2
shufps $0xdd, %xmm0, %xmm2     # xmm2 = xmm2[1,3],xmm0[1,3]
shufps $0x88, %xmm0, %xmm1     # xmm1 = xmm1[0,2],xmm0[0,2]
andps %xmm2, %xmm1
movmskps %xmm1, %ecx
testl %ecx, %ecx
jne 0x125293
cmpq $0x0, 0x38(%rsp)
je 0x125293
testq %r15, %r15
je 0x125293
testq %rax, %rax
je 0x125293
cmpq $0x0, 0x8(%rsp)
je 0x125293
cmpq $0x0, 0x18(%rsp)
je 0x125293
movq %rax, 0x10(%rsp)
movq 0x8(%rsp), %rax
leaq 0x1(%rax), %r13
leaq 0x8(,%rax,8), %rdi
leaq 0x210f30(%rip), %r12    # 0x335e4c
pushq $0x78
popq %rbx
movq %r12, %rsi
movl %ebx, %edx
callq 0x93160
movq %r15, %rbp
movq %rax, %r15
movq 0x18(%rsp), %rax
leaq 0x1(%rax), %r14
movq %r14, %rdi
imulq %r13, %rdi
pushq $0x10
popq %rsi
movq %r12, %rdx
movl %ebx, %ecx
callq 0x9334a
movq %r15, (%rsp)
movq %rax, (%r15)
movq %rbp, %rdi
pushq $0x1
popq %rax
shlq $0x4, %r14
movq (%rsp), %rdx
cmpq %r13, %rax
jae 0x124f77
movq -0x8(%rdx,%rax,8), %rcx
addq %r14, %rcx
movq %rcx, (%rdx,%rax,8)
incq %rax
jmp 0x124f61
callq 0x56cd2
movl %eax, %ebx
movq 0x10(%rsp), %rdi
callq 0x56cd2
movl %ebx, 0x10(%rsp)
testl %ebx, %ebx
je 0x1252bd
testl %eax, %eax
je 0x1252bd
decl 0x10(%rsp)
decl %eax
movslq 0x28(%rsp), %rcx
movq %rcx, 0x28(%rsp)
movslq 0x20(%rsp), %rcx
movq %rcx, 0x20(%rsp)
pushq $0x1
popq %r9
movabsq $-0x8000000000000000, %rdi # imm = 0x8000000000000000
pushq $-0x1
popq %r12
movl $0xfe, %r8d
movq %r12, %rbx
cmpq 0x18(%rsp), %r9
ja 0x1250b4
leaq -0x1(%r9), %r10
shlq $0x4, %r10
movq %r9, %r11
shlq $0x4, %r11
pushq $0x1
popq %rsi
cmpq 0x8(%rsp), %rsi
ja 0x1250ac
movq 0x50(%rsp), %rcx
movzbl -0x1(%rcx,%rsi), %ecx
cmpl %r8d, %ecx
cmovel 0x10(%rsp), %ecx
movq 0x48(%rsp), %r14
movzbl -0x1(%r14,%r9), %ebp
cmpl %r8d, %ebp
movl %eax, %edx
cmovel %eax, %ebp
movslq %ecx, %rcx
movq 0x38(%rsp), %r14
movq (%r14,%rcx,8), %rcx
movslq %ebp, %r14
movslq (%rcx,%r14,4), %r14
movq (%rsp), %rcx
movq -0x8(%rcx,%rsi,8), %rcx
addq (%rcx,%r10), %r14
movq (%rcx,%r11), %r15
addq 0x28(%rsp), %r15
movq %r14, %rbp
cmpq %r15, %r14
jg 0x125052
movq %r15, %rbp
movq (%rsp), %rcx
movq (%rcx,%rsi,8), %r13
movq (%r13,%r10), %rcx
addq 0x20(%rsp), %rcx
cmpq %rcx, %rbp
jg 0x12506c
movq %rcx, %rbp
testq %rbp, %rbp
jg 0x125073
xorl %ebp, %ebp
movq %rbp, (%r13,%r11)
cmpq %r14, %rbp
sete 0x8(%r13,%r11)
cmpq %r15, %rbp
sete 0x9(%r13,%r11)
cmpq %rcx, %rbp
sete 0xa(%r13,%r11)
cmpq %rdi, %rbp
cmovgq %r9, %r12
cmovgq %rsi, %rbx
cmovgq %rbp, %rdi
incq %rsi
movl %edx, %eax
jmp 0x124fee
incq %r9
jmp 0x124fd1
cmpq $-0x1, %rbx
je 0x1252ea
cmpq $-0x1, %r12
je 0x125317
movq (%rsp), %rax
movq (%rax,%rbx,8), %rax
movq %r12, %rcx
shlq $0x4, %rcx
cmpq $0x0, (%rax,%rcx)
je 0x1251ef
callq 0xb4e60
testq %rax, %rax
je 0x125344
movq %rax, %r14
pushq $-0x1
popq %rax
movq %rax, %rbp
movq %rbx, %r13
movq %r12, %rcx
movq %rbp, %rdx
movq %rcx, %rbp
movq (%rsp), %rcx
movq (%rcx,%r13,8), %rsi
movq %rbp, %rdi
shlq $0x4, %rdi
leaq (%rsi,%rdi), %rcx
movq (%rsi,%rdi), %rsi
testq %rsi, %rsi
je 0x125173
jle 0x12522f
cmpb $0x1, 0x8(%rcx)
je 0x125152
cmpb $0x1, 0x9(%rcx)
je 0x125160
cmpb $0x1, 0xa(%rcx)
movq %r13, %rax
movq %rbp, %rdx
jne 0x12511c
movq %r14, %rdi
callq 0xb52a8
movq %rbp, %rdx
decq %rbp
movq %r13, %rax
jmp 0x125105
movq %r14, %rdi
callq 0xb5208
leaq -0x1(%rbp), %rcx
jmp 0x12516b
movq %r14, %rdi
callq 0xb5258
movq %rbp, %rcx
movq %r13, %rax
decq %r13
jmp 0x1250ff
cmpq $-0x1, %rax
je 0x125371
cmpq $-0x1, %rdx
je 0x12539e
leaq -0x1(%rax), %r13
leaq -0x1(%rdx), %r15
leaq -0x1(%rbx), %rbp
leaq -0x1(%r12), %rcx
movq %rcx, 0x8(%rsp)
movq 0x30(%rsp), %rcx
leaq (%rcx,%rax), %rsi
decq %rsi
subq %rax, %rbx
incq %rbx
movq 0x40(%rsp), %rax
leaq (%rax,%rdx), %rcx
decq %rcx
subq %rdx, %r12
incq %r12
movq %r14, %rdi
movq %rbx, %rdx
movq %r12, %r8
callq 0xb4f1f
movq %r14, %rdi
movq %r13, %rsi
movq %rbp, %rdx
callq 0xb50ca
movq %r14, %rdi
movq %r15, %rsi
movq 0x8(%rsp), %rdx
callq 0xb5158
jmp 0x1251f2
xorl %r14d, %r14d
movq (%rsp), %r15
movq (%r15), %rdi
leaq 0x210c4c(%rip), %rbx    # 0x335e4c
movq %rbx, %rsi
movl $0x90, %edx
callq 0x936f9
movq %r15, %rdi
movq %rbx, %rsi
movl $0x90, %edx
callq 0x936f9
movq %r14, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x312d32(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfdd3(%rip), %rsi    # 0x2e5013
leaq 0x210d3e(%rip), %rdx    # 0x335f85
leaq 0x2571c4(%rip), %rcx    # 0x37c412
leaq 0x210bf7(%rip), %r8     # 0x335e4c
pushq $0x4f
popq %r9
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x312cfc(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfd9d(%rip), %rsi    # 0x2e5013
leaq 0x210bb7(%rip), %rdx    # 0x335e34
leaq 0x210bbd(%rip), %rcx    # 0x335e41
leaq 0x210bc1(%rip), %r8     # 0x335e4c
movl $0x96, %r9d
jmp 0x125259
movq 0x312cce(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfd6f(%rip), %rsi    # 0x2e5013
leaq 0x210bb8(%rip), %rdx    # 0x335e63
leaq 0x210c06(%rip), %rcx    # 0x335eb8
leaq 0x210b93(%rip), %r8     # 0x335e4c
pushq $0x72
jmp 0x125257
movq 0x312ca4(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfd45(%rip), %rsi    # 0x2e5013
leaq 0x210c3c(%rip), %rdx    # 0x335f11
leaq 0x210c89(%rip), %rcx    # 0x335f65
leaq 0x210b69(%rip), %r8     # 0x335e4c
pushq $0x32
jmp 0x125257
movq 0x312c77(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfd18(%rip), %rsi    # 0x2e5013
leaq 0x210bcb(%rip), %rdx    # 0x335ecd
leaq 0x210baf(%rip), %rcx    # 0x335eb8
leaq 0x210b3c(%rip), %r8     # 0x335e4c
pushq $0x7c
jmp 0x125257
movq 0x312c4a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfceb(%rip), %rsi    # 0x2e5013
leaq 0x210bc0(%rip), %rdx    # 0x335eef
leaq 0x210b82(%rip), %rcx    # 0x335eb8
leaq 0x210b0f(%rip), %r8     # 0x335e4c
pushq $0x7d
jmp 0x125257
movq 0x312c1d(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfcbe(%rip), %rsi    # 0x2e5013
leaq 0x210c1c(%rip), %rdx    # 0x335f78
leaq 0x2570af(%rip), %rcx    # 0x37c412
leaq 0x210ae2(%rip), %r8     # 0x335e4c
pushq $0x4d
jmp 0x125257
movq 0x312bf0(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfc91(%rip), %rsi    # 0x2e5013
leaq 0x210c14(%rip), %rdx    # 0x335f9d
leaq 0x257082(%rip), %rcx    # 0x37c412
leaq 0x210ab5(%rip), %r8     # 0x335e4c
pushq $0x60
jmp 0x125257
movq 0x312bc3(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x1bfc64(%rip), %rsi    # 0x2e5013
leaq 0x210c0c(%rip), %rdx    # 0x335fc2
leaq 0x257055(%rip), %rcx    # 0x37c412
leaq 0x210a88(%rip), %r8     # 0x335e4c
pushq $0x61
jmp 0x125257
nop