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

```asm
<chaz_Strings_probe_c99_snprintf>:
  endbr64
  push   %rbp
  lea    D63(%rip),%rdi
  sub    $0x10,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  mov    %rsp,%rsi
  call   <chaz_CC_capture_output@plt>
  test   %rax,%rax
  je     L69
  xor    %esi,%esi
  mov    $0xa,%edx
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <strtol@plt>
  cmp    $0x5,%rax
  je     L53
L24:
  mov    %rbp,%rdi
  call   <free@plt>
L69:
  lea    D62(%rip),%rbp
  lea    D28(%rip),%rdi
  mov    %rbp,%rsi
  call   <chaz_HeadCheck_defines_symbol@plt>
  test   %rax,%rax
  jne    L58
L28:
  mov    %rbp,%rsi
  lea    D54(%rip),%rdi
  call   <chaz_HeadCheck_defines_symbol@plt>
  test   %rax,%rax
  jne    L26
L63:
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L37
  add    $0x10,%rsp
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L26:
  xor    %esi,%esi
  lea    D55(%rip),%rdi
  call   <chaz_ConfWriter_add_def@plt>
  jmp    L63
  nopl   0x0(%rax,%rax,1)
L58:
  xor    %esi,%esi
  lea    D30(%rip),%rdi
  call   <chaz_ConfWriter_add_def@plt>
  jmp    L28
L53:
  xor    %esi,%esi
  lea    D5(%rip),%rdi
  call   <chaz_ConfWriter_add_def@plt>
  jmp    L24
L37:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D63
datatype: string
name: extract_symbolic_data
arguments: label: D62
datatype: string
name: extract_symbolic_data
arguments: label: D28
datatype: string
name: extract_symbolic_data
arguments: label: D54
datatype: string
name: extract_symbolic_data
arguments: label: D55
datatype: string
name: extract_symbolic_data
arguments: label: D30
datatype: string
name: extract_symbolic_data
arguments: label: D5
datatype: string

tool: D63: #include <stdio.h>
int main() {
char buf[4];
int result;
result = snprintf(buf, 4, "%s", "12345");
printf("%d", result);
return 0;
}


tool: D62: #include <stdio.h>

tool: D28: _scprintf

tool: D54: _snprintf

tool: D55: HAS__SNPRINTF

tool: D30: HAS__SCPRINTF

tool: D5: HAS_C99_SNPRINTF

assistant: ```c
void chaz_Strings_probe_c99_snprintf(void) {
  static const char snprintf_code[] = "#include <stdio.h>"
                                      "\n"
                                      "int main() {"
                                      "\n"
                                      "char buf[4];"
                                      "\n"
                                      "int result;"
                                      "\n"
                                      "result = snprintf(buf, 4, \"%s\", \"12345\");"
                                      "\n"
                                      "printf(\"%d\", result);"
                                      "\n"
                                      "return 0;"
                                      "\n"
                                      "}"
                                      "\n";
  char *output = NULL;
  size_t output_len;
  output = chaz_CC_capture_output(snprintf_code, &output_len);
  if (output != NULL) {
    long result = strtol(output, NULL, 10);
    if (result == 5) {
      chaz_ConfWriter_add_def("HAS_C99_SNPRINTF", NULL);
    }
    free(output);
  }
  if (chaz_HeadCheck_defines_symbol("_scprintf", "#include <stdio.h>")) {
    chaz_ConfWriter_add_def("HAS__SCPRINTF", NULL);
  }
  if (chaz_HeadCheck_defines_symbol("_snprintf", "#include <stdio.h>")) {
    chaz_ConfWriter_add_def("HAS__SNPRINTF", NULL);
  }
}
```