user: Demonstrate the C code that generates the assembly output below:

```asm
<eval_highres_amdf>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  mov    %r9,%r13
  push   %r12
  mov    %r8,%r12
  push   %rbp
  mov    %ecx,%ebp
  push   %rbx
  mov    %rdx,%rbx
  sub    $0x78,%rsp
  mov    0xb8(%rsp),%rax
  mov    0xb0(%rsp),%r14
  mov    %rax,0x8(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movslq %ecx,%rax
  push   %r14
  lea    -0x4(%rdx,%rax,4),%rax
  push   %r9
  mov    %r8,%r9
  mov    (%rax),%r8d
  mov    %esi,0x28(%rsp)
  mov    %rax,0x20(%rsp)
  call   <eval_amdf@plt>
  movslq 0x0(%r13),%rax
  mov    0x18(%rsp),%rdi
  mov    0x20(%rsp),%rsi
  mov    (%rbx,%rax,4),%r11d
  mov    %r11d,(%rdi)
  movslq 0x0(%r13),%rdx
  mov    (%rsi),%r8d
  cvttss2si (%r12,%rdx,4),%edi
  mov    %rdx,%rcx
  lea    0x0(,%rdx,4),%rax
  lea    0x3(%r11),%edx
  sub    $0x2,%ecx
  cmp    %r8d,%edx
  mov    $0x2c,%edx
  mov    %edi,0x2c(%rsp)
  pop    %r9
  lea    0x4(%r11),%r9d
  cmovge %r8d,%r9d
  cmp    %edx,%r11d
  pop    %r10
  mov    0x18(%rsp),%esi
  cmovge %r11d,%edx
  sub    $0x3,%edx
  cmp    %edx,%r9d
  jle    L86
  mov    -0x8(%rbx,%rax,1),%eax
  xor    %edi,%edi
  xchg   %ax,%ax
L179:
  lea    0x1(%rcx),%r10d
  movslq %r10d,%r10
  cmp    %eax,%edx
  jle    L183
  nopl   0x0(%rax,%rax,1)
L114:
  mov    %r10d,%ecx
  add    $0x1,%r10
  mov    -0x4(%rbx,%r10,4),%eax
  cmp    %edx,%eax
  jl     L114
L183:
  cmp    %edx,%eax
  je     L103
  mov    %edx,0x50(%rsp,%rdi,4)
  add    $0x1,%edx
  lea    0x1(%rdi),%r10d
  cmp    %r9d,%edx
  je     L158
  movslq %r10d,%rdi
  jmp    L179
  nopl   (%rax)
L103:
  lea    0x1(%rax),%edx
  cmp    %edx,%r9d
  jne    L179
  test   %edi,%edi
  jne    L8
  pxor   %xmm0,%xmm0
  cvtsi2ssl 0x1c(%rsp),%xmm0
L34:
  cmp    $0x4f,%r11d
  jle    L68
  sar    %r11d
  mov    %r11d,%ecx
  and    $0x1,%ecx
  jne    L15
  lea    0x1(%r11),%eax
  mov    $0x2,%ecx
  sub    $0x1,%r11d
  mov    %eax,0x54(%rsp)
L15:
  lea    0x2c(%rsp),%rax
  movss  %xmm0,0x18(%rsp)
  lea    0x50(%rsp),%rdx
  mov    %r15,%rdi
  mov    %r11d,0x50(%rsp)
  push   %rax
  lea    0x30(%rsp),%rax
  push   %rax
  mov    0x20(%rsp),%rax
  mov    (%rax),%r8d
  lea    0x40(%rsp),%r9
  call   <eval_amdf@plt>
  movslq 0x38(%rsp),%rax
  movss  0x28(%rsp),%xmm0
  movss  0x40(%rsp,%rax,4),%xmm1
  pop    %rdx
  pop    %rcx
  comiss %xmm1,%xmm0
  jbe    L68
  mov    0x50(%rsp,%rax,4),%eax
  cvttss2si %xmm1,%edx
  mov    0x8(%rsp),%rsi
  pxor   %xmm0,%xmm0
  mov    %eax,(%rsi)
  mov    0x0(%r13),%eax
  cvtsi2ss %edx,%xmm0
  sub    $0x14,%eax
  mov    %eax,0x0(%r13)
L75:
  movslq %eax,%rdx
  movss  %xmm0,(%r12,%rdx,4)
  mov    $0x5,%edx
  cmp    %edx,%eax
  cmovl  %edx,%eax
  sub    $0x5,%eax
  mov    %eax,(%r14)
  mov    0x0(%r13),%edx
  lea    0x5(%rdx),%ecx
  add    $0x6,%edx
  cmp    %ebp,%ecx
  cmovl  %edx,%ebp
  cmp    %ebp,%eax
  jge    L42
  cltq
  movss  (%r12,%rax,4),%xmm1
  nopl   0x0(%rax,%rax,1)
L40:
  movss  (%r12,%rax,4),%xmm0
  comiss %xmm1,%xmm0
  jbe    L25
  mov    %eax,(%r14)
  movaps %xmm0,%xmm1
L25:
  add    $0x1,%rax
  cmp    %eax,%ebp
  jg     L40
L42:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0x78,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L68:
  mov    0x0(%r13),%eax
  jmp    L75
L8:
  mov    %edi,%r10d
L158:
  lea    0x2c(%rsp),%rax
  lea    0x50(%rsp),%rdx
  mov    %r15,%rdi
  mov    %r10d,%ecx
  push   %rax
  lea    0x30(%rsp),%rax
  push   %rax
  lea    0x40(%rsp),%r9
  mov    %esi,0x28(%rsp)
  call   <eval_amdf@plt>
  pxor   %xmm0,%xmm0
  movslq 0x38(%rsp),%rax
  cvtsi2ssl 0x2c(%rsp),%xmm0
  movss  0x40(%rsp,%rax,4),%xmm1
  pop    %rsi
  pop    %rdi
  mov    0x18(%rsp),%esi
  comiss %xmm1,%xmm0
  ja     L168
  mov    0x8(%rsp),%rax
  mov    (%rax),%r11d
  jmp    L34
L168:
  mov    0x50(%rsp,%rax,4),%r11d
  mov    0x8(%rsp),%rax
  pxor   %xmm0,%xmm0
  mov    %r11d,(%rax)
  cvttss2si %xmm1,%eax
  cvtsi2ss %eax,%xmm0
  jmp    L34
L86:
  pxor   %xmm0,%xmm0
  cvtsi2ss %edi,%xmm0
  jmp    L34
L32:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void eval_highres_amdf(float speech[], int32_t lpita, const int32_t tau[], int32_t ltau, float amdf[], int32_t *minptr, int32_t *maxptr, int32_t *mintau) {
  float amdf2[6];
  int32_t tau2[6];
  int32_t minp2;
  int32_t ltau2;
  int32_t maxp2;
  int32_t minamd;
  int i;
  int i2;
  int ptr;
  eval_amdf(speech, lpita, tau, ltau, tau[ltau - 1], amdf, minptr, maxptr);
  *mintau = tau[*minptr];
  minamd = (int32_t)amdf[*minptr];
  ltau2 = 0;
  ptr = *minptr - 2;
  i2 = ((*mintau + 4) <= (tau[ltau - 1]) ? (*mintau + 4) : (tau[ltau - 1]));
  for (i = ((*mintau - 3) >= (41) ? (*mintau - 3) : (41)); i < i2; i++) {
    while (tau[ptr] < i)
      ptr++;
    if (tau[ptr] != i)
      tau2[ltau2++] = i;
  }
  if (ltau2 > 0) {
    eval_amdf(speech, lpita, tau2, ltau2, tau[ltau - 1], amdf2, &minp2, &maxp2);
    if (amdf2[minp2] < (float)minamd) {
      *mintau = tau2[minp2];
      minamd = (int32_t)amdf2[minp2];
    }
  }
  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;
    }
    eval_amdf(speech, lpita, tau2, ltau2, tau[ltau - 1], amdf2, &minp2, &maxp2);
    if (amdf2[minp2] < (float)minamd) {
      *mintau = tau2[minp2];
      minamd = (int32_t)amdf2[minp2];
      *minptr -= 20;
    }
  }
  amdf[*minptr] = (float)minamd;
  *maxptr = ((*minptr - 5) >= (0) ? (*minptr - 5) : (0));
  i2 = ((*minptr + 6) <= (ltau) ? (*minptr + 6) : (ltau));
  for (i = *maxptr; i < i2; i++) {
    if (amdf[i] > amdf[*maxptr])
      *maxptr = i;
  }
}
```