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

```asm
<sor>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  mov    %ecx,%ebx
  sub    $0x48,%rsp
  mov    %rdi,0x20(%rsp)
  mov    %rsi,0x18(%rsp)
  mov    %rdx,0x38(%rsp)
  movsd  %xmm0,0x8(%rsp)
  movsd  %xmm1,0x30(%rsp)
  add    $0x1,%ebp
  js     L105
  mov    %rsi,%r11
  movslq %ecx,%rsi
  mov    %rdi,%rax
  mov    %ebp,%r10d
  add    $0x1,%rsi
  mov    %rax,%rcx
  xor    %edx,%edx
  imul   $0x15f0,%rsi,%rdi
  shl    $0x3,%rsi
  lea    (%r11,%rsi,1),%r8
  add    %rax,%rsi
  lea    (%r11,%rdi,1),%r9
  add    %rax,%rdi
  xor    %eax,%eax
  cs nopw 0x0(%rax,%rax,1)
L64:
  movsd  (%r8,%rdx,1),%xmm0
  mov    %rax,%r12
  movsd  %xmm0,(%rsi,%rdx,1)
  movsd  (%r9,%rax,8),%xmm0
  movsd  %xmm0,(%rdi,%rax,8)
  movsd  (%r11,%rdx,1),%xmm0
  movsd  %xmm0,(%rcx,%rdx,1)
  movsd  (%r11,%rax,8),%xmm0
  add    $0x15f0,%rdx
  movsd  %xmm0,(%rcx,%rax,8)
  add    $0x1,%rax
  cmp    %r10,%r12
  jne    L64
L105:
  mov    0x18(%rsp),%rsi
  mov    0x38(%rsp),%rdi
  mov    %ebx,%edx
  lea    0x0(,%rbx,8),%r12d
  call   <compute_error@plt>
  comisd 0x30(%rsp),%xmm0
  movl   $0x0,0x14(%rsp)
  movsd  D10(%rip),%xmm4
  movsd  %xmm0,0x28(%rsp)
  jbe    L69
  nopw   0x0(%rax,%rax,1)
L74:
  test   %ebx,%ebx
  jle    L94
  mov    0x20(%rsp),%rax
  lea    0x2(%rbx),%edi
  mov    $0x1,%r10d
  lea    0x15f0(%rax),%rdx
  mov    0x18(%rsp),%rax
  lea    0x2be0(%rax),%rsi
  nopl   0x0(%rax)
L91:
  lea    0x2(%r10),%r8d
  cmp    $0x2,%ebp
  jle    L43
  movsd  0x8(%rsp),%xmm3
  mulsd  D3(%rip),%xmm3
  lea    -0x15f0(%rsi),%rcx
  xor    %eax,%eax
  lea    -0x15f0(%rdx),%r9
  nopw   0x0(%rax,%rax,1)
L113:
  movsd  0x10(%r9,%rax,8),%xmm1
  addsd  0x8(%rdx,%rax,8),%xmm1
  movsd  0x10(%rcx,%rax,8),%xmm2
  movsd  0x10(%rsi,%rax,8),%xmm0
  addsd  %xmm1,%xmm0
  movapd %xmm2,%xmm1
  addsd  0x18(%rcx,%rax,8),%xmm0
  mulsd  %xmm4,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  %xmm3,%xmm0
  addsd  %xmm2,%xmm0
  movsd  %xmm0,0x10(%rdx,%rax,8)
  add    $0x1,%rax
  lea    (%r8,%rax,1),%r11d
  cmp    %r11d,%edi
  jg     L113
L43:
  lea    0x1(%r10),%eax
  add    $0x15f0,%rdx
  add    $0x15f0,%rsi
  add    $0x1,%edi
  cmp    %r10d,%ebx
  je     L110
  mov    %eax,%r10d
  jmp    L91
  nopl   0x0(%rax)
L110:
  mov    0x18(%rsp),%rax
  mov    $0x1,%r15d
  lea    0x15f8(%rax),%r13
  mov    0x20(%rsp),%rax
  lea    0x15f8(%rax),%r14
  xchg   %ax,%ax
L103:
  mov    %r14,%rsi
  mov    %r13,%rdi
  mov    %r12d,%edx
  add    $0x1,%r15d
  call   <memcpy@plt>
  add    $0x15f0,%r13
  add    $0x15f0,%r14
  cmp    %r15d,%ebx
  movsd  D10(%rip),%xmm4
  jge    L103
L94:
  addl   $0x1,0x14(%rsp)
  mov    0x14(%rsp),%eax
  imul   $0xcccccccd,%eax,%eax
  ror    $0x2,%eax
  cmp    $0xccccccc,%eax
  jbe    L84
L99:
  movsd  0x28(%rsp),%xmm5
  comisd 0x30(%rsp),%xmm5
  ja     L74
L69:
  mov    0x14(%rsp),%eax
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L84:
  mov    0x18(%rsp),%rsi
  mov    0x38(%rsp),%rdi
  mov    %ebx,%edx
  call   <compute_error@plt>
  movsd  D10(%rip),%xmm4
  movsd  %xmm0,0x28(%rsp)
  jmp    L99
```

tool_calls: name: parse_data
arguments: data_tag: D10
type_infered: f64
name: parse_data
arguments: data_tag: D3
type_infered: f64

tool: D10: 4

tool: D3: 0.25

assistant: ```c
int sor(double unew[][700 + 2], double uold[][700 + 2], double solution[][700 + 2], const double omega, const double tol, const int m) {
  int i, j;
  for (i = 0; i < m + 2; ++i) {
    unew[i][m + 1] = uold[i][m + 1];
    unew[m + 1][i] = uold[m + 1][i];
    unew[i][0] = uold[i][0];
    unew[0][i] = uold[0][i];
  }
  int iters = 0;
  double error = compute_error(solution, uold, m);
  while (error > tol) {
    for (i = 1; i < m + 1; ++i) {
      for (j = 2 + i; j < m + 1 + i; ++j) {
        unew[i][j - i] = uold[i][j - i] + 0.25 * omega * (unew[i - 1][j - i] + unew[i][j - 1 - i] + uold[i + 1][j - i] + uold[i][j + 1 - i] - 4.0 * uold[i][j - i]);
      }
    }
    for (i = 1; i < m + 1; ++i) {
      memcpy(&uold[i][1], &unew[i][1], m * sizeof(double));
    }
    ++iters;
    if (iters % 20 == 0) {
      error = compute_error(solution, uold, m);
    }
  }
  return iters;
}
```