// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x50, %rsp
movq 0x18(%rbp), %rax
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq %r9, -0x30(%rbp)
movq $0x0, -0x40(%rbp)
movq -0x8(%rbp), %rdi
leaq 0xb35ef3(%rip), %rsi    # 0xd295fd
callq 0x1f0190
movq %rax, -0x40(%rbp)
xorl %eax, %eax
cmpq -0x40(%rbp), %rax
jne 0x1f374e
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
callq 0x1f0030
movl (%rax), %edi
callq 0x1f0070
movq -0x48(%rbp), %rsi
movq %rax, %rdx
leaq 0xb0e34c(%rip), %rdi    # 0xd01a89
movb $0x0, %al
callq 0x1f0040
movl $0xffffffff, %edi       # imm = 0xFFFFFFFF
callq 0x1f01b0
movq -0x40(%rbp), %rax
movq %rax, -0x50(%rbp)
movq 0x18(%rbp), %rdi
callq 0x1f9d70
movq -0x50(%rbp), %rdi
movl %eax, %ecx
xorl %edx, %edx
movl $0x1, %eax
cmpl $0x0, %ecx
cmovnel %eax, %edx
leaq 0xb0e327(%rip), %rsi    # 0xd01aa0
movb $0x0, %al
callq 0x1f01f0
movq -0x40(%rbp), %rdi
movq -0x20(%rbp), %rax
movl -0x24(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edx
leaq 0xb3f41e(%rip), %rsi    # 0xd32bba
movb $0x0, %al
callq 0x1f01f0
xorl %eax, %eax
cmpq -0x10(%rbp), %rax
jne 0x1f37de
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl 0x10(%rbp), %eax
jge 0x1f37dc
movq -0x40(%rbp), %rdi
leaq 0xb0e2e9(%rip), %rsi    # 0xd01aae
movl $0x21, %edx
movb $0x0, %al
callq 0x1f01f0
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x1f37b2
jmp 0x1f3817
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
cmpl 0x10(%rbp), %eax
jge 0x1f3815
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rax
movslq -0x38(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0xb0e2af(%rip), %rsi    # 0xd01ab2
movb $0x0, %al
callq 0x1f01f0
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x1f37e5
jmp 0x1f3817
movq -0x40(%rbp), %rdi
leaq 0xb35dc6(%rip), %rsi    # 0xd295e8
movb $0x0, %al
callq 0x1f01f0
movq -0x40(%rbp), %rdi
movq -0x30(%rbp), %rax
movl 0x10(%rbp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %edx
leaq 0xb3f375(%rip), %rsi    # 0xd32bba
movb $0x0, %al
callq 0x1f01f0
xorl %eax, %eax
cmpq -0x18(%rbp), %rax
jne 0x1f3887
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1f3885
movq -0x40(%rbp), %rdi
leaq 0xb0e240(%rip), %rsi    # 0xd01aae
movl $0x21, %edx
movb $0x0, %al
callq 0x1f01f0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x1f385b
jmp 0x1f38c0
movl $0x0, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x24(%rbp), %eax
jge 0x1f38be
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rax
movslq -0x34(%rbp), %rcx
movl (%rax,%rcx,4), %edx
leaq 0xb0e206(%rip), %rsi    # 0xd01ab2
movb $0x0, %al
callq 0x1f01f0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x1f388e
jmp 0x1f38c0
movq -0x40(%rbp), %rdi
leaq 0xb35d1d(%rip), %rsi    # 0xd295e8
movb $0x0, %al
callq 0x1f01f0
movq -0x40(%rbp), %rdi
callq 0x1f0150
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)