user: What is the c source code of the assembly code below:

```asm
<find_nw2se>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rsi,0x8(%rsp)
  mov    %edx,0x4(%rsp)
  mov    %ecx,(%rsp)
  test   %edx,%edx
  jle    L47
  movl   $0x0,0x14(%rsp)
  mov    %rdi,%r14
  test   %ecx,%ecx
  jle    L47
  nopl   0x0(%rax)
L125:
  movl   $0x0,0x10(%rsp)
  nopl   0x0(%rax,%rax,1)
L88:
  movsbl (%r14),%edi
  test   %dil,%dil
  je     L35
  mov    0x14(%rsp),%esi
  cmp    %esi,0x4(%rsp)
  jle    L50
  mov    0x10(%rsp),%esi
  cmp    %esi,(%rsp)
  jle    L50
  mov    0x14(%rsp),%r13d
  mov    %esi,%r12d
  mov    %r14,%rbx
  mov    $0x1,%r15d
  nopl   0x0(%rax)
L128:
  lea    -0x1(%r15),%ebp
  call   <isspace@plt>
  test   %rax,%rax
  jne    L59
  mov    0x8(%rsp),%rdx
  movslq %r13d,%rax
  lea    (%rax,%rax,4),%rax
  lea    (%rdx,%rax,8),%rcx
  movslq %r12d,%rax
  movzbl (%rcx,%rax,1),%eax
  cmp    %al,(%rbx)
  je     L192
  movslq %ebp,%rbp
  cmpb   $0x0,(%r14,%rbp,1)
  jne    L50
L2:
  movsbl (%r14),%edi
  test   %dil,%dil
  je     L50
  mov    0x14(%rsp),%ebp
  mov    0x10(%rsp),%r12d
  mov    %r14,%r13
  xor    %ebx,%ebx
  jmp    L141
  nopl   0x0(%rax)
L166:
  add    $0x1,%ebx
L162:
  movslq %ebx,%r13
  add    %r14,%r13
  movsbl 0x0(%r13),%edi
  test   %dil,%dil
  je     L50
L141:
  call   <isspace@plt>
  test   %rax,%rax
  jne    L166
  mov    0x8(%rsp),%rsi
  movslq %ebp,%rax
  movslq %r12d,%r15
  lea    (%rax,%rax,4),%rax
  lea    (%rsi,%rax,8),%rcx
  movsbl (%rcx,%r15,1),%edi
  cmp    %dil,0x0(%r13)
  jne    L162
  add    $0x1,%ebx
  mov    %rcx,0x18(%rsp)
  add    $0x1,%ebp
  add    $0x1,%r12d
  call   <toupper@plt>
  movslq %ebx,%r13
  mov    0x18(%rsp),%rcx
  add    %r14,%r13
  mov    %al,(%rcx,%r15,1)
  movsbl 0x0(%r13),%edi
  test   %dil,%dil
  jne    L141
  nopl   0x0(%rax,%rax,1)
L50:
  addl   $0x1,0x10(%rsp)
  mov    0x10(%rsp),%eax
  cmp    %eax,(%rsp)
  jne    L88
L35:
  addl   $0x1,0x14(%rsp)
  mov    0x14(%rsp),%eax
  cmp    %eax,0x4(%rsp)
  jne    L125
L47:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L192:
  add    $0x1,%r13d
  add    $0x1,%r12d
L59:
  movslq %r15d,%rbx
  add    %r14,%rbx
  movsbl (%rbx),%edi
  test   %dil,%dil
  je     L2
  add    $0x1,%r15d
  cmp    0x4(%rsp),%r13d
  jge    L50
  cmp    (%rsp),%r12d
  jl     L128
  jmp    L50
```

assistant: ```c
void find_nw2se(char word[], char board[40][40], int nrows, int ncols) {
  int i, j;
  for (i = 0; i < nrows; i++) {
    for (j = 0; j < ncols; j++) {
      int k = 0;
      int match = 1;
      int h = j, m = i;
      ;
      while (word[k] != '\0' && m < nrows && h < ncols && match) {
        if (isspace(word[k])) {
          k++;
        } else if (word[k] == board[m][h]) {
          k++;
          m++;
          h++;
        } else {
          match = 0;
        }
      }
      if (word[k] == '\0') {
        k = 0;
        h = j;
        m = i;
        while (word[k] != '\0') {
          if (isspace(word[k])) {
            k++;
          } else if (word[k] == board[m][h]) {
            board[m][h] = toupper(board[m][h]);
            k++;
            m++;
            h++;
          }
        }
      }
    }
  }
}
```