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

```asm
<find_consensus_Mu>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  mov    %ecx,%r15d
  push   %r14
  mov    %edi,%r14d
  push   %r13
  mov    %edx,%r13d
  push   %r12
  mov    %esi,%r12d
  push   %rbx
  sub    $0x58,%rsp
  mov    %r8,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %edx,%rax
  lea    0x0(,%rax,4),%rdi
  mov    %rdi,-0x48(%rbp)
  movslq %esi,%rdi
  mov    %rsp,%rsi
  mov    %rdi,%rdx
  mov    %rdi,-0x60(%rbp)
  imul   %rax,%rdx
  lea    0xf(,%rdx,4),%rdx
  mov    %rdx,%rcx
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rsi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rsi,%rsp
  je     L291
L308:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L308
L291:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L266
L310:
  mov    -0x48(%rbp),%rdi
  mov    %rsp,%rsi
  mov    %rsp,%rbx
  lea    0xf(%rdi),%rdx
  mov    %rdx,%rcx
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rsi
  and    $0xfffffffffffffff0,%rcx
  cmp    %rsi,%rsp
  je     L39
L243:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rsi,%rsp
  jne    L243
L39:
  and    $0xfff,%ecx
  sub    %rcx,%rsp
  test   %rcx,%rcx
  jne    L50
L160:
  lea    0x3(%rsp),%rdi
  mov    %rdi,%rcx
  and    $0xfffffffffffffffc,%rdi
  shr    $0x2,%rcx
  mov    %rcx,-0x78(%rbp)
  test   %r13d,%r13d
  jle    L27
  mov    -0x48(%rbp),%rcx
  lea    0x0(,%rax,4),%rdx
  xor    %esi,%esi
  mov    %r9,-0x68(%rbp)
  shr    $0x2,%rcx
  mov    %rcx,-0x50(%rbp)
  call   <memset@plt>
  mov    -0x50(%rbp),%rcx
  mov    -0x68(%rbp),%r9
  xor    %r8d,%r8d
  mov    %rax,%rdi
  nopw   0x0(%rax,%rax,1)
L354:
  xor    %edx,%edx
  movslq %r8d,%rsi
  test   %r12d,%r12d
  jle    L362
  nopw   0x0(%rax,%rax,1)
L113:
  movslq %edx,%rax
  add    $0x1,%edx
  imul   %rcx,%rax
  add    %rsi,%rax
  movl   $0x0,(%rbx,%rax,4)
  cmp    %edx,%r12d
  jne    L113
L362:
  add    $0x1,%r8d
  cmp    %r8d,%r13d
  jne    L354
L27:
  test   %r12d,%r12d
  jle    L324
  mov    -0x48(%rbp),%rcx
  mov    -0x58(%rbp),%rsi
  mov    %r13d,-0x68(%rbp)
  lea    -0x1(%r14),%eax
  mov    -0x60(%rbp),%r13
  mov    %r12d,-0x58(%rbp)
  xor    %r11d,%r11d
  shr    $0x2,%rcx
  mov    %r9,-0x70(%rbp)
  lea    0x8(%rsi,%rax,8),%r10
  mov    %rsi,%r12
  mov    %rcx,-0x50(%rbp)
  mov    %rcx,%r9
  nopl   (%rax)
L328:
  movslq %r11d,%rsi
  lea    0x0(,%r11,4),%r8
  mov    %r12,%rdx
  test   %r14d,%r14d
  jle    L278
  imul   %r9,%rsi
  nopw   0x0(%rax,%rax,1)
L199:
  mov    (%rdx),%rax
  movslq (%rax,%r8,1),%rax
  cmp    $0xffffffff,%eax
  je     L280
  cmp    %r15d,%eax
  je     L280
  lea    (%rax,%rsi,1),%rcx
  addl   $0x1,(%rdi,%rax,4)
  addl   $0x1,(%rbx,%rcx,4)
L280:
  add    $0x8,%rdx
  cmp    %r10,%rdx
  jne    L199
L278:
  add    $0x1,%r11
  cmp    %r13,%r11
  jne    L328
  mov    -0x78(%rbp),%rax
  mov    -0x68(%rbp),%r13d
  xor    %r8d,%r8d
  mov    -0x58(%rbp),%r12d
  mov    -0x70(%rbp),%r9
  mov    0x0(,%rax,4),%ecx
  cmp    $0x1,%r13d
  jle    L148
L165:
  mov    $0x1,%eax
  xor    %r8d,%r8d
  nopw   0x0(%rax,%rax,1)
L35:
  mov    (%rdi,%rax,4),%edx
  cmp    %ecx,%edx
  jle    L48
  mov    %edx,%ecx
  mov    %eax,%r8d
L48:
  add    $0x1,%rax
  cmp    %eax,%r13d
  jg     L35
  mov    -0x48(%rbp),%rax
  shr    $0x2,%rax
  mov    %rax,-0x50(%rbp)
  test   %r12d,%r12d
  jle    L268
L148:
  mov    -0x50(%rbp),%r11
  lea    -0x1(%r13),%r10d
  xor    %ecx,%ecx
  lea    0x4(%rbx,%r10,4),%rdx
  shl    $0x2,%r11
  nopl   (%rax)
L240:
  mov    %rbx,%rax
  test   %r13d,%r13d
  jg     L76
  jmp    L348
  nopl   (%rax)
L146:
  add    $0x4,%rax
  cmp    %rdx,%rax
  je     L348
L76:
  mov    (%rax),%esi
  test   %esi,%esi
  jle    L146
  xor    %eax,%eax
  mov    $0xffffffff,%r14d
  jmp    L352
  nopl   (%rax)
L192:
  mov    %eax,(%r9,%rcx,4)
  mov    %esi,%r14d
L302:
  lea    0x1(%rax),%rsi
  cmp    %r10,%rax
  je     L270
L34:
  mov    %rsi,%rax
L352:
  mov    (%rbx,%rax,4),%esi
  cmp    %r14d,%esi
  jg     L192
  jne    L302
  movslq (%r9,%rcx,4),%rsi
  mov    (%rdi,%rsi,4),%esi
  cmp    %esi,(%rdi,%rax,4)
  jle    L302
  mov    %eax,(%r9,%rcx,4)
  lea    0x1(%rax),%rsi
  cmp    %r10,%rax
  jne    L34
  cs nopw 0x0(%rax,%rax,1)
L270:
  add    $0x1,%rcx
  add    %r11,%rdx
  add    %r11,%rbx
  cmp    %ecx,%r12d
  jg     L240
L268:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L216
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L266:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L310
  nopl   0x0(%rax,%rax,1)
L348:
  mov    %r8d,(%r9,%rcx,4)
  jmp    L270
L324:
  mov    -0x78(%rbp),%rax
  mov    0x0(,%rax,4),%ecx
  cmp    $0x1,%r13d
  jg     L165
  jmp    L268
L50:
  orq    $0x0,-0x8(%rsp,%rcx,1)
  jmp    L160
L216:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void find_consensus_Mu(int N_X_org, int L, int ncode, int gap_index, int **X_org, int *consensus_Mu) {
  int i, n_X_org, l, flag, max_i;
  int count_L_N[L][ncode], count_N[ncode], tmp_count;
  for (i = 0; i < ncode; i++) {
    count_N[i] = 0;
    for (l = 0; l < L; l++) {
      count_L_N[l][i] = 0;
    }
  }
  for (l = 0; l < L; l++) {
    for (n_X_org = 0; n_X_org < N_X_org; n_X_org++) {
      if (X_org[n_X_org][l] == gap_index || X_org[n_X_org][l] == -1) {
        continue;
      }
      count_L_N[l][X_org[n_X_org][l]]++;
      count_N[X_org[n_X_org][l]]++;
    }
  }
  max_i = 0;
  tmp_count = count_N[0];
  for (i = 1; i < ncode; i++) {
    if (count_N[i] > tmp_count) {
      max_i = i;
      tmp_count = count_N[i];
    }
  }
  for (l = 0; l < L; l++) {
    flag = 0;
    for (i = 0; i < ncode; i++) {
      if (count_L_N[l][i] > 0) {
        flag = 1;
        break;
      }
    }
    if (flag) {
      tmp_count = -1;
      for (i = 0; i < ncode; i++) {
        if (count_L_N[l][i] > tmp_count) {
          tmp_count = count_L_N[l][i];
          consensus_Mu[l] = i;
        } else if (count_L_N[l][i] == tmp_count && count_N[i] > count_N[consensus_Mu[l]]) {
          consensus_Mu[l] = i;
        }
      }
    } else {
      consensus_Mu[l] = max_i;
    }
  }
}
```