user: Demonstrate the C code that generates the assembly output below:

```asm
<plusClairNB>:
  endbr64
  push   %r15
  mov    %r8,%r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %edx,%r13d
  push   %r12
  mov    %esi,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %esi,%ebx
  imul   %edx,%ebx
  sub    $0x8,%rsp
  mov    %ebx,%edi
  call   <malloc@plt>
  mov    %rax,%r9
  test   %ebx,%ebx
  jle    L115
  lea    0x1(%rbp),%rdx
  sub    %rdx,%rax
  cmp    $0xe,%rax
  jbe    L85
  lea    -0x1(%rbx),%eax
  cmp    $0xe,%eax
  jbe    L85
  mov    %ebx,%edx
  mov    %rbp,%rcx
  movdqa D0(%rip),%xmm6
  mov    %r9,%rax
  shr    $0x4,%edx
  pxor   %xmm4,%xmm4
  pxor   %xmm5,%xmm5
  sub    %r9,%rcx
  shl    $0x4,%rdx
  movdqa D5(%rip),%xmm3
  add    %r9,%rdx
  nopw   0x0(%rax,%rax,1)
L105:
  movdqu (%rax,%rcx,1),%xmm7
  add    $0x10,%rax
  movdqa %xmm7,%xmm1
  movdqa %xmm7,%xmm0
  punpckhbw %xmm4,%xmm7
  psrlw  $0x1,%xmm1
  punpcklbw %xmm4,%xmm0
  pand   %xmm6,%xmm1
  movdqa %xmm1,%xmm2
  punpckhbw %xmm4,%xmm1
  punpcklbw %xmm4,%xmm2
  paddw  %xmm7,%xmm1
  paddw  %xmm0,%xmm2
  movdqa %xmm2,%xmm0
  psubusw %xmm3,%xmm0
  pcmpeqw %xmm5,%xmm0
  pand   %xmm0,%xmm2
  pandn  %xmm3,%xmm0
  por    %xmm2,%xmm0
  movdqa %xmm1,%xmm2
  psubusw %xmm3,%xmm2
  pand   %xmm3,%xmm0
  pcmpeqw %xmm5,%xmm2
  pand   %xmm2,%xmm1
  pandn  %xmm3,%xmm2
  por    %xmm1,%xmm2
  pand   %xmm3,%xmm2
  packuswb %xmm2,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L105
  mov    %ebx,%eax
  and    $0xfffffff0,%eax
  test   $0xf,%bl
  je     L115
  mov    %eax,%esi
  movzbl 0x0(%rbp,%rsi,1),%ecx
  mov    %ecx,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %ecx,%edx
  mov    $0xff,%ecx
  cmp    %ecx,%edx
  cmova  %ecx,%edx
  mov    %dl,(%r9,%rsi,1)
  lea    0x1(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x2(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x3(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x4(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x5(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x6(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x7(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x8(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0x9(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0xa(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0xb(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0xc(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  mov    %dl,(%r9,%rcx,1)
  lea    0xd(%rax),%edx
  cmp    %edx,%ebx
  jle    L115
  movslq %edx,%rcx
  movzbl 0x0(%rbp,%rcx,1),%esi
  mov    %esi,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %esi,%edx
  mov    $0xff,%esi
  cmp    %esi,%edx
  cmova  %esi,%edx
  add    $0xe,%eax
  mov    %dl,(%r9,%rcx,1)
  cmp    %eax,%ebx
  jle    L115
  cltq
  movzbl 0x0(%rbp,%rax,1),%ecx
  mov    %ecx,%edx
  shr    %dl
  movzbl %dl,%edx
  add    %ecx,%edx
  mov    $0xff,%ecx
  cmp    %ecx,%edx
  cmova  %ecx,%edx
  mov    %dl,(%r9,%rax,1)
L115:
  mov    %r12d,(%r14)
  mov    %r9,%rax
  mov    %r13d,(%r15)
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L85:
  add    %r9,%rbx
  mov    %r9,%rdx
  sub    %r9,%rbp
  nopl   0x0(%rax)
L164:
  movzbl 0x0(%rbp,%rdx,1),%ecx
  mov    %ecx,%eax
  shr    %al
  movzbl %al,%eax
  add    %ecx,%eax
  mov    $0xff,%ecx
  cmp    %ecx,%eax
  cmova  %ecx,%eax
  add    $0x1,%rdx
  mov    %al,-0x1(%rdx)
  cmp    %rbx,%rdx
  jne    L164
  jmp    L115
```

tool_calls: name: parse_data
arguments: tag: D0
data_type: byte[16]
name: parse_data
arguments: tag: D5
data_type: byte[16]

tool: {"D0": [0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f,0x7f]}

tool: {"D5": [0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]}

assistant: ```c
unsigned char *plusClairNB(unsigned char *img, int xs, int ys, int *nc, int *nl) {
  unsigned char *res = (unsigned char *)malloc(xs * ys);
  int nbPixels = xs * ys;
  int i;
  for (i = 0; i < nbPixels; i++) {
    unsigned int v = img[i] + img[i] / 2;
    if (v > 255) {
      v = 255;
    }
    res[i] = v;
  }
  *nc = xs;
  *nl = ys;
  return res;
}
```