user: What would the C source look like for the assembly code provided here:

```asm
<get_consensus_duplex>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x70,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %rcx,-0x50(%rbp)
  mov    %r8d,-0x54(%rbp)
  mov    %r9d,-0x58(%rbp)
  movsd  %xmm0,-0x60(%rbp)
  mov    0x20(%rbp),%eax
  mov    %al,-0x64(%rbp)
  movsd  D28(%rip),%xmm0
  ucomisd -0x60(%rbp),%xmm0
  jp     L61
  movsd  D28(%rip),%xmm0
  ucomisd -0x60(%rbp),%xmm0
  jne    L61
  movsd  D59(%rip),%xmm0
  movsd  %xmm0,-0x60(%rbp)
L61:
  cmpq   $0x0,-0x48(%rbp)
  je     L77
  cmpq   $0x0,-0x50(%rbp)
  jne    L113
L77:
  mov    -0x54(%rbp),%ecx
  mov    -0x38(%rbp),%rax
  mov    0x10(%rbp),%edx
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <get_votes_simple@plt>
  mov    %rax,-0x30(%rbp)
  mov    -0x58(%rbp),%ecx
  mov    -0x40(%rbp),%rax
  mov    0x10(%rbp),%edx
  mov    %ecx,%esi
  mov    %rax,%rdi
  call   <get_votes_simple@plt>
  mov    %rax,-0x28(%rbp)
  jmp    L49
L113:
  movsbl -0x64(%rbp),%ecx
  mov    -0x54(%rbp),%edx
  mov    -0x48(%rbp),%rsi
  mov    -0x38(%rbp),%rax
  mov    %ecx,%r8d
  mov    0x10(%rbp),%ecx
  mov    %rax,%rdi
  call   <get_votes_qual@plt>
  mov    %rax,-0x30(%rbp)
  movsbl -0x64(%rbp),%ecx
  mov    -0x58(%rbp),%edx
  mov    -0x50(%rbp),%rsi
  mov    -0x40(%rbp),%rax
  mov    %ecx,%r8d
  mov    0x10(%rbp),%ecx
  mov    %rax,%rdi
  call   <get_votes_qual@plt>
  mov    %rax,-0x28(%rbp)
L49:
  mov    0x30(%rbp),%rax
  mov    $0x4,%edx
  lea    D32(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L35
  mov    -0x60(%rbp),%rdx
  mov    -0x28(%rbp),%rcx
  mov    -0x30(%rbp),%rax
  movq   %rdx,%xmm0
  mov    0x10(%rbp),%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <build_consensus_duplex@plt>
  mov    %rax,-0x20(%rbp)
  jmp    L58
L35:
  mov    0x30(%rbp),%rax
  mov    $0x5,%edx
  lea    D44(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <strncmp@plt>
  test   %eax,%eax
  jne    L38
  mov    0x18(%rbp),%ecx
  mov    -0x60(%rbp),%rdx
  mov    -0x54(%rbp),%esi
  mov    -0x30(%rbp),%rax
  movq   %rdx,%xmm0
  mov    0x10(%rbp),%edx
  mov    %rax,%rdi
  call   <build_consensus@plt>
  mov    %rax,-0x10(%rbp)
  mov    0x18(%rbp),%ecx
  mov    -0x60(%rbp),%rdx
  mov    -0x58(%rbp),%esi
  mov    -0x28(%rbp),%rax
  movq   %rdx,%xmm0
  mov    0x10(%rbp),%edx
  mov    %rax,%rdi
  call   <build_consensus@plt>
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rcx
  mov    -0x10(%rbp),%rax
  mov    $0x1,%edx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <build_consensus_duplex_simple@plt>
  mov    %rax,-0x20(%rbp)
  jmp    L58
L38:
  lea    D33(%rip),%rax
  jmp    L51
L58:
  cmpl   $0x0,0x28(%rbp)
  je     L14
  mov    -0x20(%rbp),%rax
  mov    %rax,-0x18(%rbp)
  jmp    L116
L14:
  mov    -0x20(%rbp),%rax
  mov    0x10(%rbp),%esi
  mov    %rax,%rdi
  call   <rm_gaps@plt>
  mov    %rax,-0x18(%rbp)
L116:
  mov    -0x30(%rbp),%rax
  mov    0x10(%rbp),%esi
  mov    %rax,%rdi
  call   <free_votes@plt>
  mov    -0x28(%rbp),%rax
  mov    0x10(%rbp),%esi
  mov    %rax,%rdi
  call   <free_votes@plt>
  mov    -0x18(%rbp),%rax
L51:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D28
datatype: byte[8]
name: disassemble_data
arguments: label: D59
datatype: f64
name: disassemble_data
arguments: label: D32
datatype: string
name: disassemble_data
arguments: label: D44
datatype: string
name: disassemble_data
arguments: label: D33
datatype: string

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

tool: D59: 0.5

tool: D32: freq

tool: D44: 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;
}
```