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

```asm
<find_next_kv>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %esi,-0x3c(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8,-0x58(%rbp)
  mov    %r9,-0x60(%rbp)
  mov    -0x38(%rbp),%rax
  mov    %rax,-0x28(%rbp)
  movq   $0x0,-0x18(%rbp)
  mov    -0x3c(%rbp),%esi
  mov    -0x28(%rbp),%rax
  mov    $0x1,%r8d
  mov    $0x4,%ecx
  lea    D12(%rip),%rdx
  mov    %rax,%rdi
  call   <ignore_chs@plt>
  mov    %rax,-0x28(%rbp)
  cmpq   $0x0,-0x28(%rbp)
  jne    L88
  mov    $0xffffffff,%eax
  jmp    L75
L88:
  mov    0x10(%rbp),%rax
  movq   $0x0,(%rax)
  mov    -0x48(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x3c(%rbp),%edx
  mov    -0x28(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    -0x28(%rbp),%rax
  mov    $0x3d,%esi
  mov    %rax,%rdi
  call   <memchr@plt>
  mov    %rax,-0x10(%rbp)
  cmpq   $0x0,-0x10(%rbp)
  jne    L74
  mov    $0xffffffff,%eax
  jmp    L75
L74:
  mov    -0x10(%rbp),%rax
  movb   $0x0,(%rax)
  mov    -0x10(%rbp),%rax
  sub    -0x28(%rbp),%rax
  mov    %eax,%esi
  mov    -0x28(%rbp),%rax
  mov    $0x4,%ecx
  lea    D13(%rip),%rdx
  mov    %rax,%rdi
  call   <find_delim@plt>
  mov    %rax,-0x8(%rbp)
  cmpq   $0x0,-0x8(%rbp)
  je     L100
  mov    -0x8(%rbp),%rax
  movb   $0x0,(%rax)
L100:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    -0x50(%rbp),%rdx
  mov    %eax,(%rdx)
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x28(%rbp)
  mov    -0x3c(%rbp),%edx
  mov    -0x28(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  mov    -0x28(%rbp),%rax
  mov    $0x1,%r8d
  mov    $0x4,%ecx
  lea    D13(%rip),%rdx
  mov    %rax,%rdi
  call   <ignore_chs@plt>
  mov    %rax,-0x28(%rbp)
  cmpq   $0x0,-0x28(%rbp)
  jne    L78
  mov    $0xffffffff,%eax
  jmp    L75
L78:
  movl   $0x0,-0x2c(%rbp)
  mov    -0x28(%rbp),%rax
  movzbl (%rax),%eax
  cmp    $0x22,%al
  jne    L106
  addq   $0x1,-0x28(%rbp)
  movl   $0x1,-0x2c(%rbp)
L106:
  mov    -0x58(%rbp),%rax
  mov    -0x28(%rbp),%rdx
  mov    %rdx,(%rax)
  cmpl   $0x0,-0x2c(%rbp)
  je     L114
  mov    -0x3c(%rbp),%edx
  mov    -0x28(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  mov    -0x28(%rbp),%rax
  mov    $0x3,%ecx
  lea    D11(%rip),%rdx
  mov    %rax,%rdi
  call   <find_delim@plt>
  mov    %rax,-0x20(%rbp)
  jmp    L37
L114:
  mov    -0x3c(%rbp),%edx
  mov    -0x28(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%esi
  mov    -0x28(%rbp),%rax
  mov    $0x5,%ecx
  lea    D41(%rip),%rdx
  mov    %rax,%rdi
  call   <find_delim@plt>
  mov    %rax,-0x20(%rbp)
L37:
  cmpq   $0x0,-0x20(%rbp)
  je     L11
  mov    -0x20(%rbp),%rax
  sub    -0x28(%rbp),%rax
  mov    %eax,%edx
  mov    -0x60(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x20(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,-0x18(%rbp)
  jmp    L61
L11:
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    -0x60(%rbp),%rdx
  mov    %eax,(%rdx)
L61:
  cmpq   $0x0,-0x18(%rbp)
  je     L117
  mov    0x10(%rbp),%rax
  mov    -0x18(%rbp),%rdx
  mov    %rdx,(%rax)
  mov    -0x3c(%rbp),%edx
  mov    -0x18(%rbp),%rax
  sub    -0x38(%rbp),%rax
  mov    %eax,%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,%edx
  mov    0x18(%rbp),%rax
  mov    %edx,(%rax)
L117:
  mov    $0x0,%eax
L75:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D12
datatype: string
name: unpack_data
arguments: data_tag: D13
datatype: string
name: unpack_data
arguments: data_tag: D11
datatype: string
name: unpack_data
arguments: data_tag: D41
datatype: string

tool: D12: ;	 


tool: D13: 	 


tool: D11: "


tool: D41: 	 ;


assistant: ```c
int find_next_kv(char *buf, int len, char **key, int *key_len, char **value, int *value_len, char **nbuf, int *nlen) {
  char *p = buf, *p1, *p2, *pe, *pn = 0;
  int find;
  p = ignore_chs(p, len, ";\t \r\n", 4, 1);
  if (!p) {
    return -1;
  }
  *nbuf = 0;
  *key = p;
  pe = memchr(p, '=', len - (p - buf));
  if (!pe) {
    return -1;
  }
  *pe = 0;
  p1 = find_delim(p, pe - p, "\t \r\n", 4);
  if (p1) {
    *p1 = 0;
  }
  *key_len = strlen(p);
  p = pe + 1;
  p = ignore_chs(p, len - (p - buf), "\t \r\n", 4, 1);
  if (!p) {
    return -1;
  }
  find = 0;
  if (*p == '"') {
    p++;
    find = 1;
  }
  *value = p;
  if (find) {
    p2 = find_delim(p, len - (p - buf), "\"\r\n", 3);
  } else {
    p2 = find_delim(p, len - (p - buf), "\t ;\r\n", 5);
  }
  if (p2) {
    *value_len = p2 - p;
    pn = p2 + 1;
  } else {
    *value_len = strlen(p);
  }
  if (pn) {
    *nbuf = pn;
    *nlen = len - (pn - buf);
  }
  return 0;
}
```