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

```asm
<Info_SetValueForKey>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x418,%rsp
  mov    %rdi,%r12
  mov    %rsi,%rbx
  mov    %rdx,%rbp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  cmp    $0x3ff,%eax
  jg     L89
L131:
  mov    $0x5c,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L82
  mov    $0x5c,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L120
  mov    $0x3b,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L111
  mov    $0x3b,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L124
  mov    $0x22,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L148
  mov    $0x22,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L92
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <Info_RemoveKey@plt>
  test   %rbp,%rbp
  je     L170
  mov    %rbp,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  je     L170
  mov    %rsp,%r13
  mov    %rbp,%r8
  mov    %rbx,%rcx
  lea    D102(%rip),%rdx
  mov    $0x400,%esi
  mov    %r13,%rdi
  call   <Com_sprintf@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %eax,%ebx
  mov    %r12,%rdi
  call   <strlen@plt>
  add    %eax,%ebx
  cmp    $0x400,%ebx
  jg     L25
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %r13,%rsi
  mov    %r12,%rdi
  call   <strcpy@plt>
  jmp    L170
L89:
  lea    D13(%rip),%rdi
  call   <Com_PrintWarning@plt>
  jmp    L131
L82:
  lea    D30(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  lea    D131(%rip),%rdi
  call   <Com_DPrintf@plt>
L170:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L187
  add    $0x418,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L120:
  lea    D90(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  lea    D107(%rip),%rdi
  call   <Com_DPrintf@plt>
  jmp    L170
L111:
  lea    D123(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  lea    D131(%rip),%rdi
  call   <Com_DPrintf@plt>
  jmp    L170
L124:
  lea    D17(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  lea    D107(%rip),%rdi
  call   <Com_DPrintf@plt>
  jmp    L170
L148:
  lea    D130(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  lea    D131(%rip),%rdi
  call   <Com_DPrintf@plt>
  jmp    L170
L92:
  lea    D43(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    %rbx,%rdx
  mov    %rbp,%rsi
  lea    D107(%rip),%rdi
  call   <Com_DPrintf@plt>
  jmp    L170
L25:
  lea    D55(%rip),%rdi
  call   <Com_PrintWarning@plt>
  jmp    L170
L187:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D102
data_type: string
name: extract_symbolic_data
arguments: tag: D13
data_type: string
name: extract_symbolic_data
arguments: tag: D30
data_type: string
name: extract_symbolic_data
arguments: tag: D131
data_type: string
name: extract_symbolic_data
arguments: tag: D90
data_type: string
name: extract_symbolic_data
arguments: tag: D107
data_type: string
name: extract_symbolic_data
arguments: tag: D123
data_type: string
name: extract_symbolic_data
arguments: tag: D17
data_type: string
name: extract_symbolic_data
arguments: tag: D130
data_type: string
name: extract_symbolic_data
arguments: tag: D43
data_type: string
name: extract_symbolic_data
arguments: tag: D55
data_type: string

tool: D102: \%s\%s

tool: D13: Unexpected error - Info_SetValueForKey: oversize infostring

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


tool: D131: Bad key: %s value: %s


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


tool: D107: Bad value: %s key: %s


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


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


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


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


tool: D55: 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);
}
```