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

```asm
<register_builtin_macros>:
  endbr64
  push   %r15
  lea    D149(%rip),%r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  xor    %edi,%edi
  push   %rbx
  lea    D37(%rip),%rbx
  sub    $0x68,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  lea    0x30(%rsp),%r13
  lea    0x10(%rsp),%r12
  call   <time@plt>
  lea    0xc(%rsp),%rdi
  mov    %eax,0xc(%rsp)
  call   <localtime@plt>
  mov    %r15,%rdx
  lea    D31(%rip),%rsi
  mov    %rbp,%rdi
  mov    %rax,%r14
  call   <register_builtin_macro@plt>
  lea    D137(%rip),%rdx
  lea    D0(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  lea    D2(%rip),%rdx
  lea    D136(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  lea    D70(%rip),%rdx
  lea    D115(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  mov    %r14,%rcx
  mov    $0x1e,%esi
  mov    %r13,%rdi
  lea    D7(%rip),%rdx
  call   <strftime@plt>
  mov    %r13,%rdx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rdx
  lea    D23(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  mov    %r14,%rcx
  mov    $0x1e,%esi
  mov    %r13,%rdi
  lea    D57(%rip),%rdx
  call   <strftime@plt>
  mov    %r13,%rdx
  mov    %rbx,%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rdx
  lea    D32(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  mov    %r15,%rdx
  lea    D69(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  lea    D150(%rip),%rdx
  lea    D47(%rip),%rsi
  mov    %rbp,%rdi
  call   <register_builtin_macro@plt>
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D149
data_type: string
name: extract_symbolic_data
arguments: tag: D37
data_type: string
name: extract_symbolic_data
arguments: tag: D31
data_type: string
name: extract_symbolic_data
arguments: tag: D137
data_type: string
name: extract_symbolic_data
arguments: tag: D0
data_type: string
name: extract_symbolic_data
arguments: tag: D2
data_type: string
name: extract_symbolic_data
arguments: tag: D136
data_type: string
name: extract_symbolic_data
arguments: tag: D70
data_type: string
name: extract_symbolic_data
arguments: tag: D115
data_type: string
name: extract_symbolic_data
arguments: tag: D7
data_type: string
name: extract_symbolic_data
arguments: tag: D23
data_type: string
name: extract_symbolic_data
arguments: tag: D57
data_type: string
name: extract_symbolic_data
arguments: tag: D32
data_type: string
name: extract_symbolic_data
arguments: tag: D69
data_type: string
name: extract_symbolic_data
arguments: tag: D150
data_type: string
name: extract_symbolic_data
arguments: tag: D47
data_type: string

tool: D149: 0

tool: D37: "%s"

tool: D31: __ROMCC__

tool: D137: 73

tool: D0: __ROMCC_MINOR__

tool: D2: "This should be the filename"

tool: D136: __FILE__

tool: D70: 54321

tool: D115: __LINE__

tool: D7: %b %e %Y

tool: D23: __DATE__

tool: D57: %H:%M:%S

tool: D32: __TIME__

tool: D69: __STDC__

tool: D150: 199901L

tool: D47: __STDC_VERSION__

assistant: ```c
void register_builtin_macros(struct compile_state *state) {
  char buf[30];
  char scratch[30];
  time_t now;
  struct tm *tm;
  now = time(NULL);
  tm = localtime(&now);
  register_builtin_macro(state, "__ROMCC__", "0");
  register_builtin_macro(state, "__ROMCC_MINOR__", "73");
  register_builtin_macro(state, "__FILE__", "\"This should be the filename\"");
  register_builtin_macro(state, "__LINE__", "54321");
  strftime(scratch, sizeof(scratch), "%b %e %Y", tm);
  sprintf(buf, "\"%s\"", scratch);
  register_builtin_macro(state, "__DATE__", buf);
  strftime(scratch, sizeof(scratch), "%H:%M:%S", tm);
  sprintf(buf, "\"%s\"", scratch);
  register_builtin_macro(state, "__TIME__", buf);
  register_builtin_macro(state, "__STDC__", "0");
  register_builtin_macro(state, "__STDC_VERSION__", "199901L");
}
```