user: 下面的汇编指令对应的C源代码是什么：

```asm
<tbdm>:
  endbr64
  push   %r15
  lea    -0x8(%rsi),%r10
  lea    -0x4(%rdx),%r15
  push   %r14
  mov    %r9,%r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %r13,%r9
  mov    %r8,%r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x90,%rsp
  mov    0x1d8(%rsi),%rcx
  mov    %fs:0x28,%rax
  mov    %rax,0x80(%rsp)
  xor    %eax,%eax
  mov    %r10,0x10(%rsp)
  push   %r8
  mov    %rdx,%r8
  mov    $0x3c,%edx
  mov    %rdi,0x10(%rsp)
  call   <difmag@plt>
  mov    0x18(%rsp),%r10
  mov    0x0(%r13),%rax
  mov    (%r10,%rax,8),%r8
  mov    %r8,(%r14)
  mov    0x0(%r13),%rax
  lea    0x2(%r8),%rcx
  mov    0x1d8(%rbx),%r11
  cvttss2si (%r15,%rax,4),%rdi
  sub    $0x2,%rax
  lea    -0x1(%r11),%r9
  cmp    %r9,%rcx
  mov    %rdi,0x18(%rsp)
  pop    %rdx
  lea    0x3(%r8),%rdx
  cmovl  %rdx,%r9
  mov    $0x2c,%edx
  pop    %rsi
  mov    (%rsp),%rdi
  cmp    %rdx,%r8
  cmovge %r8,%rdx
  lea    -0x3(%rdx),%rcx
  cmp    %rcx,%r9
  jl     L14
  mov    (%r10,%rax,8),%rdx
  add    $0x1,%r9
  xor    %esi,%esi
  nopl   0x0(%rax)
L138:
  cmp    %rdx,%rcx
  jle    L141
  nopl   (%rax)
L127:
  add    $0x1,%rax
  mov    -0x8(%rbx,%rax,8),%rdx
  cmp    %rcx,%rdx
  jl     L127
L141:
  cmp    %rcx,%rdx
  je     L54
  mov    %rcx,0x40(%rsp,%rsi,8)
  add    $0x1,%rcx
  lea    0x1(%rsi),%r10
  cmp    %r9,%rcx
  je     L131
  mov    %r10,%rsi
  jmp    L138
  xchg   %ax,%ax
L54:
  lea    0x1(%rdx),%rcx
  cmp    %r9,%rcx
  jne    L138
  test   %rsi,%rsi
  jne    L26
L14:
  pxor   %xmm0,%xmm0
  cvtsi2ssq 0x8(%rsp),%xmm0
L194:
  cmp    $0x4f,%r8
  jle    L67
  sar    %r8
  mov    %r8,%rdx
  and    $0x1,%edx
  je     L41
L34:
  mov    %r8,0x40(%rsp)
  lea    0x40(%rsp),%rsi
  sub    $0x8,%rsp
  mov    0x1d8(%rbx),%rcx
  movss  %xmm0,0x8(%rsp)
  lea    0x20(%rsp),%rax
  push   %rax
  lea    0x20(%rsp),%r9
  lea    0x30(%rsp),%r8
  call   <difmag@plt>
  mov    0x20(%rsp),%rax
  movss  0x10(%rsp),%xmm0
  sub    $0x1,%rax
  movss  0x30(%rsp,%rax,4),%xmm1
  pop    %rdx
  pop    %rcx
  comiss %xmm1,%xmm0
  jbe    L67
  mov    0x40(%rsp,%rax,8),%rax
  cvttss2si %xmm1,%rdx
  pxor   %xmm0,%xmm0
  mov    %rax,(%r14)
  mov    0x0(%r13),%rax
  sub    $0x14,%rax
  cvtsi2ss %rdx,%xmm0
  mov    %rax,0x0(%r13)
  jmp    L29
  cs nopw 0x0(%rax,%rax,1)
L67:
  mov    0x0(%r13),%rax
L29:
  mov    $0x6,%edx
  movss  %xmm0,(%r15,%rax,4)
  mov    $0x37,%ecx
  cmp    %rdx,%rax
  cmovl  %rdx,%rax
  lea    -0x5(%rax),%rsi
  mov    %rsi,(%r12)
  mov    0x0(%r13),%rdx
  cmp    %rcx,%rdx
  cmovg  %rcx,%rdx
  sub    $0x4,%rax
  lea    0x5(%rdx),%rcx
  cmp    %rax,%rcx
  jl     L189
  movss  (%r15,%rsi,4),%xmm1
  add    $0x6,%rdx
  nopl   (%rax)
L180:
  movss  -0x4(%rbp,%rax,4),%xmm0
  comiss %xmm1,%xmm0
  jbe    L114
  mov    %rax,(%r12)
  movaps %xmm0,%xmm1
L114:
  add    $0x1,%rax
  cmp    %rdx,%rax
  jne    L180
L189:
  mov    0x78(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L160
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L41:
  lea    0x1(%r8),%rax
  mov    $0x2,%edx
  sub    $0x1,%r8
  mov    %rax,0x48(%rsp)
  jmp    L34
L26:
  mov    %rsi,%r10
L131:
  lea    0x40(%rsp),%rsi
  sub    $0x8,%rsp
  mov    %r11,%rcx
  mov    %r10,%rdx
  lea    0x20(%rsp),%rax
  push   %rax
  lea    0x20(%rsp),%r9
  lea    0x30(%rsp),%r8
  mov    %rdi,0x10(%rsp)
  call   <difmag@plt>
  mov    0x20(%rsp),%rax
  pxor   %xmm0,%xmm0
  cvtsi2ssq 0x18(%rsp),%xmm0
  sub    $0x1,%rax
  movss  0x30(%rsp,%rax,4),%xmm1
  pop    %rsi
  pop    %rdi
  mov    (%rsp),%rdi
  comiss %xmm1,%xmm0
  ja     L129
  mov    (%r14),%r8
  jmp    L194
L129:
  mov    0x40(%rsp,%rax,8),%r8
  cvttss2si %xmm1,%rax
  pxor   %xmm0,%xmm0
  mov    %r8,(%r14)
  cvtsi2ss %rax,%xmm0
  jmp    L194
L160:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void tbdm(float *speech, long *tau, float *amdf, long *minptr, long *maxptr, long *mintau) {
  float amdf2[6];
  long minp2, ltau2, maxp2, i, j;
  long minamd, ptr, tau2[6];
  --amdf;
  --tau;
  difmag(speech, &tau[1], 60, tau[60], &amdf[1], minptr, maxptr);
  *mintau = tau[*minptr];
  minamd = (long)amdf[*minptr];
  ltau2 = 0;
  ptr = *minptr - 2;
  j = ((*mintau + 3) <= (tau[60] - 1) ? (*mintau + 3) : (tau[60] - 1));
  i = ((*mintau - 3) >= (41) ? (*mintau - 3) : (41));
  for (; i <= j; ++i) {
    while (tau[ptr] < i) {
      ++ptr;
    }
    if (tau[ptr] != i) {
      ++ltau2;
      tau2[ltau2 - 1] = i;
    }
  }
  if (ltau2 > 0) {
    difmag(speech, tau2, ltau2, tau[60], amdf2, &minp2, &maxp2);
    if (amdf2[minp2 - 1] < (float)minamd) {
      *mintau = tau2[minp2 - 1];
      minamd = (long)amdf2[minp2 - 1];
    }
  }
  if (*mintau >= 80) {
    i = *mintau / 2;
    if ((i & 1) == 0) {
      ltau2 = 2;
      tau2[0] = i - 1;
      tau2[1] = i + 1;
    } else {
      ltau2 = 1;
      tau2[0] = i;
    }
    difmag(speech, tau2, ltau2, tau[60], amdf2, &minp2, &maxp2);
    if (amdf2[minp2 - 1] < (float)minamd) {
      *mintau = tau2[minp2 - 1];
      minamd = (long)amdf2[minp2 - 1];
      *minptr += -20;
    }
  }
  amdf[*minptr] = (float)minamd;
  *maxptr = ((*minptr - 5) >= (1) ? (*minptr - 5) : (1));
  j = ((*minptr + 5) <= (60) ? (*minptr + 5) : (60));
  for (i = *maxptr + 1; i <= j; ++i) {
    if (amdf[i] > amdf[*maxptr]) {
      *maxptr = i;
    }
  }
}
```