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

```asm
<standard_membership_test>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x58,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    D75(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x74(%rbp),%rdx
  lea    -0x78(%rbp),%rcx
  lea    -0x7c(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <read_witness_set@plt>
  mov    %eax,-0x64(%rbp)
  mov    -0x7c(%rbp),%eax
  mov    -0x78(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,-0x60(%rbp)
  mov    -0x7c(%rbp),%eax
  mov    %eax,%esi
  lea    D37(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x78(%rbp),%eax
  mov    %eax,%esi
  lea    D84(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x74(%rbp),%eax
  mov    %eax,%esi
  lea    D57(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D101(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x7d(%rbp),%rax
  mov    %rax,%rsi
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl -0x7d(%rbp),%eax
  cmp    $0x79,%al
  jne    L17
  lea    D135(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_standard_system@plt>
  mov    %eax,-0x64(%rbp)
L17:
  lea    -0x7d(%rbp),%rax
  mov    %rax,%rsi
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D85(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x7d(%rbp),%rax
  mov    %rax,%rsi
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl -0x7d(%rbp),%eax
  cmp    $0x79,%al
  jne    L41
  lea    D159(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <solcon_write_standard_solutions@plt>
  mov    %eax,-0x64(%rbp)
L41:
  lea    -0x7d(%rbp),%rax
  mov    %rax,%rsi
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    %rsp,%rax
  mov    %rax,%rbx
  movl   $0x0,-0x68(%rbp)
  mov    -0x60(%rbp),%eax
  add    %eax,%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x58(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%ecx
  mov    $0x0,%edx
  div    %rcx
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L48:
  cmp    %rdx,%rsp
  je     L11
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L48
L11:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L45
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L45:
  mov    %rsp,%rax
  add    $0x7,%rax
  shr    $0x3,%rax
  shl    $0x3,%rax
  mov    %rax,-0x50(%rbp)
  movsd  D105(%rip),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  D91(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x68(%rbp),%rax
  mov    %rax,%rsi
  lea    D88(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    D17(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x50(%rbp),%rdx
  mov    -0x60(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <standard_read_point@plt>
  mov    -0x68(%rbp),%edi
  mov    -0x78(%rbp),%edx
  lea    -0x6c(%rbp),%r9
  lea    -0x70(%rbp),%r8
  mov    -0x50(%rbp),%rcx
  movsd  -0x40(%rbp),%xmm0
  mov    -0x48(%rbp),%rsi
  mov    -0x60(%rbp),%eax
  sub    $0x8,%rsp
  push   %rdi
  movapd %xmm0,%xmm1
  movq   %rsi,%xmm0
  mov    %eax,%esi
  mov    $0x1,%edi
  call   <standard_homotopy_membership_test@plt>
  add    $0x10,%rsp
  mov    %eax,-0x5c(%rbp)
  mov    %rbx,%rsp
  mov    $0x0,%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L10
  call   <__stack_chk_fail@plt>
L10:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D75
data_type: string
name: retrieve_data
arguments: tag: D37
data_type: string
name: retrieve_data
arguments: tag: D84
data_type: string
name: retrieve_data
arguments: tag: D57
data_type: string
name: retrieve_data
arguments: tag: D101
data_type: string
name: retrieve_data
arguments: tag: D54
data_type: string
name: retrieve_data
arguments: tag: D135
data_type: string
name: retrieve_data
arguments: tag: D85
data_type: string
name: retrieve_data
arguments: tag: D159
data_type: string
name: retrieve_data
arguments: tag: D105
data_type: byte[8]
name: retrieve_data
arguments: tag: D91
data_type: byte[8]
name: retrieve_data
arguments: tag: D53
data_type: string
name: retrieve_data
arguments: tag: D88
data_type: string
name: retrieve_data
arguments: tag: D17
data_type: string

tool: D75: 
Reading a witness set ...

tool: D37: 
The ambient dimension : %d.


tool: D84: The dimension of the solution set : %d.


tool: D57: The degree of the solution set : %d.


tool: D101: 
Do you want to see the embedded system ? (y/n) 

tool: D54: %c

tool: D135: 
The system read :

tool: D85: 
Do you want to see the solutions ? (y/n) 

tool: D159: 
The solutions read :

tool: {"D105": [0x3a,0x8c,0x30,0xe2,0x8e,0x79,0x45,0x3e]}

tool: {"D91": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xb0,0x3e]}

tool: D53: 
Give the number of tasks : 

tool: D88: %d

tool: D17: 
Reading the coordinates of the test point x ...

assistant: ```c
int standard_membership_test(void) {
  int fail, n, dim, deg, nv;
  char ans;
  printf("\nReading a witness set ...\n");
  fail = read_witness_set(&n, &dim, &deg);
  nv = n - dim;
  if (1 > 0) {
    printf("\nThe ambient dimension : %d.\n", n);
    printf("The dimension of the solution set : %d.\n", dim);
    printf("The degree of the solution set : %d.\n", deg);
    printf("\nDo you want to see the embedded system ? (y/n) ");
    scanf("%c", &ans);
    if (ans == 'y') {
      printf("\nThe system read :\n");
      fail = syscon_write_standard_system();
    }
    scanf("%c", &ans);
    printf("\nDo you want to see the solutions ? (y/n) ");
    scanf("%c", &ans);
    if (ans == 'y') {
      printf("\nThe solutions read :\n");
      fail = solcon_write_standard_solutions();
    }
    scanf("%c", &ans);
  }
  {
    int fail, onsys, onset, nbtasks = 0;
    double tpt[2 * nv];
    const double restol = 1.0e-8;
    const double homtol = 1.0e-6;
    printf("\nGive the number of tasks : ");
    scanf("%d", &nbtasks);
    printf("\nReading the coordinates of the test point x ...\n");
    standard_read_point(nv, tpt);
    fail = standard_homotopy_membership_test(1, nv, dim, restol, homtol, tpt, &onsys, &onset, nbtasks);
  }
  return 0;
}
```