// File: /workspace/github_c_makefile_star2_O1/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 0x3f09a0(%rip), %rsi    # 0x6415dd
callq 0x1f01b0
testq %rax, %rax
je 0x250d87
movq %rax, %rbx
movq %r14, 0x10(%rsp)
movq %r13, %rdi
callq 0x253d45
xorl %edx, %edx
testl %eax, %eax
setne %dl
leaq 0x3c8dff(%rip), %rsi    # 0x619a68
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 0x250cbe
cmpl $0x0, 0xc(%rsp)
jle 0x250ce8
movl 0xc(%rsp), %r13d
leaq 0x3c8dda(%rip), %r15    # 0x619a7a
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 0x250ca3
jmp 0x250ce8
cmpl $0x0, 0xc(%rsp)
jle 0x250ce8
leaq 0x3c8daa(%rip), %r15    # 0x619a76
movl 0xc(%rsp), %r14d
movq %rbx, %rdi
movq %r15, %rsi
movl $0x21, %edx
xorl %eax, %eax
callq 0x1f0220
decl %r14d
jne 0x250cd1
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 0x250d43
testl %ebp, %ebp
jle 0x250d64
movl %ebp, %r12d
leaq 0x3c8d56(%rip), %r15    # 0x619a7a
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 0x250d27
jmp 0x250d64
testl %ebp, %ebp
jle 0x250d64
leaq 0x3c8d28(%rip), %r14    # 0x619a76
movq %rbx, %rdi
movq %r14, %rsi
movl $0x21, %edx
xorl %eax, %eax
callq 0x1f0220
decl %ebp
jne 0x250d4e
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 0x3c8cb7(%rip), %rdi    # 0x619a51
movq %r15, %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1f0040
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1f01d0