// File: /workspace/github_c_makefile_star2_O0/icebert[P]pblat/jkOwnLib/ffSeedExtend.c
// Function: findFromSmallerSeeds
static struct ffAli *findFromSmallerSeeds(char *nStart, char *nEnd, 
	char *hStart, char *hEnd, boolean isRc, 
	boolean scanLeft, boolean scanRight, int seedSize, int resolveLimit)
/* Look for matches with smaller seeds. */
{
int nGap = nEnd - nStart;
if (nGap >= seedSize)
    {
    struct ffAli *ffList;
    if (scanLeft || scanRight)
        {
	int hGap = hEnd - hStart;
	int maxSize = seedResolvePower(seedSize, resolveLimit);
	if (hGap > maxSize) hGap = maxSize;
	if (scanLeft)
	    hStart = hEnd - hGap;
	if (scanRight)
	    hEnd = hStart + hGap;
	}
    ffList = ffFindExtendNmers(nStart, nEnd, hStart, hEnd, seedSize);
    if (ffList != NULL)
	{
	struct ffAli *extensions = NULL, *ff;
	struct axtScoreScheme *ss = axtScoreSchemeRnaDefault();
	for (ff = ffList; ff != NULL; ff = ff->right)
	    {
	    bandExtBefore(ss, ff, ff->nStart - nStart, ff->hStart - hStart, &extensions);
	    bandExtAfter(ss, ff, nEnd - ff->nEnd, hEnd - ff->hEnd, &extensions);
	    }
	ffCat(&ffList, &extensions);
	}

    return ffList;
    }
return NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movl %r9d, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
movl %eax, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl 0x18(%rbp), %eax
jl 0x1bb4f
cmpl $0x0, -0x30(%rbp)
jne 0x1ba1f
cmpl $0x0, 0x10(%rbp)
je 0x1ba7a
movq -0x28(%rbp), %rax
movq -0x20(%rbp), %rcx
subq %rcx, %rax
movl %eax, -0x44(%rbp)
movl 0x18(%rbp), %edi
movl 0x20(%rbp), %esi
callq 0x1c510
movl %eax, -0x48(%rbp)
movl -0x44(%rbp), %eax
cmpl -0x48(%rbp), %eax
jle 0x1ba49
movl -0x48(%rbp), %eax
movl %eax, -0x44(%rbp)
cmpl $0x0, -0x30(%rbp)
je 0x1ba63
movq -0x28(%rbp), %rax
movslq -0x44(%rbp), %rdx
xorl %ecx, %ecx
subq %rdx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
cmpl $0x0, 0x10(%rbp)
je 0x1ba78
movq -0x20(%rbp), %rax
movslq -0x44(%rbp), %rcx
addq %rcx, %rax
movq %rax, -0x28(%rbp)
jmp 0x1ba7a
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl 0x18(%rbp), %r8d
callq 0x1c570
movq %rax, -0x40(%rbp)
cmpq $0x0, -0x40(%rbp)
je 0x1bb45
movq $0x0, -0x50(%rbp)
movb $0x0, %al
callq 0x21e40
movq %rax, -0x60(%rbp)
movq -0x40(%rbp), %rax
movq %rax, -0x58(%rbp)
cmpq $0x0, -0x58(%rbp)
je 0x1bb38
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq -0x58(%rbp), %rax
movq 0x10(%rax), %rax
movq -0x10(%rbp), %rcx
subq %rcx, %rax
movl %eax, %edx
movq -0x58(%rbp), %rax
movq 0x20(%rax), %rax
movq -0x20(%rbp), %rcx
subq %rcx, %rax
movl %eax, %ecx
leaq -0x50(%rbp), %r8
callq 0x1c800
movq -0x60(%rbp), %rdi
movq -0x58(%rbp), %rsi
movq -0x18(%rbp), %rax
movq -0x58(%rbp), %rcx
movq 0x18(%rcx), %rcx
subq %rcx, %rax
movl %eax, %edx
movq -0x28(%rbp), %rax
movq -0x58(%rbp), %rcx
movq 0x28(%rcx), %rcx
subq %rcx, %rax
movl %eax, %ecx
leaq -0x50(%rbp), %r8
callq 0x1c8f0
movq -0x58(%rbp), %rax
movq 0x8(%rax), %rax
movq %rax, -0x58(%rbp)
jmp 0x1babd
leaq -0x40(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x1a870
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x1bb57
movq $0x0, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)