user: 请从给定的汇编指令推导出C源代码:

```asm
<output_element>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  mov    %rsi,%r13
  mov    $0x1,%esi
  push   %r12
  mov    %rdx,%r12
  mov    $0x2,%edx
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %ecx,%ebx
  mov    %rdi,%rcx
  lea    D20(%rip),%rdi
  mov    %ebx,%r14d
  sub    $0x8,%rsp
  call   <fwrite@plt>
  and    $0x8,%r14d
  jne    L125
L11:
  test   $0x20,%bl
  jne    L88
  mov    %rbp,%rsi
  mov    %r13,%rdi
  call   <fputs@plt>
L67:
  test   %r14d,%r14d
  je     L18
L202:
  mov    $0x1,%esi
  mov    %rbp,%rcx
  mov    $0x4,%edx
  lea    D1(%rip),%rdi
  call   <fwrite@plt>
  mov    %rbp,%rsi
  and    $0x10,%ebx
  je     L172
L113:
  mov    $0x7b,%edi
  xor    %ebx,%ebx
  call   <fputc@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    %eax,%r13d
  test   %eax,%eax
  jle    L199
L29:
  movsbl (%r12,%rbx,1),%edi
  mov    %rbp,%rsi
  cmp    $0x22,%dil
  jne    L210
  mov    $0x22,%edi
L210:
  call   <fputc@plt>
  add    $0x1,%rbx
  cmp    %ebx,%r13d
  jg     L29
L199:
  mov    %rbp,%rsi
  mov    $0x7d,%edi
L122:
  add    $0x8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    10c0 <fputc@plt>
  nopl   0x0(%rax)
L88:
  mov    %r13,%rdi
  call   <strlen@plt>
  test   %eax,%eax
  jle    L67
  sub    $0x1,%eax
  lea    0x1(%r13,%rax,1),%r15
  nopl   0x0(%rax,%rax,1)
L73:
  movzbl 0x0(%r13),%edi
  add    $0x1,%r13
  call   <toupper@plt>
  mov    %rbp,%rsi
  mov    %eax,%edi
  call   <fputc@plt>
  cmp    %r15,%r13
  jne    L73
  test   %r14d,%r14d
  jne    L202
L18:
  mov    %rbp,%rsi
  mov    $0x3d,%edi
  call   <fputc@plt>
  mov    %rbp,%rsi
  and    $0x10,%ebx
  jne    L113
L172:
  mov    $0x22,%edi
  call   <fputc@plt>
  mov    %r12,%rdi
  call   <strlen@plt>
  mov    %eax,%r13d
  test   %eax,%eax
  jle    L181
  xor    %r14d,%r14d
  lea    D17(%rip),%r15
  jmp    L112
  nopl   0x0(%rax)
L179:
  test   %r14,%r14
  je     L154
  cmpb   $0x5c,-0x1(%r12,%r14,1)
  je     L151
L154:
  test   $0x1,%bl
  jne    L198
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  mov    %r15,%rdi
  call   <fwrite@plt>
L217:
  add    $0x1,%ebx
L89:
  add    $0x1,%r14
  cmp    %r14d,%r13d
  jle    L181
L112:
  movsbl (%r12,%r14,1),%edi
  cmp    $0x22,%dil
  je     L179
  mov    %rbp,%rsi
  add    $0x1,%r14
  call   <fputc@plt>
  cmp    %r14d,%r13d
  jg     L112
L181:
  mov    %rbp,%rsi
  mov    $0x22,%edi
  jmp    L122
  nopl   0x0(%rax)
L151:
  mov    %rbp,%rsi
  mov    $0x22,%edi
  call   <fputc@plt>
  jmp    L89
  nopw   0x0(%rax,%rax,1)
L198:
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D36(%rip),%rdi
  call   <fwrite@plt>
  jmp    L217
  nopl   0x0(%rax,%rax,1)
L125:
  mov    %rbp,%rcx
  mov    $0x2,%edx
  mov    $0x1,%esi
  lea    D8(%rip),%rdi
  call   <fwrite@plt>
  jmp    L11
```

tool_calls: name: read_data
arguments: data_label: D20
type_guessed: string
name: read_data
arguments: data_label: D1
type_guessed: string
name: read_data
arguments: data_label: D17
type_guessed: string
name: read_data
arguments: data_label: D36
type_guessed: string
name: read_data
arguments: data_label: D8
type_guessed: string

tool: D20: ,


tool: D1:  = 	

tool: D17: ``

tool: D36: ''

tool: D8:   

assistant: ```c
void output_element(FILE *fp, char *tag, char *data, int format_opts) {
  int i, len, nquotes = 0;
  char ch;
  fprintf(fp, ",\n");
  if (format_opts & (8))
    fprintf(fp, "  ");
  if (!(format_opts & (32)))
    fprintf(fp, "%s", tag);
  else {
    len = strlen(tag);
    for (i = 0; i < len; ++i)
      fprintf(fp, "%c", toupper((unsigned char)tag[i]));
  }
  if (format_opts & (8))
    fprintf(fp, " = \t");
  else
    fprintf(fp, "=");
  if (format_opts & (16))
    fprintf(fp, "{");
  else
    fprintf(fp, "\"");
  len = strlen(data);
  for (i = 0; i < len; ++i) {
    ch = data[i];
    if (ch != '\"')
      fprintf(fp, "%c", ch);
    else {
      if (format_opts & (16) || (i > 0 && data[i - 1] == '\\'))
        fprintf(fp, "\"");
      else {
        if (nquotes % 2 == 0)
          fprintf(fp, "``");
        else
          fprintf(fp, "\'\'");
        nquotes++;
      }
    }
  }
  if (format_opts & (16))
    fprintf(fp, "}");
  else
    fprintf(fp, "\"");
}
```