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

```asm
<gl_resizeImage>:
  endbr64
  push   %r15
  mov    %esi,%eax
  pxor   %xmm1,%xmm1
  mov    %edx,%esi
  push   %r14
  pxor   %xmm0,%xmm0
  mov    %rcx,%r15
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    %edx,0x38(%rsp)
  lea    -0x1(%r8),%edx
  cvtsi2ss %edx,%xmm1
  lea    -0x1(%rax),%edx
  mov    %r8d,0x3c(%rsp)
  cvtsi2ss %edx,%xmm0
  lea    -0x1(%r9),%edx
  divss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  movss  %xmm1,0x2c(%rsp)
  pxor   %xmm1,%xmm1
  cvtsi2ss %edx,%xmm1
  lea    -0x1(%rsi),%edx
  cvtsi2ss %edx,%xmm0
  divss  %xmm0,%xmm1
  movss  %xmm1,0x34(%rsp)
  test   %esi,%esi
  jle    L79
  test   %eax,%eax
  jle    L79
  lea    (%rax,%rax,2),%rcx
  lea    0x0(,%rax,4),%rdx
  movl   $0x0,0x30(%rsp)
  add    %rcx,%rdi
  sub    %rdx,%rax
  mov    %rcx,0x40(%rsp)
  mov    %rdi,0x18(%rsp)
  movl   $0x0,0x20(%rsp)
  mov    %rax,0x48(%rsp)
  nopl   (%rax)
L5:
  cvttss2si 0x20(%rsp),%eax
  mov    0x3c(%rsp),%ecx
  movl   $0x0,0x4(%rsp)
  mov    0x48(%rsp),%r12
  add    0x18(%rsp),%r12
  imul   %ecx,%eax
  mov    %eax,0x28(%rsp)
  add    %ecx,%eax
  mov    %eax,0x24(%rsp)
  nopl   0x0(%rax)
L3:
  movss  0x4(%rsp),%xmm0
  cvttss2si 0x4(%rsp),%ebx
  call   <floor@plt>
  movaps %xmm0,%xmm1
  movss  0x4(%rsp),%xmm0
  subss  %xmm1,%xmm0
  mulss  D11(%rip),%xmm0
  cvttss2si %xmm0,%r13d
  movss  0x20(%rsp),%xmm0
  call   <floor@plt>
  mov    0x28(%rsp),%eax
  movaps %xmm0,%xmm1
  movss  0x20(%rsp),%xmm0
  lea    0x1(%rax,%rbx,1),%eax
  subss  %xmm1,%xmm0
  mulss  D11(%rip),%xmm0
  lea    (%rax,%rax,2),%edx
  mov    0x24(%rsp),%eax
  add    %ebx,%eax
  lea    (%rax,%rax,2),%ebp
  cvttss2si %xmm0,%r8d
  lea    0x0(%r13,%r8,1),%eax
  cmp    $0x10000,%eax
  jg     L76
  lea    -0x3(%rdx),%eax
  movslq %edx,%rbx
  movslq %ebp,%rbp
  xor    %r14d,%r14d
  cltq
  mov    %rbx,0x10(%rsp)
  add    %r15,%rbp
  mov    %r8d,%ebx
  mov    %rax,0x8(%rsp)
L22:
  mov    0x10(%rsp),%rax
  movzbl 0x0(%rbp,%r14,1),%edx
  mov    %ebx,%r8d
  mov    %r13d,%ecx
  add    %r15,%rax
  movzbl (%rax,%r14,1),%esi
  mov    0x8(%rsp),%rax
  add    %r15,%rax
  movzbl (%rax,%r14,1),%edi
  call   <interpolate@plt>
  mov    %al,(%r12,%r14,1)
  add    $0x1,%r14
  cmp    $0x3,%r14
  jne    L22
L50:
  movss  0x4(%rsp),%xmm2
  addss  0x2c(%rsp),%xmm2
  add    $0x3,%r12
  movss  %xmm2,0x4(%rsp)
  cmp    0x18(%rsp),%r12
  jne    L3
  movss  0x20(%rsp),%xmm4
  addss  0x34(%rsp),%xmm4
  addl   $0x1,0x30(%rsp)
  mov    0x40(%rsp),%rsi
  mov    0x30(%rsp),%eax
  add    %rsi,0x18(%rsp)
  movss  %xmm4,0x20(%rsp)
  cmp    %eax,0x38(%rsp)
  jne    L5
L79:
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L76:
  mov    $0x10000,%eax
  movslq %edx,%rbx
  xor    %r14d,%r14d
  sub    %r13d,%eax
  mov    $0x10000,%r13d
  add    %r15,%rbx
  mov    %eax,0x8(%rsp)
  lea    0x3(%rbp),%eax
  movslq %ebp,%rbp
  sub    %r8d,%r13d
  cltq
  mov    %rax,0x10(%rsp)
  mov    %rbp,%rax
  mov    %rbx,%rbp
  mov    %r15,%rbx
  mov    %r13d,%r15d
  mov    %rax,%r13
L18:
  lea    (%rbx,%r13,1),%rax
  movzbl 0x0(%rbp,%r14,1),%edx
  mov    0x8(%rsp),%ecx
  mov    %r15d,%r8d
  movzbl (%rax,%r14,1),%esi
  mov    0x10(%rsp),%rax
  add    %rbx,%rax
  movzbl (%rax,%r14,1),%edi
  call   <interpolate@plt>
  mov    %al,(%r12,%r14,1)
  add    $0x1,%r14
  cmp    $0x3,%r14
  jne    L18
  mov    %rbx,%r15
  jmp    L50
```

tool_calls: name: retrieve_data
arguments: data_tag: D11
datatype: byte[4]

tool: {"D11": [0x00,0x00,0x80,0x47]}

assistant: ```c
void gl_resizeImage(unsigned char *dest, int xsize_dest, int ysize_dest, unsigned char *src, int xsize_src, int ysize_src) {
  unsigned char *pix, *pix_src;
  float x1, y1, x1inc, y1inc;
  int xi, yi, j, xf, yf, x, y;
  pix = dest;
  pix_src = src;
  x1inc = (float)(xsize_src - 1) / (float)(xsize_dest - 1);
  y1inc = (float)(ysize_src - 1) / (float)(ysize_dest - 1);
  y1 = 0;
  for (y = 0; y < ysize_dest; y++) {
    x1 = 0;
    for (x = 0; x < xsize_dest; x++) {
      xi = (int)x1;
      yi = (int)y1;
      xf = (int)((x1 - floor(x1)) * (1 << 16));
      yf = (int)((y1 - floor(y1)) * (1 << 16));
      if ((xf + yf) <= (1 << 16)) {
        for (j = 0; j < 3; j++) {
          pix[j] = interpolate(pix_src[(yi * xsize_src + xi) * 3 + j], pix_src[(yi * xsize_src + xi + 1) * 3 + j], pix_src[((yi + 1) * xsize_src + xi) * 3 + j], xf, yf);
        }
      } else {
        xf = (1 << 16) - xf;
        yf = (1 << 16) - yf;
        for (j = 0; j < 3; j++) {
          pix[j] = interpolate(pix_src[((yi + 1) * xsize_src + xi + 1) * 3 + j], pix_src[((yi + 1) * xsize_src + xi) * 3 + j], pix_src[(yi * xsize_src + xi + 1) * 3 + j], xf, yf);
        }
      }
      pix += 3;
      x1 += x1inc;
    }
    y1 += y1inc;
  }
}
```