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

```asm
<catmullrom_interp>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %rdx,%r12
  movaps %xmm0,%xmm2
  mov    %rcx,%r13
  movss  D92(%rip),%xmm0
  subss  %xmm0,%xmm2
  subss  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  movss  D12(%rip),%xmm4
  movaps %xmm2,%xmm3
  andps  %xmm4,%xmm3
  movss  D44(%rip),%xmm5
  ucomiss %xmm3,%xmm5
  jbe    L40
  cvttss2si %xmm2,%eax
  pxor   %xmm3,%xmm3
  cvtsi2ss %eax,%xmm3
  movaps %xmm3,%xmm0
  cmpnless %xmm2,%xmm0
  movss  D55(%rip),%xmm5
  andps  %xmm5,%xmm0
  subss  %xmm0,%xmm3
  andnps %xmm2,%xmm4
  orps   %xmm4,%xmm3
  movaps %xmm3,%xmm0
L40:
  movaps %xmm1,%xmm4
  movss  D12(%rip),%xmm5
  movaps %xmm1,%xmm3
  andps  %xmm5,%xmm3
  movss  D44(%rip),%xmm6
  ucomiss %xmm3,%xmm6
  jbe    L24
  cvttss2si %xmm1,%eax
  pxor   %xmm3,%xmm3
  cvtsi2ss %eax,%xmm3
  movaps %xmm3,%xmm4
  cmpnless %xmm1,%xmm4
  movss  D55(%rip),%xmm6
  andps  %xmm6,%xmm4
  subss  %xmm4,%xmm3
  andnps %xmm1,%xmm5
  movaps %xmm3,%xmm4
  orps   %xmm5,%xmm4
L24:
  movaps %xmm4,%xmm3
  subss  %xmm0,%xmm2
  movss  %xmm2,0x28(%rsp)
  subss  %xmm4,%xmm1
  movss  %xmm1,0x3c(%rsp)
  comiss D20(%rip),%xmm0
  jae    L42
  cvttss2si %xmm0,%rax
  mov    %rax,0x8(%rsp)
L11:
  comiss D20(%rip),%xmm3
  jae    L54
  cvttss2si %xmm3,%r14
L35:
  lea    0x2(%r14),%r15
  mov    0x8(%rsp),%rax
  lea    0x2(%rax),%rdx
  mov    %r13,%r9
  mov    %r15,%r8
  mov    %rdx,0x10(%rsp)
  mov    %rdx,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x2c(%rsp)
  mov    0x8(%rsp),%rax
  lea    0x1(%rax),%rsi
  mov    %r13,%r9
  mov    %r15,%r8
  mov    %rsi,0x18(%rsp)
  mov    %rsi,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x30(%rsp)
  mov    %r13,%r9
  mov    %r15,%r8
  mov    0x8(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x34(%rsp)
  mov    0x8(%rsp),%rax
  lea    -0x1(%rax),%rdi
  mov    %r13,%r9
  mov    %r15,%r8
  mov    %rdi,0x20(%rsp)
  mov    %rdi,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movaps %xmm0,%xmm1
  movss  0x2c(%rsp),%xmm4
  movss  0x30(%rsp),%xmm3
  movss  0x34(%rsp),%xmm2
  movss  0x28(%rsp),%xmm0
  call   <catmullrom_filter@plt>
  movss  %xmm0,0x2c(%rsp)
  lea    0x1(%r14),%r15
  mov    %r13,%r9
  mov    %r15,%r8
  mov    0x10(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x30(%rsp)
  mov    %r13,%r9
  mov    %r15,%r8
  mov    0x18(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x34(%rsp)
  mov    %r13,%r9
  mov    %r15,%r8
  mov    0x8(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x38(%rsp)
  mov    %r13,%r9
  mov    %r15,%r8
  mov    0x20(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movaps %xmm0,%xmm1
  movss  0x30(%rsp),%xmm4
  movss  0x34(%rsp),%xmm3
  movss  0x38(%rsp),%xmm2
  movss  0x28(%rsp),%xmm0
  call   <catmullrom_filter@plt>
  movss  %xmm0,0x30(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x10(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x34(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x18(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x38(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x8(%rsp),%r15
  mov    %r15,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x8(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x20(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movaps %xmm0,%xmm1
  movss  0x34(%rsp),%xmm4
  movss  0x38(%rsp),%xmm3
  movss  0x8(%rsp),%xmm2
  movss  0x28(%rsp),%xmm0
  call   <catmullrom_filter@plt>
  movss  %xmm0,0x8(%rsp)
  sub    $0x1,%r14
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x10(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x10(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x18(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x18(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    %r15,%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movss  %xmm0,0x34(%rsp)
  mov    %r13,%r9
  mov    %r14,%r8
  mov    0x20(%rsp),%rcx
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  call   <clamp2d@plt>
  movaps %xmm0,%xmm1
  movss  0x10(%rsp),%xmm4
  movss  0x18(%rsp),%xmm3
  movss  0x34(%rsp),%xmm2
  movss  0x28(%rsp),%xmm0
  call   <catmullrom_filter@plt>
  movaps %xmm0,%xmm1
  movss  0x2c(%rsp),%xmm4
  movss  0x30(%rsp),%xmm3
  movss  0x8(%rsp),%xmm2
  movss  0x3c(%rsp),%xmm0
  call   <catmullrom_filter@plt>
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L42:
  subss  D20(%rip),%xmm0
  cvttss2si %xmm0,%rax
  btc    $0x3f,%rax
  mov    %rax,0x8(%rsp)
  jmp    L11
L54:
  subss  D20(%rip),%xmm3
  cvttss2si %xmm3,%r14
  btc    $0x3f,%r14
  jmp    L35
```

tool_calls: name: retrieve_data
arguments: label: D92
data_type: byte[4]
name: retrieve_data
arguments: label: D12
data_type: byte[4]
name: retrieve_data
arguments: label: D44
data_type: byte[4]
name: retrieve_data
arguments: label: D55
data_type: byte[4]
name: retrieve_data
arguments: label: D20
data_type: byte[4]

tool: {"D92": [0x00,0x00,0x00,0x3f]}

tool: {"D12": [0xff,0xff,0xff,0x7f]}

tool: {"D44": [0x00,0x00,0x00,0x4b]}

tool: {"D55": [0x00,0x00,0x80,0x3f]}

tool: {"D20": [0x00,0x00,0x00,0x5f]}

assistant: ```c
float catmullrom_interp(const float *pixels, size_t width, size_t height, float u, float v, size_t a) {
  u -= 0.5f;
  v -= 0.5f;
  float px = floorf(u);
  float py = floorf(v);
  float fx = u - px;
  float fy = v - py;
  size_t ipx = (size_t)px;
  size_t ipy = (size_t)py;
  return catmullrom_filter(fy, catmullrom_filter(fx, clamp2d(pixels, width, height, ipx - 1, ipy - 1, a), clamp2d(pixels, width, height, ipx, ipy - 1, a), clamp2d(pixels, width, height, ipx + 1, ipy - 1, a), clamp2d(pixels, width, height, ipx + 2, ipy - 1, a)), catmullrom_filter(fx, clamp2d(pixels, width, height, ipx - 1, ipy, a), clamp2d(pixels, width, height, ipx, ipy, a), clamp2d(pixels, width, height, ipx + 1, ipy, a), clamp2d(pixels, width, height, ipx + 2, ipy, a)), catmullrom_filter(fx, clamp2d(pixels, width, height, ipx - 1, ipy + 1, a), clamp2d(pixels, width, height, ipx, ipy + 1, a), clamp2d(pixels, width, height, ipx + 1, ipy + 1, a), clamp2d(pixels, width, height, ipx + 2, ipy + 1, a)), catmullrom_filter(fx, clamp2d(pixels, width, height, ipx - 1, ipy + 2, a), clamp2d(pixels, width, height, ipx, ipy + 2, a), clamp2d(pixels, width, height, ipx + 1, ipy + 2, a), clamp2d(pixels, width, height, ipx + 2, ipy + 2, a)));
}
```