user: Demonstrate the C code that generates the assembly output below:

```asm
<BigInfo_SetValueForKey>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  sub    $0x18,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x2008(%rsp)
  xor    %eax,%eax
  mov    %rdi,%rbp
  mov    %rsi,%r12
  mov    %rdx,%rbx
  call   <strlen@plt>
  cmp    $0x1fff,%eax
  jg     L37
L83:
  mov    $0x5c,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L102
  mov    $0x5c,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L0
L102:
  mov    0x2008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L144
  lea    D22(%rip),%rdi
L162:
  add    $0x2018,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  jmp    1120 <Com_Printf@plt>
  cs nopw 0x0(%rax,%rax,1)
L0:
  mov    $0x3b,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L42
  mov    $0x3b,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L160
L42:
  mov    0x2008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L144
  lea    D28(%rip),%rdi
  jmp    L162
  nopl   0x0(%rax)
L37:
  lea    D24(%rip),%rdi
  call   <Com_Printf@plt>
  jmp    L83
  nopl   0x0(%rax)
L160:
  mov    $0x22,%esi
  mov    %r12,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  jne    L93
  mov    $0x22,%esi
  mov    %rbx,%rdi
  call   <strchr@plt>
  test   %rax,%rax
  je     L68
L93:
  mov    0x2008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L144
  lea    D56(%rip),%rdi
  jmp    L162
  nopw   0x0(%rax,%rax,1)
L68:
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <BigInfo_RemoveKey@plt>
  test   %rbx,%rbx
  je     L148
  mov    %rbx,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  je     L148
  mov    %rsp,%r13
  mov    %rbx,%r8
  mov    %r12,%rcx
  mov    $0x2000,%esi
  lea    D15(%rip),%rdx
  mov    %r13,%rdi
  call   <Com_sprintf@plt>
  mov    %r13,%rdi
  call   <strlen@plt>
  mov    %rbp,%rdi
  mov    %eax,%ebx
  call   <strlen@plt>
  add    %eax,%ebx
  cmp    $0x2000,%ebx
  jg     L174
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <strcat@plt>
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <strcpy@plt>
L148:
  mov    0x2008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L144
  add    $0x2018,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L174:
  lea    D13(%rip),%rdi
  call   <Com_Printf@plt>
  jmp    L148
L144:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: label: D22
data_type: string
name: parse_data
arguments: label: D28
data_type: string
name: parse_data
arguments: label: D24
data_type: string
name: parse_data
arguments: label: D56
data_type: string
name: parse_data
arguments: label: D15
data_type: string
name: parse_data
arguments: label: D13
data_type: string

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


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


tool: D24: Error: Info_SetValueForKey: oversize infostring

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


tool: D15: \%s\%s

tool: D13: Error: Info string length exceeded


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