user: 这段汇编代码用C语言表示是什么样的：

```asm
<pic_binmap>:
  endbr64
  mov    %edx,%r8d
  mov    %ecx,%edx
  mov    %r8d,%r9d
  test   %edx,%edx
  je     L88
  lea    0x1(%rdi),%rcx
  mov    %rsi,%rax
  sub    %rcx,%rax
  cmp    $0xe,%rax
  jbe    L253
  lea    -0x1(%rdx),%eax
  cmp    $0xe,%eax
  jbe    L253
  movd   %r8d,%xmm5
  mov    %edx,%ecx
  movdqa D2(%rip),%xmm7
  xor    %eax,%eax
  punpcklbw %xmm5,%xmm5
  shr    $0x4,%ecx
  pxor   %xmm0,%xmm0
  pxor   %xmm4,%xmm4
  punpcklwd %xmm5,%xmm5
  shl    $0x4,%rcx
  pxor   %xmm6,%xmm6
  pshufd $0x0,%xmm5,%xmm5
  nopl   (%rax)
L405:
  movdqu (%rdi,%rax,1),%xmm1
  movdqa %xmm4,%xmm8
  psubusb %xmm5,%xmm1
  pcmpeqb %xmm4,%xmm1
  movdqa %xmm1,%xmm3
  pcmpeqb %xmm4,%xmm3
  movdqa %xmm3,%xmm1
  movups %xmm3,(%rsi,%rax,1)
  add    $0x10,%rax
  pand   %xmm7,%xmm1
  pcmpgtb %xmm1,%xmm8
  movdqa %xmm1,%xmm2
  punpcklbw %xmm8,%xmm2
  punpckhbw %xmm8,%xmm1
  movdqa %xmm6,%xmm8
  pcmpgtw %xmm2,%xmm8
  movdqa %xmm2,%xmm9
  punpcklwd %xmm8,%xmm9
  punpckhwd %xmm8,%xmm2
  movdqa %xmm1,%xmm8
  paddd  %xmm9,%xmm0
  paddd  %xmm2,%xmm0
  movdqa %xmm6,%xmm2
  pcmpgtw %xmm1,%xmm2
  punpcklwd %xmm2,%xmm8
  punpckhwd %xmm2,%xmm1
  paddd  %xmm8,%xmm0
  paddd  %xmm1,%xmm0
  cmp    %rcx,%rax
  jne    L405
  movdqa %xmm0,%xmm1
  mov    %edx,%ecx
  psrldq $0x8,%xmm1
  and    $0xfffffff0,%ecx
  paddd  %xmm1,%xmm0
  movdqa %xmm0,%xmm1
  psrldq $0x4,%xmm1
  paddd  %xmm1,%xmm0
  movd   %xmm0,%eax
  test   $0xf,%dl
  je     L30
  movslq %ecx,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    %r8b,(%rdi,%r9,1)
  ja     L76
L305:
  lea    0x1(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L307
L448:
  lea    0x2(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L167
L378:
  lea    0x3(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L112
L8:
  lea    0x4(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jae    L228
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
L228:
  lea    0x5(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jae    L39
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
L39:
  lea    0x6(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jae    L273
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
L273:
  lea    0x7(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L277
L276:
  lea    0x8(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L234
L365:
  lea    0x9(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L458
L293:
  lea    0xa(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L47
L155:
  lea    0xb(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jb     L325
L316:
  lea    0xc(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jae    L341
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
L341:
  lea    0xd(%rcx),%r9d
  mov    %r10b,(%r11)
  cmp    %r9d,%edx
  je     L30
  movslq %r9d,%r9
  xor    %r10d,%r10d
  lea    (%rsi,%r9,1),%r11
  cmp    (%rdi,%r9,1),%r8b
  jae    L43
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
L43:
  add    $0xe,%ecx
  mov    %r10b,(%r11)
  cmp    %ecx,%edx
  je     L30
  movslq %ecx,%rcx
  add    %rcx,%rsi
  cmp    (%rdi,%rcx,1),%r8b
  jb     L102
  xor    %edx,%edx
L452:
  mov    %dl,(%rsi)
  ret
  nopl   0x0(%rax,%rax,1)
L88:
  xor    %eax,%eax
L30:
  ret
  nopl   0x0(%rax,%rax,1)
L253:
  xor    %ecx,%ecx
  xor    %eax,%eax
L398:
  xor    %r8d,%r8d
  cmp    (%rdi,%rcx,1),%r9b
  jae    L139
  add    $0x1,%eax
  mov    $0xffffffff,%r8d
L139:
  mov    %r8b,(%rsi,%rcx,1)
  add    $0x1,%rcx
  cmp    %rdx,%rcx
  jne    L398
  ret
  nopl   0x0(%rax)
L76:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L305
  cs nopw 0x0(%rax,%rax,1)
L307:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L448
  xchg   %ax,%ax
L167:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L378
  xchg   %ax,%ax
L112:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L8
  xchg   %ax,%ax
L277:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L276
  xchg   %ax,%ax
L234:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L365
  xchg   %ax,%ax
L458:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L293
  xchg   %ax,%ax
L47:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L155
  xchg   %ax,%ax
L325:
  add    $0x1,%eax
  mov    $0xffffffff,%r10d
  jmp    L316
L102:
  add    $0x1,%eax
  mov    $0xffffffff,%edx
  jmp    L452
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D2
type_infered: byte[16]

tool: {"D2": [0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x01]}

assistant: ```c
int pic_binmap(unsigned char *img, unsigned char *binimg, unsigned char noise, unsigned int size) {
  int i = 0;
  int cnt = 0;
  while (i != size) {
    binimg[i] = img[i] > noise ? 255 : 0;
    if (binimg[i])
      cnt++;
    i++;
  }
  return cnt;
}
```