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

```asm
<paste_image_piece>:
  endbr64
  sub    %edx,%r8d
  sub    %ecx,%r9d
  test   %r8d,%r8d
  jle    L145
  test   %r9d,%r9d
  jle    L145
  push   %r15
  mov    %rsi,%rax
  movslq %edx,%rdx
  movslq %r8d,%rsi
  push   %r14
  movslq %ecx,%r14
  push   %r13
  lea    -0x1(%r9),%r13d
  push   %r12
  mov    %r9d,%r12d
  push   %rbp
  mov    %r9d,%ebp
  push   %rbx
  movslq 0x40(%rsp),%r15
  mov    %ecx,%ebx
  and    $0xfffffff8,%ebp
  mov    %rsi,-0x20(%rsp)
  lea    (%rdi,%rdx,8),%rsi
  movslq 0x38(%rsp),%rdx
  mov    %rsi,-0x28(%rsp)
  xor    %esi,%esi
  lea    (%rax,%rdx,8),%rax
  mov    %rax,-0x40(%rsp)
  lea    (%r15,%r15,1),%rax
  mov    %rax,-0x30(%rsp)
  lea    0x2(%r14,%r14,1),%rax
  mov    %rax,-0x38(%rsp)
  lea    (%r14,%r14,1),%rax
  mov    %rax,-0x18(%rsp)
  mov    %r9d,%eax
  shr    $0x3,%eax
  lea    -0x1(%rax),%edi
  mov    %r9d,%eax
  and    $0x7,%eax
  add    $0x1,%rdi
  mov    %eax,-0x10(%rsp)
  sub    $0x1,%eax
  shl    $0x4,%rdi
  mov    %eax,-0xc(%rsp)
  nopw   0x0(%rax,%rax,1)
L58:
  mov    -0x28(%rsp),%rax
  mov    (%rax,%rsi,8),%rcx
  mov    -0x40(%rsp),%rax
  mov    (%rax,%rsi,8),%r8
  mov    -0x30(%rsp),%rax
  lea    (%r8,%rax,1),%rdx
  mov    -0x38(%rsp),%rax
  lea    (%rcx,%rax,1),%r10
  mov    %rdx,%rax
  sub    %r10,%rax
  cmp    $0xc,%rax
  jbe    L124
  cmp    $0x2,%r13d
  jbe    L124
  cmp    $0x6,%r13d
  jbe    L78
  mov    -0x18(%rsp),%rax
  lea    (%rcx,%rax,1),%r10
  xor    %eax,%eax
  nopl   0x0(%rax,%rax,1)
L117:
  movdqu (%r10,%rax,1),%xmm0
  movups %xmm0,(%rdx,%rax,1)
  add    $0x10,%rax
  cmp    %rdi,%rax
  jne    L117
  cmp    %ebp,%r9d
  je     L130
  cmpl   $0x2,-0xc(%rsp)
  mov    -0x10(%rsp),%r10d
  jbe    L116
  mov    %ebp,%edx
  mov    %ebp,%eax
L30:
  lea    (%r14,%rdx,1),%r11
  add    %r15,%rdx
  mov    (%rcx,%r11,2),%r11
  mov    %r11,(%r8,%rdx,2)
  mov    %r10d,%edx
  and    $0xfffffffc,%edx
  add    %edx,%eax
  cmp    %edx,%r10d
  je     L130
L51:
  lea    (%rbx,%rax,1),%edx
  movslq %edx,%rdx
  movzwl (%rcx,%rdx,2),%r10d
  mov    0x40(%rsp),%edx
  add    %eax,%edx
  movslq %edx,%rdx
  mov    %r10w,(%r8,%rdx,2)
  lea    0x1(%rax),%edx
  cmp    %edx,%r9d
  jle    L130
  lea    (%rbx,%rdx,1),%r10d
  add    0x40(%rsp),%edx
  add    $0x2,%eax
  movslq %r10d,%r10
  movslq %edx,%rdx
  movzwl (%rcx,%r10,2),%r10d
  mov    %r10w,(%r8,%rdx,2)
  cmp    %eax,%r9d
  jle    L130
  lea    (%rbx,%rax,1),%edx
  add    0x40(%rsp),%eax
  movslq %edx,%rdx
  cltq
  movzwl (%rcx,%rdx,2),%edx
  mov    %dx,(%r8,%rax,2)
L130:
  add    $0x1,%rsi
  cmp    -0x20(%rsp),%rsi
  jne    L58
  pop    %rbx
  mov    $0x1,%eax
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L124:
  add    -0x18(%rsp),%rcx
  xor    %eax,%eax
  nop
L23:
  movzwl (%rcx,%rax,2),%r8d
  mov    %r8w,(%rdx,%rax,2)
  add    $0x1,%rax
  cmp    %r12,%rax
  jne    L23
  jmp    L130
L78:
  mov    %r9d,%r10d
  xor    %edx,%edx
  xor    %eax,%eax
  jmp    L30
L116:
  mov    %ebp,%eax
  jmp    L51
L145:
  mov    $0x1,%eax
  ret
```

assistant: ```c
int paste_image_piece(the_image, out_image, il1, ie1, ll1, le1, il2, ie2)
int il1, ie1, ll1, le1, il2, ie2;
short **the_image, **out_image;
{
  int i, j, limit1, limit2;
  limit1 = ll1 - il1;
  limit2 = le1 - ie1;
  for (i = 0; i < limit1; i++) {
    for (j = 0; j < limit2; j++) {
      out_image[il2 + i][ie2 + j] = the_image[il1 + i][ie1 + j];
    }
  }
  return (1);
}
```