// File: /workspace/github_c_makefile_star2_O3/nh13[P]ksw/src/parasail/tests/test_align.c
// Function: print_rowcol
static void print_rowcol(
        const char * filename,
        const int * const restrict row,
        const int * const restrict col,
        const char * const restrict s1, const int s1Len,
        const char * const restrict s2, const int s2Len,
        parasail_result_t *result)
{
    int i;
    int j;
    FILE *f = NULL;

    f = fopen(filename, "w");
    if (NULL == f) {
        printf("fopen(\"%s\") error: %s\n", filename, strerror(errno));
        exit(-1);
    }
    fprintf(f, "saturated=%d\n", parasail_result_is_saturated(result) ? 1 : 0);
    fprintf(f, "%c", s1[s1Len-1]);
    if (NULL == row) {
        for (j=0; j<s2Len; ++j) {
            fprintf(f, "%4c", '!');
        }
    }
    else {
        for (j=0; j<s2Len; ++j) {
            fprintf(f, "%4d", row[j]);
        }
    }
    fprintf(f, "\n");
    fprintf(f, "%c", s2[s2Len-1]);
    if (NULL == col) {
        for (i=0; i<s1Len; ++i) {
            fprintf(f, "%4c", '!');
        }
    }
    else {
        for (i=0; i<s1Len; ++i) {
            fprintf(f, "%4d", col[i]);
        }
    }
    fprintf(f, "\n");
    fclose(f);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r14
movl %r8d, %ebp
movq %rcx, 0x18(%rsp)
movq %rdx, 0x20(%rsp)
movq %rsi, %r12
movq %rdi, %r15
movq 0x68(%rsp), %r13
movl 0x60(%rsp), %eax
movl %eax, 0xc(%rsp)
leaq 0x423872(%rip), %rsi    # 0x67465d
callq 0x1f01b0
testq %rax, %rax
je 0x250f35
movq %rax, %rbx
movq %r14, 0x10(%rsp)
movq %r13, %rdi
callq 0x2542be
xorl %edx, %edx
testl %eax, %eax
setne %dl
leaq 0x3fbc51(%rip), %rsi    # 0x64ca68
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1f0220
movslq %ebp, %rax
movq 0x18(%rsp), %rcx
movsbl -0x1(%rcx,%rax), %edi
movq %rbx, %rsi
callq 0x1f01e0
testq %r12, %r12
je 0x250e6c
cmpl $0x0, 0xc(%rsp)
jle 0x250e96
movl 0xc(%rsp), %r13d
leaq 0x3fbc2c(%rip), %r15    # 0x64ca7a
xorl %r14d, %r14d
movl (%r12,%r14,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1f0220
incq %r14
cmpq %r14, %r13
jne 0x250e51
jmp 0x250e96
cmpl $0x0, 0xc(%rsp)
jle 0x250e96
leaq 0x3fbbfc(%rip), %r15    # 0x64ca76
movl 0xc(%rsp), %r14d
movq %rbx, %rdi
movq %r15, %rsi
movl $0x21, %edx
xorl %eax, %eax
callq 0x1f0220
decl %r14d
jne 0x250e7f
movl $0xa, %edi
movq %rbx, %rsi
callq 0x1f01e0
movslq 0xc(%rsp), %rax
movq 0x10(%rsp), %rcx
movsbl -0x1(%rcx,%rax), %edi
movq %rbx, %rsi
callq 0x1f01e0
movq 0x20(%rsp), %r13
testq %r13, %r13
je 0x250ef1
testl %ebp, %ebp
jle 0x250f12
movl %ebp, %r12d
leaq 0x3fbba8(%rip), %r15    # 0x64ca7a
xorl %r14d, %r14d
movl (%r13,%r14,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1f0220
incq %r14
cmpq %r14, %r12
jne 0x250ed5
jmp 0x250f12
testl %ebp, %ebp
jle 0x250f12
leaq 0x3fbb7a(%rip), %r14    # 0x64ca76
movq %rbx, %rdi
movq %r14, %rsi
movl $0x21, %edx
xorl %eax, %eax
callq 0x1f0220
decl %ebp
jne 0x250efc
movl $0xa, %edi
movq %rbx, %rsi
callq 0x1f01e0
movq %rbx, %rdi
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f0170
callq 0x1f0030
movl (%rax), %edi
callq 0x1f0090
leaq 0x3fbb09(%rip), %rdi    # 0x64ca51
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1f0040
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1f01d0