user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<get_votes_weighted>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %edx,-0x34(%rbp)
  mov    %ecx,-0x38(%rbp)
  mov    -0x38(%rbp),%eax
  mov    %eax,%edi
  call   <init_votes@plt>
  mov    %rax,-0x10(%rbp)
  mov    $0x20,%edi
  call   <malloc@plt>
  mov    %rax,-0x8(%rbp)
  movl   $0x0,-0x18(%rbp)
  jmp    L25
L73:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rcx
  mov    -0x38(%rbp),%edx
  mov    -0x8(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <init_gap_qual_window@plt>
  mov    %eax,-0x1c(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L109
L56:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  cmp    $0x2d,%al
  jne    L72
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <get_gap_qual@plt>
  mov    %al,-0x1d(%rbp)
  jmp    L15
L72:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x38(%rbp),%ecx
  mov    -0x1c(%rbp),%esi
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <push_qual@plt>
  mov    %eax,-0x1c(%rbp)
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  mov    %al,-0x1d(%rbp)
L15:
  mov    -0x18(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x28(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rdx
  mov    -0x14(%rbp),%eax
  cltq
  add    %rdx,%rax
  movzbl (%rax),%eax
  movsbl %al,%eax
  mov    %eax,%edi
  call   <toupper@plt>
  sub    $0x2d,%eax
  cmp    $0x27,%eax
  ja     L44
  mov    %eax,%eax
  lea    0x0(,%rax,4),%rdx
  lea    D0(%rip),%rax
  mov    (%rdx,%rax,1),%eax
  cltq
  lea    D0(%rip),%rdx
  add    %rdx,%rax
  notrack jmp *%rax
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    $0x4,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    $0x8,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0xc,%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    $0xc,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    $0x10,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  jmp    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%rax
  add    $0x14,%rax
  mov    (%rax),%ecx
  movsbl -0x1d(%rbp),%edx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rsi
  mov    -0x10(%rbp),%rax
  add    %rsi,%rax
  mov    (%rax),%rax
  add    $0x14,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  nop
L44:
  addl   $0x1,-0x14(%rbp)
L109:
  mov    -0x14(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jl     L56
  addl   $0x1,-0x18(%rbp)
L25:
  mov    -0x18(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L73
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    -0x10(%rbp),%rax
  leave
  ret
```

assistant: ```c
int **get_votes_weighted(char *align[], char *quals[], int n_seqs, int seq_len) {
  int **votes = init_votes(seq_len);
  int *window = malloc(sizeof(int) * 4 * 2);
  int win_edge;
  char qual;
  int i, j;
  for (i = 0; i < n_seqs; i++) {
    win_edge = init_gap_qual_window(window, quals[i], seq_len);
    for (j = 0; j < seq_len; j++) {
      if (align[i][j] == '-') {
        qual = get_gap_qual(window);
      } else {
        win_edge = push_qual(window, win_edge, quals[i], seq_len);
        qual = quals[i][j];
      }
      switch (toupper(align[i][j])) {
      case 'A':
        votes[j][0] += qual;
        break;
      case 'C':
        votes[j][1] += qual;
        break;
      case 'G':
        votes[j][2] += qual;
        break;
      case 'T':
        votes[j][3] += qual;
        break;
      case 'N':
        votes[j][4] += qual;
        break;
      case '-':
        votes[j][5] += qual;
        break;
      }
    }
  }
  free(window);
  return votes;
}
```