// File: /workspace/github_c_makefile_star2_O2/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 $0x18, %rsp
movq %r9, 0x10(%rsp)
movl %r8d, %r13d
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r12
movq 0x58(%rsp), %rbp
movl 0x50(%rsp), %r15d
leaq 0x41fcb0(%rip), %rsi    # 0x6125cd
movq %rdi, (%rsp)
callq 0x1f01b0
testq %rax, %rax
je 0x1f2a64
movq %rax, %rbx
movq %rbp, %rdi
callq 0x1f5e3e
xorl %edx, %edx
testl %eax, %eax
setne %dl
leaq 0x3f8118(%rip), %rsi    # 0x5eaa60
xorl %ebp, %ebp
movq %rbx, %rdi
xorl %eax, %eax
callq 0x1f0220
movl %r13d, (%rsp)
movslq %r13d, %rax
movq 0x8(%rsp), %rcx
movsbl -0x1(%rcx,%rax), %edi
movq %rbx, %rsi
callq 0x1f01e0
testl %r15d, %r15d
movl %r15d, 0x8(%rsp)
cmovgl %r15d, %ebp
testq %r12, %r12
je 0x1f29a5
movl %ebp, %r13d
leaq 0x3f80ea(%rip), %r15    # 0x5eaa72
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x1f29c7
movl (%r12,%rbp,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1f0220
incq %rbp
jmp 0x1f298a
leaq 0x3f80c2(%rip), %r15    # 0x5eaa6e
pushq $0x21
popq %r12
subl $0x1, %ebp
jb 0x1f29c7
movq %rbx, %rdi
movq %r15, %rsi
movl %r12d, %edx
xorl %eax, %eax
callq 0x1f0220
jmp 0x1f29b0
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x1f01e0
movslq 0x8(%rsp), %rax
movq 0x10(%rsp), %rcx
movsbl -0x1(%rcx,%rax), %edi
movq %rbx, %rsi
callq 0x1f01e0
xorl %r15d, %r15d
movl (%rsp), %eax
testl %eax, %eax
cmovgl %eax, %r15d
testq %r14, %r14
je 0x1f2a22
movl %r15d, %r12d
leaq 0x3f806e(%rip), %r15    # 0x5eaa72
xorl %r13d, %r13d
cmpq %r13, %r12
je 0x1f2a43
movl (%r14,%r13,4), %edx
movq %rbx, %rdi
movq %r15, %rsi
xorl %eax, %eax
callq 0x1f0220
incq %r13
jmp 0x1f2a07
leaq 0x3f8045(%rip), %r14    # 0x5eaa6e
pushq $0x21
popq %rbp
subl $0x1, %r15d
jb 0x1f2a43
movq %rbx, %rdi
movq %r14, %rsi
movl %ebp, %edx
xorl %eax, %eax
callq 0x1f0220
jmp 0x1f2a2c
pushq $0xa
popq %rdi
movq %rbx, %rsi
callq 0x1f01e0
movq %rbx, %rdi
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x1f0170
callq 0x1f0030
movl (%rax), %edi
callq 0x1f0090
leaq 0x3f7fd2(%rip), %rdi    # 0x5eaa49
movq (%rsp), %rsi
movq %rax, %rdx
xorl %eax, %eax
callq 0x1f0040
pushq $-0x1
popq %rdi
callq 0x1f01d0