user: What is the c source code of the assembly code below?

```asm
<Info_SetValueForKey>:
  endbr64
  push   %r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x418,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  call   <strlen@plt>
  cmp    $0x3ff,%eax
  jle    L52
L144:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L157
  add    $0x418,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  xchg   %ax,%ax
L52:
  mov    $0x5c,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L121
  mov    $0x5c,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L66
L121:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L157
  lea    D39(%rip),%rdi
L117:
  add    $0x418,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    1110 <Com_Printf@plt>
  nopl   0x0(%rax)
L66:
  mov    $0x3b,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L19
  mov    $0x3b,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L19
  mov    $0x22,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L29
  mov    $0x22,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L29
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <Info_RemoveKey@plt>
  test   %rbx,%rbx
  je     L144
  mov    %rbx,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  je     L144
  mov    %rsp,%r13
  mov    %rbx,%r8
  mov    %r12,%rcx
  mov    $0x400,%esi
  lea    D48(%rip),%rdx
  mov    %r13,%rdi
  call   <snprintf@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %rbp,%rdi
  mov    %eax,%ebx
  call   <strlen@plt>
  add    %eax,%ebx
  cmp    $0x400,%ebx
  jg     L89
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
  jmp    L144
  nopl   0x0(%rax,%rax,1)
L19:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L157
  lea    D43(%rip),%rdi
  jmp    L117
  nop
L29:
  mov    0x408(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L157
  lea    D49(%rip),%rdi
  jmp    L117
L89:
  lea    D6(%rip),%rdi
  call   <Com_Printf@plt>
  jmp    L144
L157:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D39
type_infered: string
name: unpack_data
arguments: data_label: D48
type_infered: string
name: unpack_data
arguments: data_label: D43
type_infered: string
name: unpack_data
arguments: data_label: D49
type_infered: string
name: unpack_data
arguments: data_label: D6
type_infered: string

tool: D39: Can't use keys or values with a \


tool: D48: \%s\%s

tool: D43: Can't use keys or values with a semicolon


tool: D49: Can't use keys or values with a "


tool: D6: Info string length exceeded


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