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

```asm
<tbdm>:
  endbr64
  push   %r15
  lea    -0x8(%rsi),%r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  lea    -0x4(%rdx),%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %r8,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0xa0,%rsp
  mov    0x1d8(%rsi),%rcx
  mov    %r9,0x10(%rsp)
  mov    %r14,%r9
  mov    %fs:0x28,%rax
  mov    %rax,0x90(%rsp)
  xor    %eax,%eax
  push   %r8
  mov    %rdx,%r8
  mov    $0x3c,%edx
  mov    %rdi,0x20(%rsp)
  call   <difmag@plt>
  mov    (%r14),%rax
  mov    (%r15,%rax,8),%r9
  mov    0x18(%rsp),%rax
  mov    %r9,(%rax)
  mov    0x1d8(%rbx),%rsi
  lea    0x2(%r9),%rcx
  mov    (%r14),%rax
  pop    %r11
  lea    -0x1(%rsi),%r8
  pop    %rdx
  lea    0x3(%r9),%rdx
  mov    0x10(%rsp),%rdi
  cvttss2si 0x0(%r13,%rax,4),%r10
  sub    $0x2,%rax
  cmp    %r8,%rcx
  cmovl  %rdx,%r8
  mov    $0x2c,%edx
  cmp    %rdx,%r9
  cmovge %r9,%rdx
  lea    -0x3(%rdx),%rcx
  cmp    %rcx,%r8
  jl     L112
  add    $0x1,%r8
  xor    %r11d,%r11d
  nopw   0x0(%rax,%rax,1)
L126:
  mov    (%r15,%rax,8),%rdx
  cmp    %rdx,%rcx
  jle    L125
  nopl   0x0(%rax)
L118:
  add    $0x1,%rax
  mov    -0x8(%rbx,%rax,8),%rdx
  cmp    %rcx,%rdx
  jl     L118
L125:
  cmp    %rcx,%rdx
  je     L180
  mov    %rcx,0x50(%rsp,%r11,8)
  add    $0x1,%r11
L180:
  add    $0x1,%rcx
  cmp    %r8,%rcx
  jne    L126
  test   %r11,%r11
  jne    L34
L112:
  pxor   %xmm0,%xmm0
  cvtsi2ss %r10,%xmm0
L173:
  cmp    $0x4f,%r9
  jle    L130
  sar    %r9
  mov    %r9,%rdx
  and    $0x1,%edx
  je     L186
  mov    %r9,0x50(%rsp)
L54:
  movss  %xmm0,0x10(%rsp)
  lea    0x50(%rsp),%rsi
  sub    $0x8,%rsp
  mov    0x1d8(%rbx),%rcx
  lea    0x30(%rsp),%rax
  push   %rax
  lea    0x30(%rsp),%r9
  lea    0x40(%rsp),%r8
  call   <difmag@plt>
  mov    0x30(%rsp),%rax
  movss  0x20(%rsp),%xmm0
  sub    $0x1,%rax
  movss  0x40(%rsp,%rax,4),%xmm1
  pop    %rdx
  pop    %rcx
  comiss %xmm1,%xmm0
  jbe    L130
  mov    0x50(%rsp,%rax,8),%rax
  mov    0x8(%rsp),%rdi
  cvttss2si %xmm1,%rdx
  pxor   %xmm0,%xmm0
  mov    %rax,(%rdi)
  mov    (%r14),%rax
  sub    $0x14,%rax
  cvtsi2ss %rdx,%xmm0
  mov    %rax,(%r14)
  jmp    L146
  nopl   0x0(%rax,%rax,1)
L130:
  mov    (%r14),%rax
L146:
  mov    $0x6,%edx
  movss  %xmm0,0x0(%r13,%rax,4)
  mov    $0x37,%esi
  cmp    %rdx,%rax
  cmovl  %rdx,%rax
  lea    -0x5(%rax),%rdx
  mov    %rdx,0x0(%rbp)
  mov    (%r14),%rcx
  cmp    %rsi,%rcx
  cmovg  %rsi,%rcx
  sub    $0x4,%rax
  lea    0x5(%rcx),%rsi
  cmp    %rax,%rsi
  jl     L77
  add    $0x6,%rcx
  jmp    L69
  nopl   0x0(%rax,%rax,1)
L129:
  mov    0x0(%rbp),%rdx
L69:
  movss  -0x4(%r12,%rax,4),%xmm0
  comiss 0x0(%r13,%rdx,4),%xmm0
  jbe    L132
  mov    %rax,0x0(%rbp)
L132:
  add    $0x1,%rax
  cmp    %rcx,%rax
  jne    L129
L77:
  mov    0x88(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L174
  add    $0x98,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L34:
  mov    %r10,0x18(%rsp)
  lea    0x50(%rsp),%r15
  mov    %rsi,%rcx
  mov    %r11,%rdx
  sub    $0x8,%rsp
  mov    %r15,%rsi
  lea    0x30(%rsp),%rax
  push   %rax
  lea    0x30(%rsp),%r9
  lea    0x40(%rsp),%r8
  mov    %rdi,0x20(%rsp)
  call   <difmag@plt>
  mov    0x28(%rsp),%r10
  mov    0x30(%rsp),%rax
  pxor   %xmm0,%xmm0
  cvtsi2ss %r10,%xmm0
  sub    $0x1,%rax
  movss  0x40(%rsp,%rax,4),%xmm1
  pop    %rsi
  pop    %rdi
  mov    0x10(%rsp),%rdi
  comiss %xmm1,%xmm0
  ja     L99
  mov    0x8(%rsp),%rax
  mov    (%rax),%r9
  jmp    L173
L186:
  lea    -0x1(%r9),%rax
  add    $0x1,%r9
  mov    $0x2,%edx
  mov    %rax,0x50(%rsp)
  mov    %r9,0x58(%rsp)
  jmp    L54
L99:
  mov    0x50(%rsp,%rax,8),%r9
  mov    0x8(%rsp),%rax
  cvttss2si %xmm1,%r10
  mov    %r9,(%rax)
  jmp    L112
L174:
  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;
    }
  }
}
```