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

```asm
<standard_interactive_input_output>:
  endbr64
  push   %rbp
  lea    D39(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  lea    D12(%rip),%rbx
  sub    $0x368,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x378(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    -0x378(%rbp),%edi
  call   <syscon_initialize_number_of_standard_polynomials@plt>
  mov    -0x378(%rbp),%esi
  lea    D8(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D23(%rip),%rdi
  call   <puts@plt>
  mov    -0x378(%rbp),%edx
  movl   $0x1,-0x374(%rbp)
  test   %edx,%edx
  jle    L28
  mov    $0x1,%esi
  lea    D100(%rip),%r14
  lea    -0x360(%rbp),%r12
  lea    -0x370(%rbp),%r13
  nopw   0x0(%rax,%rax,1)
L2:
  mov    %r14,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  mov    %r12,%rsi
  mov    %r13,%rdi
  call   <read_poly@plt>
  mov    -0x378(%rbp),%esi
  mov    -0x374(%rbp),%edx
  mov    %r12,%rcx
  mov    -0x370(%rbp),%edi
  call   <syscon_store_standard_polynomial@plt>
  mov    -0x374(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    %esi,-0x374(%rbp)
  cmp    -0x378(%rbp),%esi
  jle    L2
L28:
  lea    D0(%rip),%rdi
  lea    D45(%rip),%r13
  call   <puts@plt>
  xor    %eax,%eax
  lea    -0x374(%rbp),%r12
  lea    D92(%rip),%r14
  call   <syscon_write_standard_system@plt>
  lea    D16(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x364(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    -0x364(%rbp),%esi
  lea    -0x36c(%rbp),%rdi
  call   <solve_system@plt>
  mov    -0x36c(%rbp),%esi
  lea    D89(%rip),%rdi
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <printf@plt>
  lea    D95(%rip),%rdi
  call   <puts@plt>
L17:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  mov    %r12,%rsi
  call   <scanf@plt>
  mov    -0x374(%rbp),%edi
  test   %edi,%edi
  js     L7
  lea    -0x368(%rbp),%rsi
  call   <solcon_length_standard_solution_string@plt>
  movslq -0x368(%rbp),%rax
  mov    %rsp,%rdi
  mov    %rsp,%rcx
  mov    %rax,%rsi
  add    $0xf,%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rdi
  and    $0xfffffffffffffff0,%rdx
  cmp    %rdi,%rsp
  je     L32
L13:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L13
L32:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L71
  orq    $0x0,-0x8(%rsp,%rdx,1)
L71:
  mov    -0x374(%rbp),%edi
  mov    %rsp,%rdx
  mov    %rcx,-0x388(%rbp)
  call   <solcon_write_standard_solution_string@plt>
  mov    -0x374(%rbp),%esi
  mov    %rsp,%rdx
  mov    %r14,%rdi
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <printf@plt>
  mov    -0x374(%rbp),%eax
  mov    -0x388(%rbp),%rsp
  test   %eax,%eax
  jns    L17
L7:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L36
  lea    -0x28(%rbp),%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L36:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_label: D39
type_guessed: string
name: retrieve_data
arguments: data_label: D12
type_guessed: string
name: retrieve_data
arguments: data_label: D8
type_guessed: string
name: retrieve_data
arguments: data_label: D23
type_guessed: string
name: retrieve_data
arguments: data_label: D100
type_guessed: string
name: retrieve_data
arguments: data_label: D0
type_guessed: string
name: retrieve_data
arguments: data_label: D45
type_guessed: string
name: retrieve_data
arguments: data_label: D92
type_guessed: string
name: retrieve_data
arguments: data_label: D16
type_guessed: string
name: retrieve_data
arguments: data_label: D89
type_guessed: string
name: retrieve_data
arguments: data_label: D95
type_guessed: string

tool: D39: 
Give the number of polynomials in the system : 

tool: D12: %d

tool: D8: 
Reading %d polynomials, 

tool: D23: terminate each with ; (semicolon)...

tool: D100: -> polynomial %d : 

tool: D0: The system in the container : 

tool: D45: 
Give an index to a solution (-1 to exit) : 

tool: D92: 
Solution %d : 
%s

tool: D16: 
Give the number of tasks : 

tool: D89: 
The root count : %d


tool: D95: interactive selection of solutions... 

assistant: ```c
int standard_interactive_input_output(void) {
  int n, fail, k, nc, i, rc, len, nbtasks;
  char ch, p[800];
  printf("\nGive the number of polynomials in the system : ");
  scanf("%d", &n);
  fail = syscon_initialize_number_of_standard_polynomials(n);
  printf("\nReading %d polynomials, ", n);
  printf("terminate each with ; (semicolon)...\n");
  for (k = 1; k <= n; k++) {
    printf("-> polynomial %d : ", k);
    ch = getchar();
    read_poly(&nc, p);
    fail = syscon_store_standard_polynomial(nc, n, k, p);
  }
  printf("The system in the container : \n");
  syscon_write_standard_system();
  printf("\nGive the number of tasks : ");
  scanf("%d", &nbtasks);
  fail = solve_system(&rc, nbtasks);
  printf("\nThe root count : %d\n", rc);
  printf("interactive selection of solutions... \n");
  do {
    printf("\nGive an index to a solution (-1 to exit) : ");
    scanf("%d", &k);
    if (k < 0)
      break;
    fail = solcon_length_standard_solution_string(k, &len);
    {
      char s[len];
      fail = solcon_write_standard_solution_string(k, len, s);
      printf("\nSolution %d : \n%s", k, s);
    }
  } while (k >= 0);
  return fail;
}
```