user: What would the C source look like for the assembly code provided here:

```asm
<Info_SetValueForKey>:
  endbr64
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %rsi,%rbp
  sub    $0x418,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  cmp    $0x3ff,%eax
  jg     L45
L130:
  mov    $0x5c,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L228
  mov    $0x5c,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L182
  mov    $0x3b,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L152
  mov    $0x3b,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L174
  mov    $0x22,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L19
  mov    $0x22,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L200
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <Info_RemoveKey@plt>
  test   %r12,%r12
  je     L213
  mov    %r12,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jne    L181
L213:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L78
  add    $0x418,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L182:
  lea    D33(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L78
L64:
  mov    %rbp,%rdx
  mov    %r12,%rsi
  lea    D80(%rip),%rdi
L193:
  add    $0x418,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  jmp    1130 <Com_DPrintf@plt>
  nopl   0x0(%rax,%rax,1)
L228:
  lea    D57(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L78
L42:
  mov    %r12,%rdx
  mov    %rbp,%rsi
  lea    D82(%rip),%rdi
  jmp    L193
  cs nopw 0x0(%rax,%rax,1)
L45:
  lea    D51(%rip),%rdi
  call   <Com_PrintWarning@plt>
  jmp    L130
  nopl   0x0(%rax)
L174:
  lea    D31(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  je     L64
L78:
  call   <__stack_chk_fail@plt>
L152:
  lea    D39(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  je     L42
  jmp    L78
  nopl   0x0(%rax)
L19:
  lea    D25(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  je     L42
  jmp    L78
  nopl   (%rax)
L181:
  mov    %rsp,%r14
  mov    %rbp,%rcx
  mov    %r12,%r8
  mov    $0x400,%esi
  lea    D48(%rip),%rdx
  mov    %r14,%rdi
  call   <Com_sprintf@plt>
  mov    %r14,%rdi
  call   <strlen@plt>
  mov    %r13,%rdi
  mov    %eax,%ebp
  call   <strlen@plt>
  add    %eax,%ebp
  cmp    $0x400,%ebp
  jg     L132
  mov    %r13,%rsi
  mov    %r14,%rdi
  call   <strcat@plt>
  mov    %r14,%rsi
  mov    %r13,%rdi
  call   <strcpy@plt>
  jmp    L213
  nopl   0x0(%rax)
L200:
  lea    D6(%rip),%rdi
  call   <Com_PrintWarning@plt>
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  je     L64
  jmp    L78
L132:
  lea    D75(%rip),%rdi
  call   <Com_PrintWarning@plt>
  jmp    L213
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D33
datatype: string
name: extract_symbolic_data
arguments: data_label: D80
datatype: string
name: extract_symbolic_data
arguments: data_label: D57
datatype: string
name: extract_symbolic_data
arguments: data_label: D82
datatype: string
name: extract_symbolic_data
arguments: data_label: D51
datatype: string
name: extract_symbolic_data
arguments: data_label: D31
datatype: string
name: extract_symbolic_data
arguments: data_label: D39
datatype: string
name: extract_symbolic_data
arguments: data_label: D25
datatype: string
name: extract_symbolic_data
arguments: data_label: D48
datatype: string
name: extract_symbolic_data
arguments: data_label: D6
datatype: string
name: extract_symbolic_data
arguments: data_label: D75
datatype: string

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


tool: D80: Bad value: %s key: %s


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


tool: D82: Bad key: %s value: %s


tool: D51: Unexpected error - Info_SetValueForKey: oversize infostring

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


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


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


tool: D48: \%s\%s

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


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