// File: /workspace/github_c_makefile_star2_O2/nh13[P]ksw/src/parasail/src/sg_scan_sse2_128_64.c
// Function: parasail_sg_flags_scan_sse2_128_64
parasail_result_t* FNAME(
        const char * const restrict s1, const int s1Len,
        const char * const restrict s2, const int s2Len,
        const int open, const int gap, const parasail_matrix_t *matrix,
        int s1_beg, int s1_end, int s2_beg, int s2_end)
{
    /* declare local variables */
    parasail_profile_t *profile = NULL;
    parasail_result_t *result = NULL;

    /* validate inputs */
    PARASAIL_CHECK_NULL(s2);
    PARASAIL_CHECK_GT0(s2Len);
    PARASAIL_CHECK_GE0(open);
    PARASAIL_CHECK_GE0(gap);
    PARASAIL_CHECK_NULL(matrix);
    if (matrix->type == PARASAIL_MATRIX_TYPE_SQUARE) {
        PARASAIL_CHECK_NULL(s1);
        PARASAIL_CHECK_GT0(s1Len);
    }

    /* initialize local variables */
    profile = parasail_profile_create_sse_128_64(s1, s1Len, matrix);
    if (!profile) return NULL;
    result = PNAME(profile, s2, s2Len, open, gap, s1_beg, s1_end, s2_beg, s2_end);

    parasail_profile_free(profile);

    return result;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
testq %rdx, %rdx
je 0x25037b
movl %ecx, %r14d
testl %ecx, %ecx
jle 0x25039f
movl %r8d, %ebp
testl %r8d, %r8d
js 0x2503c3
movl %r9d, %ebx
testl %r9d, %r9d
js 0x2503e7
movq %rdx, %r15
movq 0x30(%rsp), %rdx
testq %rdx, %rdx
je 0x250408
cmpl $0x0, 0x30(%rdx)
jne 0x250324
testq %rdi, %rdi
je 0x250429
testl %esi, %esi
jle 0x25044a
callq 0x29832f
testq %rax, %rax
je 0x250470
movq %rax, %r12
movl 0x50(%rsp), %eax
movl 0x48(%rsp), %r10d
movl 0x40(%rsp), %r11d
movl 0x38(%rsp), %r9d
subq $0x8, %rsp
movq %r12, %rdi
movq %r15, %rsi
movl %r14d, %edx
movl %ebp, %ecx
movl %ebx, %r8d
pushq %rax
pushq %r10
pushq %r11
callq 0x25047b
addq $0x20, %rsp
movq %rax, %rbx
movq %r12, %rdi
callq 0x1acbf0
movq %rbx, %rax
jmp 0x250472
movq 0x4eac56(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x376c5f(%rip), %rsi    # 0x5c6feb
leaq 0x3775c5(%rip), %rdx    # 0x5c7958
leaq 0x377364(%rip), %rcx    # 0x5c76fe
jmp 0x250469
movq 0x4eac32(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x377351(%rip), %rsi    # 0x5c7701
leaq 0x3775a1(%rip), %rdx    # 0x5c7958
leaq 0x377357(%rip), %rcx    # 0x5c7715
jmp 0x250469
movq 0x4eac0e(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x377347(%rip), %rsi    # 0x5c771b
leaq 0x37757d(%rip), %rdx    # 0x5c7958
leaq 0x37734e(%rip), %rcx    # 0x5c7730
jmp 0x250469
movq 0x4eabea(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x377323(%rip), %rsi    # 0x5c771b
leaq 0x377559(%rip), %rdx    # 0x5c7958
leaq 0x37732f(%rip), %rcx    # 0x5c7735
jmp 0x250469
movq 0x4eabc9(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x376bd2(%rip), %rsi    # 0x5c6feb
leaq 0x377538(%rip), %rdx    # 0x5c7958
leaq 0x37751b(%rip), %rcx    # 0x5c7942
jmp 0x250469
movq 0x4eaba8(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x376bb1(%rip), %rsi    # 0x5c6feb
leaq 0x377517(%rip), %rdx    # 0x5c7958
leaq 0x3772f2(%rip), %rcx    # 0x5c773a
jmp 0x250469
movq 0x4eab87(%rip), %rax    # 0x73afd8
movq (%rax), %rdi
leaq 0x3772a6(%rip), %rsi    # 0x5c7701
leaq 0x3774f6(%rip), %rdx    # 0x5c7958
leaq 0x3774e9(%rip), %rcx    # 0x5c7952
xorl %eax, %eax
callq 0x19e180
xorl %eax, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq