// File: /workspace/github_c_makefile_star2_O2/genometools[P]genometools/src/match/idxlocalisw.c
// Function: gt_multiapplysmithwaterman
void gt_multiapplysmithwaterman(SWdpresource *dpresource,
                             const GtEncseq *encseq,
                             const GtUchar *query,
                             GtUword querylen)
{
  GtUword seqnum,
                seqstartpos,
                seqlength,
                numofdbsequences = gt_encseq_num_of_sequences(encseq);

  for (seqnum = 0; seqnum < numofdbsequences; seqnum++)
  {
    seqstartpos = gt_encseq_seqstartpos(encseq, seqnum);
    seqlength = gt_encseq_seqlength(encseq, seqnum);
    applysmithwaterman(dpresource,
                       encseq,
                       seqnum,
                       seqstartpos,
                       seqstartpos + seqlength,
                       query,
                       querylen);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp            # imm = 0x108
movq %rcx, %rbx
movq %rdx, %r14
movq %rdi, %r15
movq %rsi, 0x30(%rsp)
movq %rsi, %rdi
callq 0x705a1
movq %rax, 0x98(%rsp)
leaq 0x1(%rbx), %rax
movq %rax, 0x68(%rsp)
leaq 0x8(,%rbx,8), %rax
movq %rax, 0x88(%rsp)
movq %rbx, 0x90(%rsp)
leaq (%r14,%rbx), %rbp
xorl %ebx, %ebx
movq %rbp, 0x78(%rsp)
movq %r14, 0xb8(%rsp)
movq %r15, 0x8(%rsp)
cmpq 0x98(%rsp), %rbx
je 0x163307
movq 0x30(%rsp), %r12
movq %r12, %rdi
movq %rbx, %rsi
callq 0x74d9c
movq %rax, 0x10(%rsp)
movq %r12, %rdi
movq %rbx, 0x70(%rsp)
movq %rbx, %rsi
callq 0x75173
movq 0x8(%rsp), %r15
movq %rax, 0x20(%rsp)
movq 0x68(%rsp), %rax
cmpq %rax, 0x50(%r15)
jae 0x162c13
movq 0x68(%rsp), %rax
movq %rax, 0x50(%r15)
movq 0x30(%r15), %rdi
movq 0x88(%rsp), %rsi
leaq 0x1e595c(%rip), %rbx    # 0x348530
movq %rbx, %rdx
movl $0x165, %ecx            # imm = 0x165
callq 0x93472
movq 0x8(%rsp), %rcx
movq %rax, 0x30(%rcx)
movq 0x8(%rsp), %rax
movq 0x40(%rax), %rdi
movq 0x8(%rsp), %rax
imulq $0x18, 0x50(%rax), %rsi
movq %rbx, %rdx
movl $0x168, %ecx            # imm = 0x168
callq 0x93472
movq 0x8(%rsp), %r15
movq %rax, 0x40(%r15)
movq 0x20(%rsp), %rax
addq 0x10(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x30(%r15), %r13
movq 0x90(%rsp), %rax
leaq (,%rax,8), %rax
addq %r13, %rax
movq %r13, %rcx
xorps %xmm0, %xmm0
cmpq %rax, %rcx
ja 0x162c4e
andq $0x0, (%rcx)
addq $0x8, %rcx
jmp 0x162c3f
movq $0x0, 0x48(%rsp)
xorl %r12d, %r12d
xorl %r11d, %r11d
movq 0x10(%rsp), %rsi
cmpq 0x20(%rsp), %rsi
jae 0x162d4f
movq %r12, %rbx
movq %r11, %r12
movq 0x30(%rsp), %rdi
xorl %edx, %edx
movq %rsi, %r15
callq 0x705e4
cmpb $-0x1, %al
je 0x1633ab
movq %r15, 0x28(%rsp)
movq %r15, %rcx
subq 0x10(%rsp), %rcx
incq %rcx
xorl %edx, %edx
xorl %r8d, %r8d
movq 0x8(%rsp), %r15
xorps %xmm0, %xmm0
movq %r12, %r11
movq %rbx, %r12
leaq (%r14,%rdx), %r9
cmpq %rbp, %r9
jae 0x162d42
cmpb $-0x1, (%r9)
je 0x163319
movq 0x28(%r15), %rdi
addq (%r13,%rdx,8), %rdi
movq 0x8(%r13,%rdx,8), %rsi
movq %rdi, 0x8(%r13,%rdx,8)
movb (%r9), %r9b
cmpb %al, %r9b
setne %r10b
cmpb $-0x2, %r9b
setae %r9b
orb %r10b, %r9b
movzbl %r9b, %r9d
addq 0x10(%r15,%r9,8), %r8
cmpq %rdi, %r8
jle 0x162d02
movq %r8, 0x8(%r13,%rdx,8)
movq %r8, %rdi
movq 0x28(%r15), %r8
addq %rsi, %r8
cmpq %rdi, %r8
jle 0x162d16
movq %r8, 0x8(%r13,%rdx,8)
movq %r8, %rdi
testq %rdi, %rdi
js 0x162d31
cmpq %r11, %rdi
jle 0x162d37
leaq 0x1(%rdx), %r8
movq %r8, 0x48(%rsp)
movq %rcx, %r12
movq %rdi, %r11
jmp 0x162d37
andq $0x0, 0x8(%r13,%rdx,8)
incq %rdx
movq %rsi, %r8
jmp 0x162cad
movq 0x28(%rsp), %rsi
incq %rsi
jmp 0x162c62
cmpq 0x38(%r15), %r11
jl 0x1632fa
movq 0x40(%r15), %rcx
imulq $0x18, 0x48(%rsp), %rax
addq %rcx, %rax
movq %rcx, 0x80(%rsp)
movq 0x30(%rsp), %rbx
cmpq %rax, %rcx
ja 0x162d86
andq $0x0, 0x10(%rcx)
movups %xmm0, (%rcx)
addq $0x18, %rcx
jmp 0x162d73
movq 0x10(%rsp), %rax
addq %rax, %r12
addq %r14, 0x48(%rsp)
movq 0x80(%rsp), %rcx
addq $0x28, %rcx
movq %rcx, 0xb0(%rsp)
movq $0x0, 0x40(%rsp)
movq $0x0, 0x18(%rsp)
movq $0x0, 0x50(%rsp)
movq $0x0, 0x38(%rsp)
movq $0x0, 0x58(%rsp)
movq %rax, %rsi
movq %r11, 0xa8(%rsp)
movq %r12, 0xa0(%rsp)
cmpq %r12, %rsi
jae 0x162f78
movq %rbx, %rdi
xorl %edx, %edx
movq %rsi, %r15
callq 0x705e4
movb %al, 0x20(%rsp)
cmpb $-0x1, %al
je 0x163406
movq 0x80(%rsp), %rax
movq (%rax), %rbp
movq 0x8(%rax), %r8
movq 0x10(%rax), %rbx
incq %r15
movq %r15, 0x60(%rsp)
xorl %ecx, %ecx
movq 0xb0(%rsp), %rdx
movq %rbp, %rdi
xorps %xmm0, %xmm0
leaq (%r14,%rcx), %r12
leaq -0x10(%rdx), %r11
cmpq 0x48(%rsp), %r12
jae 0x162f4f
cmpb $-0x1, (%r12)
je 0x163345
movq %rcx, 0x28(%rsp)
movq -0x10(%rdx), %r13
movq -0x8(%rdx), %r14
movq (%rdx), %rcx
movq 0x8(%rsp), %rax
movq 0x28(%rax), %rsi
addq %rsi, %rbp
movq %rbp, -0x10(%rdx)
movq -0x20(%rdx), %r10
movq -0x18(%rdx), %r9
incq %r10
movq %r10, -0x8(%rdx)
movq %r9, (%rdx)
movb (%r12), %r12b
cmpb 0x20(%rsp), %r12b
setne %r15b
cmpb $-0x2, %r12b
setae %r12b
orb %r15b, %r12b
movzbl %r12b, %r15d
addq 0x10(%rax,%r15,8), %rdi
cmpq %rbp, %rdi
jle 0x162ec4
movq %rdi, -0x10(%rdx)
incq %r8
movq %r8, -0x8(%rdx)
incq %rbx
movq %rbx, (%rdx)
movq %rbx, %r9
movq %r8, %r10
movq %rdi, %rbp
addq %r13, %rsi
cmpq %rbp, %rsi
movq %rcx, %rbx
jle 0x162ee4
movq %rsi, -0x10(%rdx)
movq %r14, -0x8(%rdx)
leaq 0x1(%rbx), %r9
movq %r9, (%rdx)
movq %r14, %r10
movq %rsi, %rbp
testq %rbp, %rbp
movq 0x28(%rsp), %rcx
js 0x162f2a
cmpq 0x58(%rsp), %rbp
jle 0x162f35
movq %rcx, %rax
subq %r10, %rax
incq %rax
movq %rax, 0x18(%rsp)
movq 0x10(%rsp), %rax
leaq (%rax,%r9), %rsi
movq 0x60(%rsp), %rax
subq %rsi, %rax
movq %rax, 0x50(%rsp)
movq %r10, 0x40(%rsp)
movq %r9, 0x38(%rsp)
movq %rbp, 0x58(%rsp)
jmp 0x162f35
movups %xmm0, (%r11)
andq $0x0, 0x10(%r11)
xorl %ebp, %ebp
addq $0x18, %rdx
incq %rcx
movq %r14, %r8
movq %r13, %rdi
movq 0xb8(%rsp), %r14
jmp 0x162e34
movq 0x30(%rsp), %rbx
movq 0x8(%rsp), %r15
movq 0x78(%rsp), %rbp
movq 0xa8(%rsp), %r11
movq 0xa0(%rsp), %r12
movq 0x60(%rsp), %rsi
jmp 0x162de7
cmpq %r11, 0x58(%rsp)
jne 0x163499
movb $0x0, 0xc0(%rsp)
movq 0x50(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0x38(%rsp), %rax
movq %rax, 0xd8(%rsp)
movq 0x70(%rsp), %rax
movq %rax, 0xc8(%rsp)
movq 0x18(%rsp), %rax
movq %rax, 0xe8(%rsp)
movq 0x40(%rsp), %rax
movq %rax, 0xf0(%rsp)
testq %r11, %r11
js 0x163468
movq %r11, 0xf8(%rsp)
cmpb $0x1, (%r15)
jne 0x16306c
movq 0x40(%rsp), %rax
incq %rax
movq 0x38(%rsp), %rbx
leaq 0x1(%rbx), %r12
imulq %rax, %r12
cmpq %r12, 0x58(%r15)
jae 0x163027
movq %r12, 0x58(%r15)
movq 0x68(%r15), %rdi
movq %r12, %rsi
leaq 0x1e551c(%rip), %rdx    # 0x348530
movl $0x189, %ecx            # imm = 0x189
callq 0x93472
movq 0x8(%rsp), %r15
movq %rax, 0x68(%r15)
movq 0x8(%r15), %rdi
callq 0xb52f8
movq 0x8(%rsp), %rdx
cmpq %rbx, 0x60(%rdx)
movq %r12, 0x58(%rsp)
jae 0x163084
movq %rbx, 0x60(%rdx)
movq 0x48(%rdx), %rdi
movq %rbx, %rsi
leaq 0x1e54de(%rip), %rdx    # 0x348530
movl $0x192, %ecx            # imm = 0x192
callq 0x93472
movq 0x8(%rsp), %rdx
movq %rax, 0x28(%rsp)
movq %rax, 0x48(%rdx)
jmp 0x16308d
andq $0x0, 0xe0(%rsp)
leaq 0x100(%rsp), %rax
xorl %ecx, %ecx
jmp 0x1632e3
movq 0x48(%rdx), %rax
movq %rax, 0x28(%rsp)
movq 0x8(%rdx), %rbp
movq 0x30(%rdx), %rbx
movq 0x68(%rdx), %rsi
movq 0x38(%rdx), %rax
movq %rax, 0x60(%rsp)
movb $0x0, (%rsi)
andq $0x0, (%rbx)
movq 0x18(%rsp), %rax
addq %r14, %rax
leaq 0x8(%rbx), %rcx
movq %rcx, 0x20(%rsp)
movq %rax, 0x18(%rsp)
movq 0x40(%rsp), %rcx
leaq (%rax,%rcx), %r13
xorl %eax, %eax
movq 0x18(%rsp), %rcx
addq %rax, %rcx
cmpq %r13, %rcx
jae 0x1630ee
movq 0x28(%rdx), %rcx
addq (%rbx,%rax,8), %rcx
movq %rcx, 0x8(%rbx,%rax,8)
movb $0x2, 0x1(%rsi,%rax)
incq %rax
jmp 0x1630ca
movq 0x50(%rsp), %rcx
addq 0x10(%rsp), %rcx
movq 0x38(%rsp), %rdx
addq %rcx, %rdx
movq %rdx, 0x48(%rsp)
movq %rsi, 0x10(%rsp)
leaq (%rsi,%rax), %r15
incq %r15
movq %rcx, 0x50(%rsp)
movq %rcx, %rsi
cmpq 0x48(%rsp), %rsi
jae 0x1631f6
movq 0x30(%rsp), %rdi
movq %rsi, %r12
xorl %edx, %edx
callq 0x705e4
cmpb $-0x1, %al
je 0x163437
movq (%rbx), %rdi
movq 0x8(%rsp), %r10
movq 0x28(%r10), %rcx
addq %rdi, %rcx
movq %rcx, (%rbx)
movb $0x4, (%r15)
incq %r15
movq 0x20(%rsp), %rcx
movq 0x18(%rsp), %rdx
cmpq %r13, %rdx
jae 0x1631eb
cmpb $-0x1, (%rdx)
je 0x163373
movq (%rcx), %rsi
movq 0x28(%r10), %r8
addq -0x8(%rcx), %r8
movq %r8, (%rcx)
movb $0x2, (%r15)
movb (%rdx), %r8b
cmpb %al, %r8b
setne %r9b
cmpb $-0x2, %r8b
setae %r8b
orb %r9b, %r8b
movzbl %r8b, %r8d
addq 0x10(%r10,%r8,8), %rdi
movq (%rcx), %r8
cmpq %r8, %rdi
jl 0x1631bb
sete %r8b
addb %r8b, %r8b
incb %r8b
movb %r8b, (%r15)
movq %rdi, (%rcx)
movq %rdi, %r8
movq 0x28(%r10), %rdi
addq %rsi, %rdi
cmpq %r8, %rdi
jl 0x1631d9
movb $0x4, %r8b
jne 0x1631d3
movb (%r15), %r8b
orb $0x4, %r8b
movb %r8b, (%r15)
movq %rdi, (%rcx)
addq $0x8, %rcx
incq %rdx
incq %r15
movq %rsi, %rdi
jmp 0x16315e
movq %r12, %rsi
incq %rsi
jmp 0x163119
movq 0x58(%rsp), %rax
movq 0x10(%rsp), %rcx
leaq (%rcx,%rax), %rbx
decq %rbx
pushq $-0x2
popq %r15
movq 0x40(%rsp), %rax
subq %rax, %r15
movq %rax, %r12
notq %r12
movq 0x38(%rsp), %r13
movzbl (%rbx), %eax
movq %rbp, %rdi
testb $0x2, %al
je 0x163232
callq 0xb5258
decq %rbx
jmp 0x16321e
testb $0x1, %al
jne 0x163244
testb $0x4, %al
je 0x163279
callq 0xb52a8
movq %r12, %rax
jmp 0x16324c
callq 0xb5208
movq %r15, %rax
subq $0x1, %r13
jb 0x1633d8
addq %rax, %rbx
movq 0x50(%rsp), %rax
leaq (%rax,%r13), %rsi
movq 0x30(%rsp), %rdi
xorl %edx, %edx
callq 0x705e4
movq 0x28(%rsp), %rcx
movb %al, (%rcx,%r13)
jmp 0x16321e
movq 0x18(%rsp), %rsi
movq 0x40(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq 0x38(%rsp), %r8
callq 0xb4f1f
movq 0x8(%rsp), %rax
movq 0x10(%rax), %rdx
movq 0x18(%rax), %rcx
movq 0x28(%rax), %r8
movq %rbp, %rdi
xorl %esi, %esi
callq 0xb55cb
testq %rax, %rax
js 0x1634ca
cmpq 0x60(%rsp), %rax
jb 0x1634ca
movq 0x8(%rsp), %r15
movq 0x8(%r15), %rax
movq %rax, 0x100(%rsp)
movq 0x48(%r15), %rcx
leaq 0xe0(%rsp), %rax
movq 0x78(%rsp), %rbp
movq %rcx, (%rax)
movq 0x78(%r15), %rdi
leaq 0xc0(%rsp), %rsi
movq 0x8(%rsp), %rax
callq *0x70(%rax)
movq 0x70(%rsp), %rbx
incq %rbx
jmp 0x162b70
addq $0x108, %rsp            # imm = 0x108
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x2d4c48(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181ce9(%rip), %rsi    # 0x2e5013
leaq 0x1e529a(%rip), %rdx    # 0x3485cb
leaq 0x1e527c(%rip), %rcx    # 0x3485b4
leaq 0x1e51f1(%rip), %r8     # 0x348530
pushq $0x41
popq %r9
jmp 0x16339f
movq 0x2d4c1c(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181cbd(%rip), %rsi    # 0x2e5013
leaq 0x1e526e(%rip), %rdx    # 0x3485cb
leaq 0x1e5287(%rip), %rcx    # 0x3485eb
leaq 0x1e51c5(%rip), %r8     # 0x348530
movl $0x8f, %r9d
jmp 0x16339f
movq 0x2d4bee(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181c8f(%rip), %rsi    # 0x2e5013
leaq 0x1e5240(%rip), %rdx    # 0x3485cb
leaq 0x1e5271(%rip), %rcx    # 0x348603
leaq 0x1e5197(%rip), %r8     # 0x348530
movl $0xd9, %r9d
xorl %eax, %eax
callq 0x17a50
callq 0x17390
movq 0x2d4bb6(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181c57(%rip), %rsi    # 0x2e5013
leaq 0x1e51ce(%rip), %rdx    # 0x348591
leaq 0x1e51ea(%rip), %rcx    # 0x3485b4
leaq 0x1e515f(%rip), %r8     # 0x348530
pushq $0x3e
jmp 0x163341
movq 0x2d4b89(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181c2a(%rip), %rsi    # 0x2e5013
leaq 0x1e5224(%rip), %rdx    # 0x348614
leaq 0x1e5226(%rip), %rcx    # 0x34861d
leaq 0x1e5132(%rip), %r8     # 0x348530
movl $0x11a, %r9d            # imm = 0x11A
jmp 0x16339f
movq 0x2d4b5b(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181bfc(%rip), %rsi    # 0x2e5013
leaq 0x1e5173(%rip), %rdx    # 0x348591
leaq 0x1e51c6(%rip), %rcx    # 0x3485eb
leaq 0x1e5104(%rip), %r8     # 0x348530
movl $0x8b, %r9d
jmp 0x16339f
movq 0x2d4b2a(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181bcb(%rip), %rsi    # 0x2e5013
leaq 0x1e5142(%rip), %rdx    # 0x348591
leaq 0x1e51ad(%rip), %rcx    # 0x348603
leaq 0x1e50d3(%rip), %r8     # 0x348530
movl $0xd2, %r9d
jmp 0x16339f
movq 0x2d4af9(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181b9a(%rip), %rsi    # 0x2e5013
leaq 0x1e50f8(%rip), %rdx    # 0x348578
leaq 0x1e50de(%rip), %rcx    # 0x348565
leaq 0x1e50a2(%rip), %r8     # 0x348530
movl $0x17d, %r9d            # imm = 0x17D
jmp 0x16339f
movq 0x2d4ac8(%rip), %rax    # 0x437f68
movq (%rax), %rdi
leaq 0x181b69(%rip), %rsi    # 0x2e5013
leaq 0x1e5097(%rip), %rdx    # 0x348548
leaq 0x1e50ad(%rip), %rcx    # 0x348565
leaq 0x1e5071(%rip), %r8     # 0x348530
movl $0x176, %r9d            # imm = 0x176
jmp 0x16339f
movq 0x2d4a97(%rip), %rcx    # 0x437f68
movq (%rcx), %rdi
leaq 0x1e4f51(%rip), %rsi    # 0x34842c
movq %rax, %rdx
xorl %eax, %eax
callq 0x17a50
pushq $0x2
popq %rdi
callq 0x178f0