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

```asm
<ordered_list_line>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  mov    %rsi,%rdi
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x418,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x408(%rsp)
  xor    %eax,%eax
  mov    %rsp,%r13
  lea    -0x1(%rsp),%r12
  call   <strlen@plt>
  mov    $0x400,%edx
  xor    %esi,%esi
  mov    %r13,%rdi
  movslq %eax,%r14
  call   <memset@plt>
  jmp    L68
  nopl   0x0(%rax)
L160:
  cmp    $0x3ff,%rbx
  je     L164
  mov    %rbp,%rdi
  add    $0x1,%rbx
  call   <consume@plt>
  mov    %al,(%r12,%rbx,1)
L68:
  mov    %rbp,%rdi
  call   <next@plt>
  movsbl %al,%edi
  call   <isspace@plt>
  test   %rax,%rax
  jne    L160
L164:
  cmp    %r14,%rbx
  jne    L59
L203:
  xor    %ebx,%ebx
  jmp    L236
  nopl   0x0(%rax,%rax,1)
L162:
  call   <consume@plt>
  add    $0x1,%ebx
L236:
  mov    %rbp,%rdi
  call   <next@plt>
  movsbl %al,%edi
  call   <isdigit@plt>
  mov    %rbp,%rdi
  test   %rax,%rax
  jne    L162
  call   <next@plt>
  cmp    $0x2e,%al
  je     L121
  mov    %rbp,%rdi
  call   <next@plt>
  cmp    $0x29,%al
  je     L121
  test   %ebx,%ebx
  je     L155
  xor    %r12d,%r12d
  nopl   0x0(%rax)
L24:
  mov    %rbp,%rdi
  add    $0x1,%r12d
  call   <unconsume@plt>
  cmp    %r12d,%ebx
  jne    L24
L155:
  xor    %eax,%eax
L211:
  mov    0x408(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L90
  add    $0x418,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L121:
  mov    %rbp,%rdi
  call   <consume@plt>
  lea    D10(%rip),%rsi
  mov    %rbp,%rdi
  call   <parser_emit_string@plt>
  jmp    L34
  nopl   0x0(%rax)
L229:
  call   <consume@plt>
L34:
  mov    %rbp,%rdi
  call   <next@plt>
  mov    %rbp,%rdi
  cmp    $0x20,%al
  je     L229
  call   <text_and_inline@plt>
  test   %eax,%eax
  je     L155
  lea    D12(%rip),%rsi
  mov    %rbp,%rdi
  call   <parser_emit_string@plt>
  mov    $0x1,%eax
  jmp    L211
  nopl   0x0(%rax,%rax,1)
L59:
  mov    %rbp,%rdi
  xor    %r12d,%r12d
  call   <next@plt>
  movsbl %al,%r15d
  jmp    L239
  nopl   0x0(%rax)
L171:
  mov    %rbp,%rdi
  add    $0x1,%r12d
  call   <unconsume@plt>
L239:
  mov    %r13,%rdi
  call   <strlen@plt>
  cmp    %r12d,%eax
  jg     L171
  mov    %r15d,%edi
  call   <is_bullet@plt>
  cmp    %r14,%rbx
  seta   %r12b
  test   %rax,%rax
  je     L1
  test   %r12b,%r12b
  jne    L178
L1:
  mov    %r15d,%edi
  call   <isdigit@plt>
  test   %rax,%rax
  je     L29
  test   %r12b,%r12b
  jne    L86
L29:
  cmp    %r14,%rbx
  jae    L203
  jmp    L155
L178:
  mov    %r13,%rdx
  mov    %r15d,%esi
  mov    %rbp,%rdi
  call   <unordered_list_internal@plt>
  jmp    L211
L86:
  mov    %r13,%rsi
  mov    %rbp,%rdi
  call   <ordered_list_internal@plt>
  jmp    L211
L90:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D10
type_guessed: string
name: retrieve_data
arguments: label: D12
type_guessed: string

tool: D10: <li>

tool: D12: </li>

assistant: ```c
bool ordered_list_line(struct cymkd_parser *parser, const char *curr_indent) {
  char indent[1024];
  int ch;
  int i;
  size_t curr_indent_len = strlen(curr_indent);
  size_t indent_len = 0;
  memset(indent, 0, 1024);
  while (isspace(next(parser)) && indent_len < 1024 - 1) {
    ch = consume(parser);
    indent[indent_len++] = ch;
  }
  if (indent_len != curr_indent_len) {
    ch = next(parser);
    for (i = 0; i < strlen(indent); i++) {
      unconsume(parser);
    }
    if (is_bullet(ch) && indent_len > curr_indent_len) {
      return unordered_list_internal(parser, ch, indent);
    } else if (isdigit(ch) && indent_len > curr_indent_len) {
      return ordered_list_internal(parser, indent);
    } else if (indent_len < curr_indent_len) {
      return false;
    }
  }
  int number_length = 0;
  while (isdigit(next(parser))) {
    consume(parser);
    number_length++;
  }
  if (next(parser) != '.' && next(parser) != ')') {
    for (int i = 0; i < number_length; i++) {
      unconsume(parser);
    }
    return false;
  }
  consume(parser);
  parser_emit_string(parser, "<li>");
  while (next(parser) == ' ') {
    consume(parser);
  }
  if (!text_and_inline(parser)) {
    return false;
  }
  parser_emit_string(parser, "</li>");
  return true;
}
```