user: 这段汇编代码用C语言表示是什么样的?

```asm
<get_consensus_duplex>:
  endbr64
  push   %r15
  mov    %rsi,%r10
  mov    %r8d,%r15d
  mov    %rdx,%rsi
  push   %r14
  mov    %r9d,%r14d
  push   %r13
  push   %r12
  mov    %rcx,%r12
  push   %rbp
  push   %rbx
  movq   %xmm0,%rbx
  sub    $0x18,%rsp
  ucomisd D4(%rip),%xmm0
  mov    0x50(%rsp),%ebp
  mov    0x60(%rsp),%r8d
  jp     L71
  cmove  D12(%rip),%rbx
L71:
  test   %rsi,%rsi
  je     L23
  test   %r12,%r12
  je     L23
  movsbl %r8b,%r8d
  mov    %ebp,%ecx
  mov    %r15d,%edx
  mov    %r10,0x8(%rsp)
  mov    %r8d,(%rsp)
  call   <get_votes_qual@plt>
  mov    (%rsp),%r8d
  mov    0x8(%rsp),%rdi
  mov    %ebp,%ecx
  mov    %r12,%rsi
  mov    %r14d,%edx
  mov    %rax,%r13
  call   <get_votes_qual@plt>
  mov    %rax,%r12
L9:
  mov    0x70(%rsp),%rdi
  mov    $0x4,%edx
  lea    D42(%rip),%rsi
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L42
  movq   %rbx,%xmm0
  mov    %ebp,%edx
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <build_consensus_duplex@plt>
  mov    %rax,%r8
  mov    0x68(%rsp),%eax
  test   %eax,%eax
  je     L80
L65:
  mov    %ebp,%esi
  mov    %r13,%rdi
  mov    %r8,(%rsp)
  call   <free_votes@plt>
  mov    %ebp,%esi
  mov    %r12,%rdi
  call   <free_votes@plt>
  mov    (%rsp),%r8
L11:
  add    $0x18,%rsp
  mov    %r8,%rax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L23:
  mov    %ebp,%edx
  mov    %r15d,%esi
  mov    %r10,(%rsp)
  call   <get_votes_simple@plt>
  mov    (%rsp),%rdi
  mov    %ebp,%edx
  mov    %r14d,%esi
  mov    %rax,%r13
  call   <get_votes_simple@plt>
  mov    %rax,%r12
  jmp    L9
  nop
L42:
  mov    0x70(%rsp),%rdi
  mov    $0x5,%edx
  lea    D20(%rip),%rsi
  call   <strncmp@plt>
  lea    D7(%rip),%r8
  test   %eax,%eax
  jne    L11
  mov    0x58(%rsp),%ecx
  mov    %r15d,%esi
  movq   %rbx,%xmm0
  mov    %ebp,%edx
  mov    %r13,%rdi
  call   <build_consensus@plt>
  mov    0x58(%rsp),%ecx
  movq   %rbx,%xmm0
  mov    %ebp,%edx
  mov    %r14d,%esi
  mov    %r12,%rdi
  mov    %rax,%r15
  call   <build_consensus@plt>
  mov    $0x1,%edx
  mov    %r15,%rdi
  mov    %rax,%rsi
  call   <build_consensus_duplex_simple@plt>
  mov    %rax,%r8
  mov    0x68(%rsp),%eax
  test   %eax,%eax
  jne    L65
L80:
  mov    %r8,%rdi
  mov    %ebp,%esi
  call   <rm_gaps@plt>
  mov    %rax,%r8
  jmp    L65
```

tool_calls: name: parse_data
arguments: tag: D4
datatype: byte[8]
name: parse_data
arguments: tag: D12
datatype: f64
name: parse_data
arguments: tag: D42
datatype: string
name: parse_data
arguments: tag: D20
datatype: string
name: parse_data
arguments: tag: D7
datatype: string

tool: {"D4": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

tool: D12: 0.5

tool: D42: freq

tool: D20: iupac

tool: 

assistant: ```c
char *get_consensus_duplex(char *align1[], char *align2[], char *quals1[], char *quals2[], int n_seqs1, int n_seqs2, int seq_len, double cons_thres, int min_reads, char qual_thres, int gapped, char *method) {
  if (cons_thres == -1.0) {
    cons_thres = 0.5;
  }
  int **votes1;
  int **votes2;
  if (quals1 == 0 || quals2 == 0) {
    votes1 = get_votes_simple(align1, n_seqs1, seq_len);
    votes2 = get_votes_simple(align2, n_seqs2, seq_len);
  } else {
    votes1 = get_votes_qual(align1, quals1, n_seqs1, seq_len, qual_thres);
    votes2 = get_votes_qual(align2, quals2, n_seqs2, seq_len, qual_thres);
  }
  char *consensus_gapped;
  if (!strncmp(method, "freq", 4)) {
    consensus_gapped = build_consensus_duplex(votes1, votes2, seq_len, cons_thres);
  } else if (!strncmp(method, "iupac", 5)) {
    char *cons1 = build_consensus(votes1, n_seqs1, seq_len, cons_thres, min_reads);
    char *cons2 = build_consensus(votes2, n_seqs2, seq_len, cons_thres, min_reads);
    consensus_gapped = build_consensus_duplex_simple(cons1, cons2, 1);
  } else {
    return "";
  }
  char *consensus;
  if (gapped) {
    consensus = consensus_gapped;
  } else {
    consensus = rm_gaps(consensus_gapped, seq_len);
  }
  free_votes(votes1, seq_len);
  free_votes(votes2, seq_len);
  return consensus;
}
```