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

```asm
<blur_RGB_565>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xb8,%rsp
  mov    %rdi,0x60(%rsp)
  mov    %esi,%r14d
  mov    %esi,0x34(%rsp)
  mov    %edx,%r15d
  mov    %edx,0xa0(%rsp)
  mov    %ecx,%r12d
  mov    %ecx,0x10(%rsp)
  lea    -0x1(%rsi),%eax
  mov    %eax,0x90(%rsp)
  lea    -0x1(%rdx),%eax
  mov    %eax,0x78(%rsp)
  lea    (%rcx,%rcx,1),%ebx
  lea    0x1(%rbx),%eax
  mov    %eax,0x8(%rsp)
  mov    %esi,%ebp
  imul   %edx,%ebp
  movslq %ebp,%rbp
  add    %rbp,%rbp
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,0x48(%rsp)
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,0x50(%rsp)
  mov    %rbp,%rdi
  call   <malloc@plt>
  mov    %rax,0x58(%rsp)
  mov    %r15d,%edi
  cmp    %r15d,%r14d
  cmovge %r14d,%edi
  movslq %edi,%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    %rax,0x40(%rsp)
  lea    0x1(%r12),%eax
  mov    %eax,0x2c(%rsp)
  add    $0x2,%ebx
  sar    %ebx
  imul   %ebx,%ebx
  mov    %ebx,%ebp
  shl    $0x8,%ebp
  movslq %ebp,%rdi
  add    %rdi,%rdi
  call   <malloc@plt>
  mov    %rax,0x98(%rsp)
  test   %ebp,%ebp
  jle    L214
  mov    %ebp,%ebp
  mov    $0x0,%ecx
  mov    %rax,%rsi
L250:
  mov    %ecx,%eax
  cltd
  idiv   %ebx
  mov    %ax,(%rsi,%rcx,2)
  add    $0x1,%rcx
  cmp    %rbp,%rcx
  jne    L250
L214:
  mov    0x8(%rsp),%eax
  lea    (%rax,%rax,2),%edi
  movslq %edi,%rdi
  shl    $0x2,%rdi
  call   <malloc@plt>
  mov    %rax,%rdi
  mov    %rax,0x20(%rsp)
  cmpl   $0x0,0xa0(%rsp)
  jle    L70
  mov    0x10(%rsp),%esi
  mov    %esi,%ecx
  neg    %ecx
  mov    %ecx,0xa4(%rsp)
  movslq %esi,%rax
  movslq %ecx,%rdx
  add    %rdx,%rax
  lea    (%rax,%rax,2),%rax
  lea    (%rdi,%rax,4),%rax
  mov    %rax,0xa8(%rsp)
  movl   $0x0,0x30(%rsp)
  movl   $0x0,0x28(%rsp)
  movl   $0x0,0x1c(%rsp)
  lea    0x1(%rsi),%eax
  mov    %eax,0x7c(%rsp)
  mov    0x34(%rsp),%eax
  lea    0x1(%rax),%eax
  mov    %rax,0x80(%rsp)
  jmp    L287
L124:
  add    %edi,%r15d
  add    %esi,%r12d
  add    %eax,%ebp
L272:
  add    $0x1,%edx
  add    $0xc,%r8
  cmp    0x7c(%rsp),%edx
  je     L262
L275:
  test   %edx,%edx
  mov    $0x0,%eax
  cmovns %edx,%eax
  cmp    %r14d,%eax
  cmovg  %r14d,%eax
  add    0x28(%rsp),%eax
  cltq
  movswl 0x0(%r13,%rax,2),%eax
  mov    %eax,%edi
  shr    $0x8,%edi
  and    $0xf8,%edi
  mov    %edi,(%r8)
  mov    %eax,%esi
  shr    $0x3,%esi
  and    $0xfc,%esi
  mov    %esi,0x4(%r8)
  shl    $0x3,%eax
  movzbl %al,%eax
  mov    %eax,0x8(%r8)
  mov    %edx,%ebx
  neg    %ebx
  cmovs  %edx,%ebx
  mov    0x2c(%rsp),%ecx
  sub    %ebx,%ecx
  mov    %edi,%ebx
  imul   %ecx,%ebx
  add    %ebx,%r9d
  mov    %esi,%ebx
  imul   %ecx,%ebx
  add    %ebx,%r10d
  imul   %eax,%ecx
  add    %ecx,%r11d
  test   %edx,%edx
  jle    L124
  add    %edi,0x14(%rsp)
  add    %esi,0x18(%rsp)
  add    %eax,0x88(%rsp)
  jmp    L272
L251:
  movl   $0x0,0x88(%rsp)
  movl   $0x0,0x18(%rsp)
  movl   $0x0,0x14(%rsp)
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  mov    $0x0,%r15d
  mov    $0x0,%r11d
  mov    $0x0,%r10d
  mov    $0x0,%r9d
L262:
  cmpl   $0x0,0x34(%rsp)
  jle    L136
  movslq 0x28(%rsp),%rax
  add    %rax,%rax
  mov    0x48(%rsp),%rcx
  lea    (%rcx,%rax,1),%rsi
  mov    %rsi,0x70(%rsp)
  mov    0x50(%rsp),%rsi
  lea    (%rsi,%rax,1),%rdi
  mov    %rdi,0x68(%rsp)
  add    0x58(%rsp),%rax
  mov    %rax,0x38(%rsp)
  mov    0x10(%rsp),%eax
  mov    %eax,0xc(%rsp)
  mov    $0x1,%r8d
  mov    0x88(%rsp),%r13d
  mov    0x98(%rsp),%rbx
  mov    0x20(%rsp),%r14
  jmp    L149
L144:
  mov    0x40(%rsp),%rdi
  mov    0x30(%rsp),%edx
  add    -0x4(%rdi,%r8,4),%edx
  movslq %edx,%rdx
  mov    0x60(%rsp),%rsi
  movswl (%rsi,%rdx,2),%ecx
  mov    %ecx,%edi
  shr    $0x8,%edi
  and    $0xf8,%edi
  mov    %edi,(%rax)
  mov    %ecx,%esi
  shr    $0x3,%esi
  and    $0xfc,%esi
  mov    %esi,0x4(%rax)
  shl    $0x3,%ecx
  movzbl %cl,%ecx
  mov    %ecx,0x8(%rax)
  add    0x14(%rsp),%edi
  add    0x18(%rsp),%esi
  add    %r13d,%ecx
  add    %edi,%r9d
  add    %esi,%r10d
  add    %ecx,%r11d
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  cltd
  idivl  0x8(%rsp)
  mov    %edx,0xc(%rsp)
  movslq %edx,%rdx
  lea    (%rdx,%rdx,2),%rax
  lea    (%r14,%rax,4),%rax
  mov    (%rax),%edx
  add    %edx,%r15d
  mov    0x4(%rax),%r13d
  add    %r13d,%r12d
  mov    0x8(%rax),%eax
  add    %eax,%ebp
  sub    %edx,%edi
  mov    %edi,0x14(%rsp)
  sub    %r13d,%esi
  mov    %esi,0x18(%rsp)
  sub    %eax,%ecx
  mov    %ecx,%r13d
  add    $0x1,%r8
  cmp    0x80(%rsp),%r8
  je     L102
L149:
  movslq %r9d,%rax
  movzwl (%rbx,%rax,2),%eax
  mov    0x70(%rsp),%rdi
  mov    %ax,-0x2(%rdi,%r8,2)
  movslq %r10d,%rax
  movzwl (%rbx,%rax,2),%eax
  mov    0x68(%rsp),%rcx
  mov    %ax,-0x2(%rcx,%r8,2)
  movslq %r11d,%rax
  movzwl (%rbx,%rax,2),%eax
  mov    0x38(%rsp),%rdi
  mov    %ax,-0x2(%rdi,%r8,2)
  sub    %r15d,%r9d
  sub    %r12d,%r10d
  sub    %ebp,%r11d
  mov    0xc(%rsp),%eax
  sub    0x10(%rsp),%eax
  mov    0x8(%rsp),%esi
  add    %esi,%eax
  cltd
  idiv   %esi
  movslq %edx,%rdx
  lea    (%rdx,%rdx,2),%rax
  lea    (%r14,%rax,4),%rax
  sub    (%rax),%r15d
  sub    0x4(%rax),%r12d
  sub    0x8(%rax),%ebp
  cmpl   $0x0,0x1c(%rsp)
  jne    L144
  mov    0x10(%rsp),%edi
  lea    (%rdi,%r8,1),%edx
  mov    0x90(%rsp),%ecx
  cmp    %ecx,%edx
  cmovg  %ecx,%edx
  mov    0x40(%rsp),%rdi
  mov    %edx,-0x4(%rdi,%r8,4)
  jmp    L144
L102:
  mov    0x34(%rsp),%ecx
  add    %ecx,0x28(%rsp)
L136:
  mov    0x34(%rsp),%esi
  add    %esi,0x30(%rsp)
  addl   $0x1,0x1c(%rsp)
  mov    0x1c(%rsp),%eax
  cmp    %eax,0xa0(%rsp)
  je     L70
L287:
  mov    0xa4(%rsp),%edx
  cmp    %edx,0x10(%rsp)
  jl     L251
  mov    0xa8(%rsp),%r8
  movl   $0x0,0x88(%rsp)
  movl   $0x0,0x18(%rsp)
  movl   $0x0,0x14(%rsp)
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  mov    $0x0,%r15d
  mov    $0x0,%r11d
  mov    $0x0,%r10d
  mov    $0x0,%r9d
  mov    0x90(%rsp),%r14d
  mov    0x60(%rsp),%r13
  jmp    L275
L70:
  mov    0x34(%rsp),%ecx
  test   %ecx,%ecx
  jle    L100
  mov    0x10(%rsp),%edi
  mov    %edi,%esi
  neg    %esi
  mov    %esi,0x80(%rsp)
  mov    %esi,%eax
  imul   %ecx,%eax
  mov    %eax,0xa4(%rsp)
  mov    %ecx,%eax
  mov    %rax,0x88(%rsp)
  movslq %edi,%rax
  movslq %esi,%rdx
  add    %rdx,%rax
  lea    (%rax,%rax,2),%rax
  mov    0x20(%rsp),%rsi
  lea    (%rsi,%rax,4),%rax
  mov    %rax,0x90(%rsp)
  movslq %ecx,%rax
  add    %rax,%rax
  mov    %rax,0x68(%rsp)
  movq   $0x0,0x38(%rsp)
  lea    0x1(%rdi),%eax
  mov    %eax,0x70(%rsp)
  add    0xa0(%rsp),%eax
  mov    %eax,0x7c(%rsp)
  jmp    L154
L116:
  add    %r13d,0x28(%rsp)
  add    %ebx,%r12d
  add    %r11d,0xc(%rsp)
L181:
  mov    0x34(%rsp),%ebx
  lea    (%r8,%rbx,1),%edx
  cmp    %eax,0x78(%rsp)
  cmovg  %edx,%r8d
  add    $0x1,%eax
  add    $0xc,%r9
  cmp    %eax,0x70(%rsp)
  je     L213
L271:
  test   %r8d,%r8d
  mov    $0x0,%edx
  cmovns %r8d,%edx
  add    0x30(%rsp),%edx
  movslq %edx,%rdx
  movswl 0x0(%rbp,%rdx,2),%r13d
  mov    %r13d,(%r9)
  movswl (%r14,%rdx,2),%ebx
  mov    %ebx,0x4(%r9)
  movswl (%r15,%rdx,2),%r11d
  mov    %r11d,0x8(%r9)
  mov    %eax,%r10d
  neg    %r10d
  cmovs  %eax,%r10d
  mov    0x2c(%rsp),%edx
  sub    %r10d,%edx
  mov    %r13d,%r10d
  imul   %edx,%r10d
  add    %r10d,%ecx
  mov    %ebx,%r10d
  imul   %edx,%r10d
  add    %r10d,%esi
  imul   %r11d,%edx
  add    %edx,%edi
  test   %eax,%eax
  jle    L116
  add    %r13d,0x14(%rsp)
  add    %ebx,0x18(%rsp)
  add    %r11d,0x1c(%rsp)
  jmp    L181
L213:
  mov    0xc(%rsp),%ebp
L268:
  cmpl   $0x0,0xa0(%rsp)
  jle    L18
  mov    0x60(%rsp),%rax
  mov    0x38(%rsp),%rbx
  lea    (%rax,%rbx,2),%r14
  mov    0x40(%rsp),%rbx
  mov    0x2c(%rsp),%r11d
  mov    0x10(%rsp),%eax
  mov    %eax,0xc(%rsp)
  mov    %rbx,%r13
  mov    0x98(%rsp),%r15
  jmp    L199
L152:
  movl   $0x0,0x1c(%rsp)
  movl   $0x0,0x18(%rsp)
  movl   $0x0,0x14(%rsp)
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  movl   $0x0,0x28(%rsp)
  mov    $0x0,%edi
  mov    $0x0,%esi
  mov    $0x0,%ecx
  jmp    L268
L105:
  mov    0x30(%rsp),%edx
  add    0x0(%r13),%edx
  movslq %edx,%rdx
  mov    0x48(%rsp),%r9
  movswl (%r9,%rdx,2),%r10d
  mov    %r10d,(%rax)
  mov    0x50(%rsp),%r9
  movswl (%r9,%rdx,2),%r9d
  mov    %r9d,0x4(%rax)
  mov    0x58(%rsp),%r8
  movswl (%r8,%rdx,2),%r8d
  mov    %r8d,0x8(%rax)
  add    0x14(%rsp),%r10d
  add    0x18(%rsp),%r9d
  add    0x1c(%rsp),%r8d
  add    %r10d,%ecx
  add    %r9d,%esi
  add    %r8d,%edi
  mov    0xc(%rsp),%eax
  add    $0x1,%eax
  cltd
  idivl  0x8(%rsp)
  mov    %edx,0xc(%rsp)
  movslq %edx,%rdx
  lea    (%rdx,%rdx,2),%rax
  mov    0x20(%rsp),%rdx
  lea    (%rdx,%rax,4),%rax
  mov    (%rax),%edx
  add    %edx,%ebx
  mov    %ebx,0x28(%rsp)
  mov    0x4(%rax),%ebx
  add    %ebx,%r12d
  mov    0x8(%rax),%eax
  add    %eax,%ebp
  sub    %edx,%r10d
  mov    %r10d,0x14(%rsp)
  sub    %ebx,%r9d
  mov    %r9d,0x18(%rsp)
  sub    %eax,%r8d
  mov    %r8d,0x1c(%rsp)
  add    0x68(%rsp),%r14
  add    $0x4,%r13
  add    $0x1,%r11d
  cmp    0x7c(%rsp),%r11d
  je     L18
L199:
  movslq %ecx,%rax
  movzwl (%r15,%rax,2),%edx
  sar    $0x3,%dx
  shl    $0xb,%edx
  movslq %esi,%rax
  movzwl (%r15,%rax,2),%eax
  sar    $0x2,%ax
  shl    $0x5,%eax
  or     %edx,%eax
  movslq %edi,%rdx
  movzwl (%r15,%rdx,2),%edx
  sar    $0x3,%dx
  or     %edx,%eax
  mov    %ax,(%r14)
  mov    0x28(%rsp),%ebx
  sub    %ebx,%ecx
  sub    %r12d,%esi
  sub    %ebp,%edi
  mov    0xc(%rsp),%eax
  sub    0x10(%rsp),%eax
  mov    0x8(%rsp),%edx
  add    %edx,%eax
  mov    %edx,%r9d
  cltd
  idiv   %r9d
  movslq %edx,%rdx
  lea    (%rdx,%rdx,2),%rax
  mov    0x20(%rsp),%rdx
  lea    (%rdx,%rax,4),%rax
  sub    (%rax),%ebx
  sub    0x4(%rax),%r12d
  sub    0x8(%rax),%ebp
  cmpl   $0x0,0x38(%rsp)
  jne    L105
  mov    0x78(%rsp),%edx
  cmp    %edx,%r11d
  cmovle %r11d,%edx
  imul   0x34(%rsp),%edx
  mov    %edx,0x0(%r13)
  jmp    L105
L18:
  addq   $0x1,0x38(%rsp)
  mov    0x38(%rsp),%rax
  cmp    %rax,0x88(%rsp)
  je     L100
L154:
  mov    0x38(%rsp),%eax
  mov    %eax,0x30(%rsp)
  mov    0x80(%rsp),%eax
  mov    0x10(%rsp),%esi
  cmp    %esi,%eax
  jg     L152
  mov    0x90(%rsp),%r9
  mov    0xa4(%rsp),%r8d
  movl   $0x0,0x1c(%rsp)
  movl   $0x0,0x18(%rsp)
  movl   $0x0,0x14(%rsp)
  mov    $0x0,%ebp
  mov    $0x0,%r12d
  movl   $0x0,0x28(%rsp)
  mov    $0x0,%edi
  mov    $0x0,%esi
  mov    $0x0,%ecx
  mov    %ebp,0xc(%rsp)
  mov    0x48(%rsp),%rbp
  mov    0x50(%rsp),%r14
  mov    0x58(%rsp),%r15
  jmp    L271
L100:
  mov    0x48(%rsp),%rdi
  call   <free@plt>
  mov    0x50(%rsp),%rdi
  call   <free@plt>
  mov    0x58(%rsp),%rdi
  call   <free@plt>
  mov    0x40(%rsp),%rdi
  call   <free@plt>
  mov    0x98(%rsp),%rdi
  call   <free@plt>
  mov    0x20(%rsp),%rdi
  call   <free@plt>
  mov    0x60(%rsp),%rax
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
short *blur_RGB_565(short *pix, int w, int h, int radius) {
  int wm = w - 1;
  int hm = h - 1;
  int wh = w * h;
  int div = radius + radius + 1;
  short *r = (short *)malloc(wh * sizeof(short));
  short *g = (short *)malloc(wh * sizeof(short));
  short *b = (short *)malloc(wh * sizeof(short));
  int rsum, gsum, bsum, x, y, p, i, yp, yi, yw;
  int *vmin = (int *)malloc(((w) > (h) ? (w) : (h)) * sizeof(int));
  int divsum = (div + 1) >> 1;
  divsum *= divsum;
  short *dv = (short *)malloc(256 * divsum * sizeof(short));
  for (i = 0; i < 256 * divsum; i++) {
    dv[i] = (short)(i / divsum);
  }
  yw = yi = 0;
  int(*stack)[3] = (int(*)[3])malloc(div * 3 * sizeof(int));
  int stackpointer;
  int stackstart;
  int *sir;
  int rbs;
  int r1 = radius + 1;
  int routsum, goutsum, boutsum;
  int rinsum, ginsum, binsum;
  for (y = 0; y < h; y++) {
    rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;
    for (i = -radius; i <= radius; i++) {
      p = pix[yi + (((wm) < (((i) > (0) ? (i) : (0))) ? (wm) : (((i) > (0) ? (i) : (0)))))];
      sir = stack[i + radius];
      sir[0] = (((p)&0xF800) >> 11) << 3;
      sir[1] = (((p)&0x7E0) >> 5) << 2;
      sir[2] = ((p)&0x1F) << 3;
      rbs = r1 - ((i) < (0) ? (-i) : (i));
      rsum += sir[0] * rbs;
      gsum += sir[1] * rbs;
      bsum += sir[2] * rbs;
      if (i > 0) {
        rinsum += sir[0];
        ginsum += sir[1];
        binsum += sir[2];
      } else {
        routsum += sir[0];
        goutsum += sir[1];
        boutsum += sir[2];
      }
    }
    stackpointer = radius;
    for (x = 0; x < w; x++) {
      r[yi] = dv[rsum];
      g[yi] = dv[gsum];
      b[yi] = dv[bsum];
      rsum -= routsum;
      gsum -= goutsum;
      bsum -= boutsum;
      stackstart = stackpointer - radius + div;
      sir = stack[stackstart % div];
      routsum -= sir[0];
      goutsum -= sir[1];
      boutsum -= sir[2];
      if (y == 0) {
        vmin[x] = ((x + radius + 1) < (wm) ? (x + radius + 1) : (wm));
      }
      p = pix[yw + vmin[x]];
      sir[0] = (((p)&0xF800) >> 11) << 3;
      sir[1] = (((p)&0x7E0) >> 5) << 2;
      sir[2] = ((p)&0x1F) << 3;
      rinsum += sir[0];
      ginsum += sir[1];
      binsum += sir[2];
      rsum += rinsum;
      gsum += ginsum;
      bsum += binsum;
      stackpointer = (stackpointer + 1) % div;
      sir = stack[(stackpointer) % div];
      routsum += sir[0];
      goutsum += sir[1];
      boutsum += sir[2];
      rinsum -= sir[0];
      ginsum -= sir[1];
      binsum -= sir[2];
      yi++;
    }
    yw += w;
  }
  for (x = 0; x < w; x++) {
    rinsum = ginsum = binsum = routsum = goutsum = boutsum = rsum = gsum = bsum = 0;
    yp = -radius * w;
    for (i = -radius; i <= radius; i++) {
      yi = ((0) > (yp) ? (0) : (yp)) + x;
      sir = stack[i + radius];
      sir[0] = r[yi];
      sir[1] = g[yi];
      sir[2] = b[yi];
      rbs = r1 - ((i) < (0) ? (-i) : (i));
      rsum += r[yi] * rbs;
      gsum += g[yi] * rbs;
      bsum += b[yi] * rbs;
      if (i > 0) {
        rinsum += sir[0];
        ginsum += sir[1];
        binsum += sir[2];
      } else {
        routsum += sir[0];
        goutsum += sir[1];
        boutsum += sir[2];
      }
      if (i < hm) {
        yp += w;
      }
    }
    yi = x;
    stackpointer = radius;
    for (y = 0; y < h; y++) {
      pix[yi] = ((((dv[rsum]) >> 3) << 11) | (((dv[gsum]) >> 2) << 5) | ((dv[bsum]) >> 3));
      rsum -= routsum;
      gsum -= goutsum;
      bsum -= boutsum;
      stackstart = stackpointer - radius + div;
      sir = stack[stackstart % div];
      routsum -= sir[0];
      goutsum -= sir[1];
      boutsum -= sir[2];
      if (x == 0) {
        vmin[y] = ((y + r1) < (hm) ? (y + r1) : (hm)) * w;
      }
      p = x + vmin[y];
      sir[0] = r[p];
      sir[1] = g[p];
      sir[2] = b[p];
      rinsum += sir[0];
      ginsum += sir[1];
      binsum += sir[2];
      rsum += rinsum;
      gsum += ginsum;
      bsum += binsum;
      stackpointer = (stackpointer + 1) % div;
      sir = stack[stackpointer];
      routsum += sir[0];
      goutsum += sir[1];
      boutsum += sir[2];
      rinsum -= sir[0];
      ginsum -= sir[1];
      binsum -= sir[2];
      yi += w;
    }
  }
  free(r);
  free(g);
  free(b);
  free(vmin);
  free(dv);
  free(stack);
  return (pix);
}
```