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

```asm
<quaddobl_operate>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  mov    %esi,%ebx
  sub    $0x98,%rsp
  mov    %esi,-0x84(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <numbtrop_quaddobl_initialize@plt>
  lea    -0x70(%rbp),%rdi
  call   <numbtrop_quaddobl_size@plt>
  mov    -0x70(%rbp),%esi
  lea    D109(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x64(%rbp),%rdi
  call   <numbtrop_quaddobl_dimension@plt>
  mov    -0x64(%rbp),%esi
  lea    D96(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x0(,%rbx,4),%ecx
  movslq %ecx,%rax
  mov    %ecx,-0x88(%rbp)
  sub    $0x1,%ecx
  shl    $0x3,%rax
  mov    %rcx,-0xa0(%rbp)
  lea    -0x6c(%rbp),%rcx
  mov    %rax,-0x98(%rbp)
  and    $0xfff,%eax
  mov    %rax,-0xa8(%rbp)
  sub    $0x8,%rax
  mov    %rcx,-0xb0(%rbp)
  mov    %rax,-0xb8(%rbp)
  nop
L58:
  mov    -0x98(%rbp),%rdx
  mov    %rsp,%rax
  mov    %rsp,-0x80(%rbp)
  and    $0xfffffffffffff000,%rdx
  sub    %rdx,%rax
  cmp    %rax,%rsp
  je     L32
L105:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rax,%rsp
  jne    L105
L32:
  mov    -0xa8(%rbp),%rax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L8
  mov    -0xb8(%rbp),%rax
  orq    $0x0,(%rsp,%rax,1)
L8:
  lea    D77(%rip),%rdi
  xor    %eax,%eax
  mov    %rsp,%r14
  call   <printf@plt>
  mov    -0xb0(%rbp),%rsi
  lea    D60(%rip),%rdi
  call   <scanf@plt>
  mov    -0x6c(%rbp),%esi
  test   %esi,%esi
  jle    L63
  lea    -0x68(%rbp),%rax
  mov    -0x84(%rbp),%edi
  lea    -0x60(%rbp),%r8
  mov    %r14,%rcx
  mov    %rax,%rdx
  mov    %r8,-0x78(%rbp)
  mov    %rax,-0x90(%rbp)
  call   <numbtrop_quaddobl_retrieve_tropism@plt>
  mov    -0x68(%rbp),%edx
  mov    -0x6c(%rbp),%esi
  xor    %eax,%eax
  lea    D83(%rip),%rdi
  call   <printf@plt>
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    -0x88(%rbp),%edx
  test   %edx,%edx
  jle    L83
  mov    -0xa0(%rbp),%rax
  mov    %r14,%rbx
  mov    %r14,%r15
  lea    D90(%rip),%r13
  lea    0x8(%r14,%rax,8),%r12
  nopl   0x0(%rax)
L84:
  movsd  (%r15),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  add    $0x8,%r15
  call   <printf@plt>
  cmp    %r12,%r15
  jne    L84
  movsd  -0x48(%rbp),%xmm3
  movsd  -0x50(%rbp),%xmm2
  lea    D34(%rip),%rax
  movsd  -0x58(%rbp),%xmm1
  movsd  -0x60(%rbp),%xmm0
  mov    %rax,%rdi
  mov    %rax,%r15
  mov    $0x4,%eax
  call   <printf@plt>
  mov    -0x90(%rbp),%rsi
  mov    $0x1,%edi
  call   <generate_winding_numbers@plt>
  mov    -0x88(%rbp),%edi
  mov    %r14,%rsi
  call   <random_doubles@plt>
  mov    -0x78(%rbp),%rsi
  mov    $0x4,%edi
  call   <random_doubles@plt>
  mov    -0x68(%rbp),%edx
  mov    -0x6c(%rbp),%esi
  xor    %eax,%eax
  lea    D81(%rip),%rdi
  call   <printf@plt>
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  nopl   (%rax)
L20:
  movsd  (%rbx),%xmm0
  mov    %r13,%rdi
  mov    $0x1,%eax
  add    $0x8,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L20
L30:
  movsd  -0x48(%rbp),%xmm3
  movsd  -0x50(%rbp),%xmm2
  mov    %r15,%rdi
  mov    $0x4,%eax
  movsd  -0x58(%rbp),%xmm1
  movsd  -0x60(%rbp),%xmm0
  call   <printf@plt>
  mov    -0x78(%rbp),%r8
  mov    -0x68(%rbp),%edx
  mov    %r14,%rcx
  mov    -0x6c(%rbp),%esi
  mov    -0x84(%rbp),%edi
  call   <numbtrop_store_quaddobl_tropism@plt>
  mov    -0x6c(%rbp),%eax
  mov    -0x80(%rbp),%rsp
  test   %eax,%eax
  jg     L58
L77:
  xor    %eax,%eax
  call   <numbtrop_quaddobl_clear@plt>
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L4
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax,%rax,1)
L83:
  movsd  -0x48(%rbp),%xmm3
  movsd  -0x50(%rbp),%xmm2
  lea    D34(%rip),%rax
  movsd  -0x58(%rbp),%xmm1
  movsd  -0x60(%rbp),%xmm0
  mov    %rax,%rdi
  mov    %rax,%r15
  mov    $0x4,%eax
  call   <printf@plt>
  mov    -0x90(%rbp),%rsi
  mov    $0x1,%edi
  call   <generate_winding_numbers@plt>
  mov    -0x88(%rbp),%edi
  mov    %r14,%rsi
  call   <random_doubles@plt>
  mov    -0x78(%rbp),%rsi
  mov    $0x4,%edi
  call   <random_doubles@plt>
  mov    -0x68(%rbp),%edx
  mov    -0x6c(%rbp),%esi
  xor    %eax,%eax
  lea    D81(%rip),%rdi
  call   <printf@plt>
  lea    D71(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L30
L63:
  mov    -0x80(%rbp),%rsp
  jmp    L77
L4:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D109
datatype: string
name: extract_symbolic_data
arguments: label: D96
datatype: string
name: extract_symbolic_data
arguments: label: D77
datatype: string
name: extract_symbolic_data
arguments: label: D60
datatype: string
name: extract_symbolic_data
arguments: label: D83
datatype: string
name: extract_symbolic_data
arguments: label: D71
datatype: string
name: extract_symbolic_data
arguments: label: D90
datatype: string
name: extract_symbolic_data
arguments: label: D34
datatype: string
name: extract_symbolic_data
arguments: label: D81
datatype: string

tool: D109: The number of tropisms : %d


tool: D96: The retrieved dimension : %d


tool: D77: Give an index (<= 0 to exit): 

tool: D60: %d

tool: D83: The tropism %d has winding number %d,


tool: D71: with coordinates :

tool: D90:  %.3e

tool: D34: 
and error : %.3e %.3e %.3e %.3e


tool: D81: Changing tropism %d to winding number %d,


assistant: ```c
void quaddobl_operate(int nbt, int dim, int *wind, double *dir, double *err) {
  int fail, size, k, idx, wnd, retdim;
  fail = numbtrop_quaddobl_initialize(nbt, dim, wind, dir, err);
  fail = numbtrop_quaddobl_size(&size);
  printf("The number of tropisms : %d\n", size);
  fail = numbtrop_quaddobl_dimension(&retdim);
  printf("The retrieved dimension : %d\n", retdim);
  do {
    double diridx[4 * dim];
    double erridx[4];
    printf("Give an index (<= 0 to exit): ");
    scanf("%d", &idx);
    if (idx <= 0)
      break;
    fail = numbtrop_quaddobl_retrieve_tropism(dim, idx, &wnd, diridx, erridx);
    printf("The tropism %d has winding number %d,\n", idx, wnd);
    printf("with coordinates :");
    for (k = 0; k < 4 * dim; k++)
      printf(" %.3e", diridx[k]);
    printf("\nand error : %.3e %.3e %.3e %.3e\n", erridx[0], erridx[1], erridx[2], erridx[3]);
    generate_winding_numbers(1, &wnd);
    random_doubles(4 * dim, diridx);
    random_doubles(4, erridx);
    printf("Changing tropism %d to winding number %d,\n", idx, wnd);
    printf("with coordinates :");
    for (k = 0; k < 4 * dim; k++)
      printf(" %.3e", diridx[k]);
    printf("\nand error : %.3e %.3e %.3e %.3e\n", erridx[0], erridx[1], erridx[2], erridx[3]);
    fail = numbtrop_store_quaddobl_tropism(dim, idx, wnd, diridx, erridx);
  } while (idx > 0);
  fail = numbtrop_quaddobl_clear();
}
```