user: What would the C source look like for the assembly code provided here:

```asm
<deinter_cpu>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %r8d,-0x4c(%rsp)
  test   %r8d,%r8d
  jle    L211
  mov    %edi,%eax
  mov    %rsi,%r10
  mov    %rcx,%r11
  mov    %edx,%esi
  shr    $0x2,%eax
  lea    -0x1(%rdi),%ecx
  xor    %ebx,%ebx
  xor    %r8d,%r8d
  sub    $0x1,%eax
  mov    %ecx,-0x44(%rsp)
  xor    %ebp,%ebp
  add    $0x1,%rax
  mov    %rcx,-0x20(%rsp)
  lea    0x4(%r10),%rcx
  shl    $0x4,%rax
  mov    %rcx,-0x18(%rsp)
  mov    %edi,%ecx
  mov    %rax,-0x38(%rsp)
  mov    %edi,%eax
  and    $0x3,%ecx
  and    $0xfffffffc,%eax
  mov    %ecx,-0x28(%rsp)
  lea    0x4(%r11),%rcx
  mov    %eax,-0x3c(%rsp)
  lea    -0x1(%rdx),%eax
  mov    %eax,-0x48(%rsp)
  mov    %edx,%eax
  shr    $0x2,%eax
  mov    %rcx,-0x10(%rsp)
  mov    %edx,%ecx
  sub    $0x1,%eax
  and    $0x3,%ecx
  add    $0x1,%rax
  mov    %ecx,-0x24(%rsp)
  shl    $0x4,%rax
  mov    %rax,-0x30(%rsp)
  mov    %edx,%eax
  and    $0xfffffffc,%eax
  mov    %eax,-0x40(%rsp)
  xor    %eax,%eax
L242:
  test   %edi,%edi
  jle    L221
  test   %r10,%r10
  je     L132
  movslq %r8d,%r12
  movslq %eax,%r13
  lea    (%r10,%r12,4),%rdx
  lea    0x4(,%r13,4),%rcx
  lea    (%r9,%rcx,1),%r15
  mov    %rdx,%r14
  sub    %r15,%r14
  cmp    $0x8,%r14
  jbe    L218
  cmp    $0x1,%edi
  je     L218
  cmpl   $0x2,-0x44(%rsp)
  jbe    L14
  mov    -0x38(%rsp),%r15
  lea    -0x4(%r9,%rcx,1),%r14
  xor    %ecx,%ecx
  nopw   0x0(%rax,%rax,1)
L229:
  movups (%rdx,%rcx,1),%xmm0
  movups (%r14,%rcx,1),%xmm2
  addps  %xmm2,%xmm0
  movups %xmm0,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    %r15,%rcx
  jne    L229
  mov    -0x3c(%rsp),%edx
  lea    (%rax,%rdx,1),%ecx
  cmp    %edx,%edi
  je     L132
  mov    -0x28(%rsp),%r14d
  mov    %r14d,%r15d
  cmp    $0x1,%r14d
  je     L249
  mov    %edx,%r14d
L122:
  add    %r14,%r12
  add    %r14,%r13
  lea    (%r10,%r12,4),%r12
  movq   (%r9,%r13,4),%xmm0
  movq   (%r12),%xmm1
  addps  %xmm1,%xmm0
  movlps %xmm0,(%r12)
  mov    %r15d,%r12d
  and    $0xfffffffe,%r12d
  add    %r12d,%edx
  add    %r12d,%ecx
  cmp    %r15d,%r12d
  je     L132
L249:
  add    %r8d,%edx
  movslq %ecx,%rcx
  movslq %edx,%rdx
  lea    (%r10,%rdx,4),%rdx
  movss  (%rdx),%xmm0
  addss  (%r9,%rcx,4),%xmm0
  movss  %xmm0,(%rdx)
L132:
  add    %edi,%eax
L221:
  test   %esi,%esi
  jle    L251
  test   %r11,%r11
  je     L28
  movslq %ebx,%r12
  movslq %eax,%r13
  lea    (%r11,%r12,4),%rdx
  lea    0x4(,%r13,4),%rcx
  lea    (%r9,%rcx,1),%r15
  mov    %rdx,%r14
  sub    %r15,%r14
  cmp    $0x8,%r14
  jbe    L5
  cmp    $0x1,%esi
  je     L5
  cmpl   $0x2,-0x48(%rsp)
  jbe    L223
  mov    -0x30(%rsp),%r15
  lea    -0x4(%r9,%rcx,1),%r14
  xor    %ecx,%ecx
  nopl   0x0(%rax)
L186:
  movups (%rdx,%rcx,1),%xmm0
  movups (%r14,%rcx,1),%xmm3
  addps  %xmm3,%xmm0
  movups %xmm0,(%rdx,%rcx,1)
  add    $0x10,%rcx
  cmp    %r15,%rcx
  jne    L186
  mov    -0x40(%rsp),%edx
  lea    (%rax,%rdx,1),%ecx
  cmp    %edx,%esi
  je     L28
  mov    -0x24(%rsp),%r14d
  mov    %r14d,%r15d
  cmp    $0x1,%r14d
  je     L29
  mov    %edx,%r14d
L133:
  add    %r14,%r12
  add    %r14,%r13
  lea    (%r11,%r12,4),%r12
  movq   (%r9,%r13,4),%xmm0
  movq   (%r12),%xmm1
  addps  %xmm1,%xmm0
  movlps %xmm0,(%r12)
  mov    %r15d,%r12d
  and    $0xfffffffe,%r12d
  add    %r12d,%edx
  add    %r12d,%ecx
  cmp    %r15d,%r12d
  je     L28
L29:
  add    %ebx,%edx
  movslq %ecx,%rcx
  movslq %edx,%rdx
  lea    (%r11,%rdx,4),%rdx
  movss  (%rdx),%xmm0
  addss  (%r9,%rcx,4),%xmm0
  movss  %xmm0,(%rdx)
L28:
  add    %esi,%eax
L251:
  add    $0x1,%ebp
  add    %edi,%r8d
  add    %esi,%ebx
  cmp    %ebp,-0x4c(%rsp)
  jne    L242
L211:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  xchg   %ax,%ax
L218:
  mov    -0x18(%rsp),%r15
  add    -0x20(%rsp),%r12
  lea    -0x4(%r9,%rcx,1),%rcx
  lea    (%r15,%r12,4),%r12
  nopl   0x0(%rax,%rax,1)
L193:
  movss  (%rdx),%xmm0
  addss  (%rcx),%xmm0
  add    $0x4,%rdx
  add    $0x4,%rcx
  movss  %xmm0,-0x4(%rdx)
  cmp    %rdx,%r12
  jne    L193
  jmp    L132
  nopw   0x0(%rax,%rax,1)
L5:
  mov    -0x48(%rsp),%r13d
  mov    -0x10(%rsp),%r15
  lea    -0x4(%r9,%rcx,1),%rcx
  add    %r12,%r13
  lea    (%r15,%r13,4),%r12
  cs nopw 0x0(%rax,%rax,1)
L256:
  movss  (%rdx),%xmm0
  addss  (%rcx),%xmm0
  add    $0x4,%rdx
  add    $0x4,%rcx
  movss  %xmm0,-0x4(%rdx)
  cmp    %r12,%rdx
  jne    L256
  jmp    L28
L14:
  mov    %edi,%r15d
  mov    %eax,%ecx
  xor    %r14d,%r14d
  xor    %edx,%edx
  jmp    L122
L223:
  mov    %esi,%r15d
  mov    %eax,%ecx
  xor    %r14d,%r14d
  xor    %edx,%edx
  jmp    L133
```

assistant: ```c
void deinter_cpu(int NX, float *X, int NY, float *Y, int B, float *OUT) {
  int i, j;
  int index = 0;
  for (j = 0; j < B; ++j) {
    for (i = 0; i < NX; ++i) {
      if (X)
        X[j * NX + i] += OUT[index];
      ++index;
    }
    for (i = 0; i < NY; ++i) {
      if (Y)
        Y[j * NY + i] += OUT[index];
      ++index;
    }
  }
}
```