user: Please show me the C implementation that matches the assembly code listed below:

```asm
<eca_opt_print_option_xml>:
  endbr64
  push   %r15
  mov    %rsi,%r15
  push   %r14
  mov    %rdx,%r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x8,%rsp
  mov    0x40(%rsp),%ebp
  mov    %ebp,%edi
  call   <PrintIndent@plt>
  lea    D102(%rip),%rdi
  call   <puts@plt>
  lea    D28(%rip),%rsi
  mov    %rbx,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L19
L87:
  lea    D50(%rip),%rsi
  mov    %r15,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L74
L36:
  lea    D21(%rip),%r15
  mov    %r14,%rdi
  mov    %r15,%rsi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L88
L70:
  mov    %r15,%rsi
  mov    %r13,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L40
L1:
  mov    %r15,%rsi
  mov    %r12,%rdi
  call   <strcmp@plt>
  test   %rax,%rax
  jne    L31
L30:
  mov    %ebp,%edi
  call   <PrintIndent@plt>
  add    $0x8,%rsp
  lea    D9(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1090 <puts@plt>
  nopl   0x0(%rax)
L19:
  lea    0x1(%rbp),%edi
  call   <PrintIndent@plt>
  mov    %rbx,%rsi
  lea    D41(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L87
  cs nopw 0x0(%rax,%rax,1)
L31:
  lea    0x1(%rbp),%r13d
  mov    %r13d,%edi
  call   <PrintIndent@plt>
  lea    D29(%rip),%rdi
  call   <puts@plt>
  lea    0x2(%rbp),%edx
  mov    $0x46,%esi
  mov    %r12,%rdi
  call   <print_spec_indented_and_max_length@plt>
  mov    %r13d,%edi
  call   <PrintIndent@plt>
  lea    D64(%rip),%rdi
  call   <puts@plt>
  jmp    L30
  nopl   0x0(%rax)
L40:
  lea    0x1(%rbp),%edi
  call   <PrintIndent@plt>
  mov    %r13,%rsi
  lea    D95(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L1
  cs nopw 0x0(%rax,%rax,1)
L88:
  lea    0x1(%rbp),%edi
  call   <PrintIndent@plt>
  mov    %r14,%rsi
  lea    D1(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L70
  xchg   %ax,%ax
L74:
  lea    0x1(%rbp),%edi
  call   <PrintIndent@plt>
  mov    %r15,%rsi
  lea    D83(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L36
```

tool_calls: name: read_data
arguments: tag: D102
type_infered: string
name: read_data
arguments: tag: D28
type_infered: string
name: read_data
arguments: tag: D50
type_infered: string
name: read_data
arguments: tag: D21
type_infered: string
name: read_data
arguments: tag: D9
type_infered: string
name: read_data
arguments: tag: D41
type_infered: string
name: read_data
arguments: tag: D29
type_infered: string
name: read_data
arguments: tag: D64
type_infered: string
name: read_data
arguments: tag: D95
type_infered: string
name: read_data
arguments: tag: D1
type_infered: string
name: read_data
arguments: tag: D83
type_infered: string

tool: D102: <option>

tool: D28: -

tool: D50: --

tool: 

tool: D9: </option>

tool: D41: <single_dash_tag>%s</single_dash_tag>


tool: D29: <long_help>

tool: D64: </long_help>

tool: D95: <short_help>%s</short_help>


tool: D1: <args>%s</args>


tool: D83: <double_dash_tag>%s</double_dash_tag>


assistant: ```c
void eca_opt_print_option_xml(const char *shortopt, const char *longopt, const char *args, const char *short_comment, const char *long_comment, int __END_OF_OPTS, int indent_level) {
  PrintIndent(indent_level);
  printf("<option>\n");
  if (strcmp(shortopt, "-") != 0) {
    PrintIndent(indent_level + 1);
    printf("<single_dash_tag>%s</single_dash_tag>\n", shortopt);
  }
  if (strcmp(longopt, "--") != 0) {
    PrintIndent(indent_level + 1);
    printf("<double_dash_tag>%s</double_dash_tag>\n", longopt);
  }
  if (strcmp(args, "") != 0) {
    PrintIndent(indent_level + 1);
    printf("<args>%s</args>\n", args);
  }
  if (strcmp(short_comment, "") != 0) {
    PrintIndent(indent_level + 1);
    printf("<short_help>%s</short_help>\n", short_comment);
  }
  if (strcmp(long_comment, "") != 0) {
    PrintIndent(indent_level + 1);
    printf("<long_help>\n");
    print_spec_indented_and_max_length(long_comment, 70, indent_level + 2);
    PrintIndent(indent_level + 1);
    printf("</long_help>\n");
  }
  PrintIndent(indent_level);
  printf("</option>\n");
}
```