// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x60, %rsp
movl 0x30(%rbp), %eax
movl 0x28(%rbp), %eax
movl 0x20(%rbp), %eax
movl 0x18(%rbp), %eax
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movl %r8d, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq $0x0, -0x38(%rbp)
movq $0x0, -0x40(%rbp)
cmpq $0x0, -0x20(%rbp)
jne 0x2be5b8
movq 0xb68a4c(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2da55(%rip), %rsi    # 0xcebfeb
leaq 0xa2e39e(%rip), %rdx    # 0xcec93b
leaq 0xa2e15a(%rip), %rcx    # 0xcec6fe
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be5ba
jmp 0x2be5bc
cmpl $0x0, -0x24(%rbp)
jg 0x2be5f5
movq 0xb68a0f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2e12e(%rip), %rsi    # 0xcec701
leaq 0xa2e361(%rip), %rdx    # 0xcec93b
leaq 0xa2e134(%rip), %rcx    # 0xcec715
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be5f7
jmp 0x2be5f9
cmpl $0x0, -0x28(%rbp)
jge 0x2be632
movq 0xb689d2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2e10b(%rip), %rsi    # 0xcec71b
leaq 0xa2e324(%rip), %rdx    # 0xcec93b
leaq 0xa2e112(%rip), %rcx    # 0xcec730
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be634
jmp 0x2be636
cmpl $0x0, -0x2c(%rbp)
jge 0x2be66f
movq 0xb68995(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2e0ce(%rip), %rsi    # 0xcec71b
leaq 0xa2e2e7(%rip), %rdx    # 0xcec93b
leaq 0xa2e0da(%rip), %rcx    # 0xcec735
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be671
jmp 0x2be673
cmpq $0x0, 0x10(%rbp)
jne 0x2be6ad
movq 0xb68957(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2d960(%rip), %rsi    # 0xcebfeb
leaq 0xa2e2a9(%rip), %rdx    # 0xcec93b
leaq 0xa2e28c(%rip), %rcx    # 0xcec925
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be6af
movq 0x10(%rbp), %rax
cmpl $0x0, 0x30(%rax)
jne 0x2be733
jmp 0x2be6bb
cmpq $0x0, -0x10(%rbp)
jne 0x2be6f5
movq 0xb6890f(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2d918(%rip), %rsi    # 0xcebfeb
leaq 0xa2e261(%rip), %rdx    # 0xcec93b
leaq 0xa2e059(%rip), %rcx    # 0xcec73a
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be6f7
jmp 0x2be6f9
cmpl $0x0, -0x14(%rbp)
jg 0x2be72f
movq 0xb688d2(%rip), %rax    # 0xe26fd8
movq (%rax), %rdi
leaq 0xa2dff1(%rip), %rsi    # 0xcec701
leaq 0xa2e224(%rip), %rdx    # 0xcec93b
leaq 0xa2e217(%rip), %rcx    # 0xcec935
movb $0x0, %al
callq 0x19e180
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
jmp 0x2be731
jmp 0x2be733
movq -0x10(%rbp), %rdi
movl -0x14(%rbp), %esi
movq 0x10(%rbp), %rdx
callq 0x382840
movq %rax, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x2be758
movq $0x0, -0x8(%rbp)
jmp 0x2be7a0
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
movl -0x24(%rbp), %edx
movl -0x28(%rbp), %ecx
movl -0x2c(%rbp), %r8d
movl 0x18(%rbp), %r9d
movl 0x20(%rbp), %r11d
movl 0x28(%rbp), %r10d
movl 0x30(%rbp), %eax
movl %r11d, (%rsp)
movl %r10d, 0x8(%rsp)
movl %eax, 0x10(%rsp)
callq 0x2be7b0
movq %rax, -0x40(%rbp)
movq -0x38(%rbp), %rdi
callq 0x1c5ef0
movq -0x40(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x60, %rsp
popq %rbp
retq
nopw (%rax,%rax)