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

```asm
<test_parse_depth>:
  endbr64
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  lea    -0xc000(%rsp),%r11
L0:
  sub    $0x1000,%rsp
  orq    $0x0,(%rsp)
  cmp    %r11,%rsp
  jne    L0
  sub    $0x18,%rsp
  lea    D15(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0xc008(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r12
  lea    0x4000(%rsp),%r13
  lea    0x8000(%rsp),%rbp
  call   <printf@plt>
  lea    D75(%rip),%rdx
  lea    D25(%rip),%rsi
  mov    %r12,%rdi
  call   <sprintf@plt>
  mov    %r12,%rdx
  lea    D72(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  movb   $0x0,0x8000(%rsp)
  call   <parse_depth@plt>
  xor    %edi,%edi
  cmp    $0x3,%eax
  sete   %dil
  call   <assert@plt>
  mov    %rbp,%rdi
  call   <strlen@plt>
  mov    %r12,%rdi
  mov    %eax,%ebx
  call   <strlen@plt>
  xor    %edi,%edi
  cmp    %eax,%ebx
  sete   %dil
  xor    %ebx,%ebx
  call   <assert@plt>
  jmp    L4
  nopl   (%rax)
L28:
  movzbl (%r12,%rbx,1),%eax
  xor    %edi,%edi
  cmp    %al,0x0(%rbp,%rbx,1)
  sete   %dil
  add    $0x1,%rbx
  call   <assert@plt>
L4:
  mov    %rbp,%rdi
  call   <strlen@plt>
  cmp    %ebx,%eax
  jg     L28
  mov    %r12,%rdx
  lea    D63(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <parse_depth@plt>
  xor    %edi,%edi
  cmp    $0x4,%eax
  sete   %dil
  call   <assert@plt>
  mov    %r12,%rdx
  lea    D64(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <parse_depth@plt>
  xor    %edi,%edi
  cmp    $0x4,%eax
  sete   %dil
  call   <assert@plt>
  mov    %r12,%rdx
  lea    D4(%rip),%rsi
  mov    %r13,%rdi
  call   <sprintf@plt>
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <parse_depth@plt>
  xor    %edi,%edi
  cmp    $0xffffffff,%eax
  sete   %dil
  call   <assert@plt>
  lea    D14(%rip),%rdi
  call   <printf@plt>
  mov    0xc008(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  add    $0xc018,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D15
type: string
name: parse_data
arguments: tag: D75
type: string
name: parse_data
arguments: tag: D25
type: string
name: parse_data
arguments: tag: D72
type: string
name: parse_data
arguments: tag: D63
type: string
name: parse_data
arguments: tag: D64
type: string
name: parse_data
arguments: tag: D4
type: string
name: parse_data
arguments: tag: D14
type: string

tool: D15: test_parse_depth...

tool: D75: title

tool: D25: %s

tool: D72: *** %s

tool: D63: **** %s

tool: D64: ****	%s

tool: D4: *%s*

tool: D14: Ok


assistant: ```c
void test_parse_depth() {
  char title[(4096 * 4)];
  char line1[(4096 * 4)];
  char header[(4096 * 4)];
  int i;
  printf("test_parse_depth...");
  sprintf(title, "%s", "title");
  sprintf(line1, "*** %s", title);
  header[0] = 0;
  assert(parse_depth(line1, header) == 3);
  assert(strlen(header) == strlen(title));
  for (i = 0; i < strlen(header); i++) {
    assert(header[i] == title[i]);
  }
  sprintf(line1, "**** %s", title);
  assert(parse_depth(line1, header) == 4);
  sprintf(line1, "****\t%s", title);
  assert(parse_depth(line1, header) == 4);
  sprintf(line1, "*%s*", title);
  assert(parse_depth(line1, header) == -1);
  printf("Ok\n");
}
```