user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<Info_SetValueForKey>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x438,%rsp
  mov    %rdi,-0x428(%rbp)
  mov    %rsi,-0x430(%rbp)
  mov    %rdx,-0x438(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    -0x428(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  cmp    $0x3ff,%eax
  jle    L31
  lea    D113(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
L31:
  mov    -0x430(%rbp),%rax
  mov    $0x5c,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L112
  lea    D82(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x438(%rbp),%rdx
  mov    -0x430(%rbp),%rax
  mov    %rax,%rsi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L112:
  mov    -0x438(%rbp),%rax
  mov    $0x5c,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L20
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x430(%rbp),%rdx
  mov    -0x438(%rbp),%rax
  mov    %rax,%rsi
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L20:
  mov    -0x430(%rbp),%rax
  mov    $0x3b,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L131
  lea    D109(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x438(%rbp),%rdx
  mov    -0x430(%rbp),%rax
  mov    %rax,%rsi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L131:
  mov    -0x438(%rbp),%rax
  mov    $0x3b,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L128
  lea    D9(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x430(%rbp),%rdx
  mov    -0x438(%rbp),%rax
  mov    %rax,%rsi
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L128:
  mov    -0x430(%rbp),%rax
  mov    $0x22,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L38
  lea    D136(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x438(%rbp),%rdx
  mov    -0x430(%rbp),%rax
  mov    %rax,%rsi
  lea    D36(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L38:
  mov    -0x438(%rbp),%rax
  mov    $0x22,%esi
  mov    %rax,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L59
  lea    D55(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  mov    -0x430(%rbp),%rdx
  mov    -0x438(%rbp),%rax
  mov    %rax,%rsi
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  call   <Com_DPrintf@plt>
  jmp    L183
L59:
  mov    -0x430(%rbp),%rdx
  mov    -0x428(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <Info_RemoveKey@plt>
  cmpq   $0x0,-0x438(%rbp)
  je     L15
  mov    -0x438(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  je     L15
  mov    -0x438(%rbp),%rcx
  mov    -0x430(%rbp),%rdx
  lea    -0x420(%rbp),%rax
  mov    %rcx,%r8
  mov    %rdx,%rcx
  lea    D75(%rip),%rdx
  mov    $0x400,%esi
  mov    %rax,%rdi
  call   <Com_sprintf@plt>
  lea    -0x420(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  mov    %eax,%ebx
  mov    -0x428(%rbp),%rax
  mov    %rax,%rdi
  call   <strlen@plt>
  add    %ebx,%eax
  cmp    $0x400,%eax
  jle    L93
  lea    D23(%rip),%rax
  mov    %rax,%rdi
  call   <Com_PrintWarning@plt>
  jmp    L183
L93:
  mov    -0x428(%rbp),%rdx
  lea    -0x420(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcat@plt>
  lea    -0x420(%rbp),%rdx
  mov    -0x428(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  jmp    L183
L15:
  nop
L183:
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L101
  call   <__stack_chk_fail@plt>
L101:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D113
type: string
name: parse_data
arguments: data_label: D82
type: string
name: parse_data
arguments: data_label: D36
type: string
name: parse_data
arguments: data_label: D50
type: string
name: parse_data
arguments: data_label: D98
type: string
name: parse_data
arguments: data_label: D109
type: string
name: parse_data
arguments: data_label: D9
type: string
name: parse_data
arguments: data_label: D136
type: string
name: parse_data
arguments: data_label: D55
type: string
name: parse_data
arguments: data_label: D75
type: string
name: parse_data
arguments: data_label: D23
type: string

tool: D113: Unexpected error - Info_SetValueForKey: oversize infostring

tool: D82: Can't use keys with a \


tool: D36: Bad key: %s value: %s


tool: D50: Can't use values with a \


tool: D98: Bad value: %s key: %s


tool: D109: Can't use keys with a semicolon


tool: D9: Can't use values with a semicolon


tool: D136: Can't use keys with a "


tool: D55: Can't use values with a "


tool: D75: \%s\%s

tool: D23: Info string length exceeded


assistant: ```c
void Info_SetValueForKey(char *s, const char *key, const char *value) {
  char newi[1024];
  if (strlen(s) >= 1024) {
    Com_PrintWarning("Unexpected error - Info_SetValueForKey: oversize infostring");
  }
  if (strchr(key, '\\')) {
    Com_PrintWarning("Can't use keys with a \\\n");
    Com_DPrintf("Bad key: %s value: %s\n", key, value);
    return;
  }
  if (strchr(value, '\\')) {
    Com_PrintWarning("Can't use values with a \\\n");
    Com_DPrintf("Bad value: %s key: %s\n", value, key);
    return;
  }
  if (strchr(key, ';')) {
    Com_PrintWarning("Can't use keys with a semicolon\n");
    Com_DPrintf("Bad key: %s value: %s\n", key, value);
    return;
  }
  if (strchr(value, ';')) {
    Com_PrintWarning("Can't use values with a semicolon\n");
    Com_DPrintf("Bad value: %s key: %s\n", value, key);
    return;
  }
  if (strchr(key, '\"')) {
    Com_PrintWarning("Can't use keys with a \"\n");
    Com_DPrintf("Bad key: %s value: %s\n", key, value);
    return;
  }
  if (strchr(value, '\"')) {
    Com_PrintWarning("Can't use values with a \"\n");
    Com_DPrintf("Bad value: %s key: %s\n", value, key);
    return;
  }
  Info_RemoveKey(s, key);
  if (!value || !strlen(value))
    return;
  Com_sprintf(newi, sizeof(newi), "\\%s\\%s", key, value);
  if (strlen(newi) + strlen(s) > 1024) {
    Com_PrintWarning("Info string length exceeded\n");
    return;
  }
  strcat(newi, s);
  strcpy(s, newi);
}
```