user: 请将以下的汇编代码转换成C语言代码：

```asm
<extract_args>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %esi,-0x2c(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    %r8,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x2c(%rbp),%eax
  mov    %eax,-0x18(%rbp)
  mov    -0x28(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,-0x10(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L32
L74:
  lea    -0x20(%rbp),%rcx
  mov    -0x18(%rbp),%edx
  mov    -0x28(%rbp),%rax
  lea    D17(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <find_char@plt>
  mov    %eax,-0xc(%rbp)
  cmpl   $0x0,-0xc(%rbp)
  jne    L56
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L86
L96:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x1c(%rbp),%eax
  sub    -0x18(%rbp),%eax
  movzbl (%rsi),%edx
  cltq
  mov    %dl,(%rcx,%rax,1)
  addl   $0x1,-0x1c(%rbp)
L86:
  mov    -0x20(%rbp),%eax
  cmp    %eax,-0x1c(%rbp)
  jl     L96
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x20(%rbp),%eax
  sub    -0x18(%rbp),%eax
  cltq
  movb   $0x0,(%rdx,%rax,1)
  addl   $0x1,-0x14(%rbp)
  mov    -0x20(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x18(%rbp)
L56:
  cmpl   $0x1,-0xc(%rbp)
  jne    L32
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  jmp    L79
L52:
  mov    -0x1c(%rbp),%eax
  movslq %eax,%rdx
  mov    -0x28(%rbp),%rax
  lea    (%rdx,%rax,1),%rsi
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  lea    (%rdx,%rax,1),%rcx
  mov    -0x1c(%rbp),%eax
  sub    -0x18(%rbp),%eax
  movzbl (%rsi),%edx
  cltq
  mov    %dl,(%rcx,%rax,1)
  addl   $0x1,-0x1c(%rbp)
L79:
  mov    -0x20(%rbp),%eax
  cmp    %eax,-0x1c(%rbp)
  jl     L52
  mov    -0x14(%rbp),%eax
  movslq %eax,%rdx
  mov    %rdx,%rax
  shl    $0x2,%rax
  add    %rdx,%rax
  add    %rax,%rax
  add    %rax,%rdx
  mov    -0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x20(%rbp),%eax
  sub    -0x18(%rbp),%eax
  cltq
  movb   $0x0,(%rdx,%rax,1)
  addl   $0x1,-0x14(%rbp)
  mov    -0x20(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x18(%rbp)
  lea    -0x20(%rbp),%rcx
  mov    -0x18(%rbp),%edx
  mov    -0x28(%rbp),%rax
  lea    D11(%rip),%rsi
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <find_char@plt>
  mov    -0x20(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0x40(%rbp),%rax
  mov    -0x14(%rbp),%edx
  mov    %edx,(%rax)
  mov    $0x1,%eax
  jmp    L64
L32:
  mov    -0x18(%rbp),%eax
  cmp    -0x10(%rbp),%eax
  jl     L74
  mov    $0x0,%eax
L64:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L71
  call   <__stack_chk_fail@plt>
L71:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: tag: D17
type_infered: string
name: extract_symbolic_data
arguments: tag: D11
type_infered: string

tool: D17: ,)

tool: D11: =

assistant: ```c
int extract_args(s1, i0, ie, narg, args)
char args[20][10 + 1];
int *narg, *ie, i0;
char *s1;
{
  int k, i = i0, n = strlen(s1);
  int type, na = 0, i1;
  while (i < n) {
    type = find_char(s1, ",)", i, &i1);
    if (type == 0) {
      for (k = i; k < i1; k++)
        args[na][k - i] = s1[k];
      args[na][i1 - i] = 0;
      na++;
      i = i1 + 1;
    }
    if (type == 1) {
      for (k = i; k < i1; k++)
        args[na][k - i] = s1[k];
      args[na][i1 - i] = 0;
      na++;
      i = i1 + 1;
      find_char(s1, "=", i, &i1);
      *ie = i1 + 1;
      *narg = na;
      return 1;
    }
  }
  return (0);
}
```