user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<dlacon2_>:
  endbr64
  push   %r15
  mov    %rdx,%r15
  push   %r14
  push   %r13
  push   %r12
  mov    %r9,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x38,%rsp
  mov    (%r9),%edi
  mov    %r8,0x10(%rsp)
  mov    0x70(%rsp),%r14
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  movl   $0x1,0x24(%rsp)
  test   %edi,%edi
  je     L249
  mov    %rcx,%rbx
  mov    (%r14),%ecx
  cmp    $0x4,%ecx
  je     L140
  mov    %rsi,%r10
  jg     L304
  cmp    $0x2,%ecx
  je     L147
  cmp    $0x3,%ecx
  jne    L335
  lea    0x24(%rsp),%r13
  mov    %rsi,%rcx
  mov    %rsi,(%rsp)
  mov    %rbp,%rdi
  mov    %r13,%r8
  mov    %r13,%rdx
  mov    %r15,%rsi
  call   <dcopy_@plt>
  mov    0x10(%rsp),%rax
  mov    %r13,%rdx
  mov    %rbp,%rdi
  mov    (%rsp),%rsi
  movsd  (%rax),%xmm3
  movsd  %xmm3,0x18(%rsp)
  call   <dasum_@plt>
  mov    0x10(%rsp),%rax
  mov    0x0(%rbp),%ecx
  movsd  %xmm0,(%rax)
  test   %ecx,%ecx
  jle    L187
  movsd  D11(%rip),%xmm2
  pxor   %xmm4,%xmm4
  xor    %r13d,%r13d
  movsd  %xmm4,(%rsp)
  movsd  %xmm2,0x8(%rsp)
  jmp    L181
  nopl   (%rax)
L375:
  call   <floor@plt>
L107:
  cmp    %eax,(%rbx,%r13,4)
  jne    L75
  mov    0x0(%rbp),%eax
  add    $0x1,%r13
  cmp    %r13d,%eax
  jle    L298
L181:
  movsd  (%r15,%r13,8),%xmm0
  comisd (%rsp),%xmm0
  movsd  0x8(%rsp),%xmm0
  jae    L375
  call   <floor@plt>
  neg    %eax
  jmp    L107
  nopl   0x0(%rax,%rax,1)
L304:
  cmp    $0x5,%ecx
  jne    L335
  lea    0x24(%rsp),%r14
  mov    %rsi,(%rsp)
  mov    %rbp,%rdi
  mov    %r15,%rsi
  mov    %r14,%rdx
  call   <dasum_@plt>
  mov    0x0(%rbp),%eax
  pxor   %xmm1,%xmm1
  mov    (%rsp),%r10
  lea    (%rax,%rax,2),%eax
  cvtsi2sd %eax,%xmm1
  mov    0x10(%rsp),%rax
  divsd  %xmm1,%xmm0
  addsd  %xmm0,%xmm0
  comisd (%rax),%xmm0
  ja     L356
L14:
  movl   $0x0,(%r12)
  jmp    L286
  nopw   0x0(%rax,%rax,1)
L335:
  cmpl   $0x1,0x0(%rbp)
  je     L46
  lea    0x24(%rsp),%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  call   <dasum_@plt>
  mov    0x10(%rsp),%rax
  mov    0x0(%rbp),%edx
  movsd  %xmm0,(%rax)
  test   %edx,%edx
  jle    L56
  pxor   %xmm7,%xmm7
  xor    %r13d,%r13d
  movsd  %xmm7,(%rsp)
  movsd  D11(%rip),%xmm7
  movsd  %xmm7,0x8(%rsp)
  jmp    L15
  xchg   %ax,%ax
L138:
  mov    D64(%rip),%rax
  movsd  0x8(%rsp),%xmm0
  mov    %rax,(%r15,%r13,8)
  call   <floor@plt>
  mov    %eax,(%rbx,%r13,4)
  add    $0x1,%r13
  cmp    %r13d,0x0(%rbp)
  jle    L56
L15:
  movsd  (%r15,%r13,8),%xmm0
  comisd (%rsp),%xmm0
  jae    L138
  mov    D102(%rip),%rax
  movsd  0x8(%rsp),%xmm0
  mov    %rax,(%r15,%r13,8)
  call   <floor@plt>
  neg    %eax
  mov    %eax,(%rbx,%r13,4)
  add    $0x1,%r13
  cmp    %r13d,0x0(%rbp)
  jg     L15
L56:
  movl   $0x2,(%r12)
  movl   $0x2,(%r14)
  jmp    L286
  nopl   0x0(%rax,%rax,1)
L249:
  mov    0x0(%rbp),%edx
  test   %edx,%edx
  jle    L178
  pxor   %xmm1,%xmm1
  movsd  D64(%rip),%xmm0
  mov    %r15,%rax
  cvtsi2sd %edx,%xmm1
  sub    $0x1,%edx
  lea    0x8(%r15,%rdx,8),%rdx
  divsd  %xmm1,%xmm0
  cs nopw 0x0(%rax,%rax,1)
L416:
  movsd  %xmm0,(%rax)
  add    $0x8,%rax
  cmp    %rdx,%rax
  jne    L416
L178:
  movl   $0x1,(%r12)
  movl   $0x1,(%r14)
L286:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L112
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L147:
  lea    0x24(%rsp),%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  mov    %ecx,(%rsp)
  call   <idamax_@plt>
  mov    (%rsp),%ecx
  sub    $0x1,%eax
  mov    %eax,0x4(%r14)
  cltq
  lea    (%r15,%rax,8),%r13
L9:
  mov    %ecx,0x8(%r14)
  movslq 0x0(%rbp),%rax
  test   %eax,%eax
  jle    L253
  lea    0x0(,%rax,8),%rdx
  xor    %esi,%esi
  mov    %r15,%rdi
  call   <memset@plt>
L253:
  mov    D64(%rip),%rax
  mov    %rax,0x0(%r13)
  movl   $0x1,(%r12)
  movl   $0x3,(%r14)
  jmp    L286
  nopl   0x0(%rax,%rax,1)
L46:
  movsd  (%r15),%xmm0
  mov    0x10(%rsp),%rax
  movsd  %xmm0,(%r10)
  andpd  D51(%rip),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L14
L140:
  lea    0x24(%rsp),%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  movslq 0x4(%r14),%rbx
  call   <idamax_@plt>
  sub    $0x1,%eax
  mov    %eax,0x4(%r14)
  cltq
  lea    (%r15,%rax,8),%r13
  movsd  0x0(%r13),%xmm0
  andpd  D51(%rip),%xmm0
  ucomisd (%r15,%rbx,8),%xmm0
  jp     L159
  je     L323
L159:
  mov    0x8(%r14),%ecx
  cmp    $0x4,%ecx
  jle    L132
L323:
  mov    0x0(%rbp),%eax
L298:
  test   %eax,%eax
  jle    L187
  movsd  D64(%rip),%xmm2
  lea    -0x1(%rax),%edx
  pxor   %xmm4,%xmm4
  movq   D24(%rip),%xmm3
  cvtsi2sd %edx,%xmm4
  movslq %eax,%rdx
  xor    %eax,%eax
  movapd %xmm2,%xmm1
  nopl   0x0(%rax)
L26:
  pxor   %xmm0,%xmm0
  cvtsi2sd %eax,%xmm0
  divsd  %xmm4,%xmm0
  addsd  %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  xorpd  %xmm3,%xmm1
  movsd  %xmm0,(%r15,%rax,8)
  add    $0x1,%rax
  cmp    %rax,%rdx
  jne    L26
L187:
  movl   $0x1,(%r12)
  movl   $0x5,(%r14)
  jmp    L286
  nopl   0x0(%rax,%rax,1)
L75:
  mov    0x10(%rsp),%rax
  movsd  0x18(%rsp),%xmm7
  comisd (%rax),%xmm7
  jae    L323
  mov    0x0(%rbp),%eax
  xor    %r13d,%r13d
  test   %eax,%eax
  jg     L118
  jmp    L350
  nopl   0x0(%rax)
L98:
  movsd  D64(%rip),%xmm7
  movsd  0x8(%rsp),%xmm0
  movsd  %xmm7,(%r15,%r13,8)
  call   <floor@plt>
L38:
  mov    %eax,(%rbx,%r13,4)
  add    $0x1,%r13
  cmp    %r13d,0x0(%rbp)
  jle    L350
L118:
  movsd  (%r15,%r13,8),%xmm0
  comisd (%rsp),%xmm0
  jae    L98
  movsd  D102(%rip),%xmm7
  movsd  0x8(%rsp),%xmm0
  movsd  %xmm7,(%r15,%r13,8)
  call   <floor@plt>
  neg    %eax
  jmp    L38
L132:
  add    $0x1,%ecx
  jmp    L9
  nopl   0x0(%rax)
L356:
  mov    %r14,%r8
  mov    %r10,%rcx
  mov    %r14,%rdx
  mov    %r15,%rsi
  mov    %rbp,%rdi
  movsd  %xmm0,(%rsp)
  call   <dcopy_@plt>
  mov    0x10(%rsp),%rax
  movsd  (%rsp),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L14
  nopl   0x0(%rax)
L350:
  movl   $0x2,(%r12)
  movl   $0x4,(%r14)
  jmp    L286
L112:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D11
type_guessed: f32[2]
name: parse_data
arguments: tag: D64
type_guessed: f64
name: parse_data
arguments: tag: D102
type_guessed: f32[2]
name: parse_data
arguments: tag: D51
type_guessed: qword[2]
name: parse_data
arguments: tag: D24
type_guessed: f32[2]

tool: {"D11": [0.0,1.9375]}

tool: D64: 1

tool: {"D102": [0.0,-1.875]}

tool: {"D51": [0x7fffffffffffffff,0x0000000000000000]}

tool: {"D24": [0.0,-0.0]}

assistant: ```c
int dlacon2_(int *n, double *v, double *x, int *isgn, double *est, int *kase, int isave[3]) {
  int c__1 = 1;
  double zero = 0.0;
  double one = 1.0;
  int jlast;
  double altsgn, estold;
  int i;
  double temp;
  extern int idamax_(int *, double *, int *);
  extern double dasum_(int *, double *, int *);
  extern int dcopy_(int *, double *, int *, double *, int *);
  if (*kase == 0) {
    for (i = 0; i < *n; ++i) {
      x[i] = 1. / (double)(*n);
    }
    *kase = 1;
    isave[0] = 1;
    return 0;
  }
  switch (isave[0]) {
  case 1:
    goto L20;
  case 2:
    goto L40;
  case 3:
    goto L70;
  case 4:
    goto L110;
  case 5:
    goto L140;
  }
L20:
  if (*n == 1) {
    v[0] = x[0];
    *est = fabs(v[0]);
    goto L150;
  }
  *est = dasum_(n, x, &c__1);
  for (i = 0; i < *n; ++i) {
    x[i] = (x[i] >= 0 ? fabs(one) : -fabs(one));
    isgn[i] = (x[i] >= 0 ? floor(x[i] + .5) : -floor(.5 - x[i]));
  }
  *kase = 2;
  isave[0] = 2;
  return 0;
L40:
  isave[1] = idamax_(n, &x[0], &c__1);
  --isave[1];
  isave[2] = 2;
L50:
  for (i = 0; i < *n; ++i)
    x[i] = zero;
  x[isave[1]] = one;
  *kase = 1;
  isave[0] = 3;
  return 0;
L70:
  dcopy_(n, x, &c__1, v, &c__1);
  estold = *est;
  *est = dasum_(n, v, &c__1);
  for (i = 0; i < *n; ++i)
    if (((x[i] >= 0 ? fabs(one) : -fabs(one)) >= 0 ? floor((x[i] >= 0 ? fabs(one) : -fabs(one)) + .5) : -floor(.5 - (x[i] >= 0 ? fabs(one) : -fabs(one)))) != isgn[i])
      goto L90;
  goto L120;
L90:
  if (*est <= estold)
    goto L120;
  for (i = 0; i < *n; ++i) {
    x[i] = (x[i] >= 0 ? fabs(one) : -fabs(one));
    isgn[i] = (x[i] >= 0 ? floor(x[i] + .5) : -floor(.5 - x[i]));
  }
  *kase = 2;
  isave[0] = 4;
  return 0;
L110:
  jlast = isave[1];
  isave[1] = idamax_(n, &x[0], &c__1);
  isave[1] = isave[1] - 1;
  if (x[jlast] != fabs(x[isave[1]]) && isave[2] < 5) {
    isave[2] = isave[2] + 1;
    goto L50;
  }
L120:
  altsgn = 1.;
  for (i = 1; i <= *n; ++i) {
    x[i - 1] = altsgn * ((double)(i - 1) / (double)(*n - 1) + 1.);
    altsgn = -altsgn;
  }
  *kase = 1;
  isave[0] = 5;
  return 0;
L140:
  temp = dasum_(n, x, &c__1) / (double)(*n * 3) * 2.;
  if (temp > *est) {
    dcopy_(n, &x[0], &c__1, &v[0], &c__1);
    *est = temp;
  }
L150:
  *kase = 0;
  return 0;
}
```