user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<quaddobl_interactive_input_output>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x778,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x794(%rbp),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x794(%rbp),%eax
  mov    %eax,%edi
  call   <syscon_initialize_number_of_quaddobl_polynomials@plt>
  mov    %eax,-0x774(%rbp)
  mov    -0x794(%rbp),%eax
  mov    %eax,%esi
  lea    D32(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D67(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movl   $0x1,-0x790(%rbp)
  jmp    L33
L28:
  mov    -0x790(%rbp),%eax
  mov    %eax,%esi
  lea    D15(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  call   <getchar@plt>
  mov    %al,-0x795(%rbp)
  lea    -0x760(%rbp),%rdx
  lea    -0x78c(%rbp),%rax
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <read_poly@plt>
  mov    -0x790(%rbp),%edx
  mov    -0x794(%rbp),%esi
  mov    -0x78c(%rbp),%eax
  lea    -0x760(%rbp),%rcx
  mov    %eax,%edi
  call   <syscon_store_quaddobl_polynomial@plt>
  mov    %eax,-0x774(%rbp)
  mov    -0x790(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x790(%rbp)
L33:
  mov    -0x790(%rbp),%edx
  mov    -0x794(%rbp),%eax
  cmp    %eax,%edx
  jle    L28
  lea    D82(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_quaddobl_system@plt>
  lea    D140(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x77c(%rbp),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x778(%rbp),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x778(%rbp),%edi
  mov    -0x77c(%rbp),%esi
  lea    -0x440(%rbp),%rcx
  lea    -0x784(%rbp),%rdx
  lea    -0x788(%rbp),%rax
  mov    %edi,%r9d
  mov    %esi,%r8d
  mov    $0x0,%esi
  mov    %rax,%rdi
  call   <solve_quaddobl_system@plt>
  mov    %eax,-0x774(%rbp)
  mov    -0x788(%rbp),%eax
  mov    %eax,%esi
  lea    D44(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L59:
  lea    D98(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x790(%rbp),%rax
  mov    %rax,%rsi
  lea    D76(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x790(%rbp),%eax
  test   %eax,%eax
  js     L86
  mov    -0x790(%rbp),%eax
  lea    -0x780(%rbp),%rdx
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <solcon_length_quaddobl_solution_string@plt>
  mov    %eax,-0x774(%rbp)
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x780(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x770(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r12
  mov    $0x0,%r13d
  movslq %eax,%rdx
  mov    %rdx,%r14
  mov    $0x0,%r15d
  cltq
  mov    $0x10,%edx
  sub    $0x1,%rdx
  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
L89:
  cmp    %rdx,%rsp
  je     L87
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L89
L87:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L38
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L38:
  mov    %rsp,%rax
  add    $0x0,%rax
  mov    %rax,-0x768(%rbp)
  mov    -0x780(%rbp),%ecx
  mov    -0x790(%rbp),%eax
  mov    -0x768(%rbp),%rdx
  mov    %ecx,%esi
  mov    %eax,%edi
  call   <solcon_write_quaddobl_solution_string@plt>
  mov    %eax,-0x774(%rbp)
  mov    -0x790(%rbp),%eax
  mov    -0x768(%rbp),%rdx
  mov    %eax,%esi
  lea    D148(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    %rbx,%rsp
  mov    -0x790(%rbp),%eax
  test   %eax,%eax
  jns    L59
  jmp    L30
L86:
  nop
L30:
  mov    -0x774(%rbp),%eax
  mov    -0x38(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L79
  call   <__stack_chk_fail@plt>
L79:
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
```

tool_calls: name: retrieve_data
arguments: data_tag: D111
type: string
name: retrieve_data
arguments: data_tag: D76
type: string
name: retrieve_data
arguments: data_tag: D32
type: string
name: retrieve_data
arguments: data_tag: D67
type: string
name: retrieve_data
arguments: data_tag: D15
type: string
name: retrieve_data
arguments: data_tag: D82
type: string
name: retrieve_data
arguments: data_tag: D140
type: string
name: retrieve_data
arguments: data_tag: D2
type: string
name: retrieve_data
arguments: data_tag: D44
type: string
name: retrieve_data
arguments: data_tag: D54
type: string
name: retrieve_data
arguments: data_tag: D98
type: string
name: retrieve_data
arguments: data_tag: D148
type: string

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

tool: D76: %d

tool: D32: 
Reading %d polynomials, 

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

tool: D15: -> polynomial %d : 

tool: D82: The system in the container : 

tool: D140: 
Give the number of tasks : 

tool: D2: 
Give the verbose level : 

tool: D44: 
The root count : %d


tool: D54: interactive selection of solutions... 

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

tool: D148: 
Solution %d : 
%s

assistant: ```c
int quaddobl_interactive_input_output(void) {
  int n, fail, k, nc, i, rc, nrc, len, nbtasks, vrb;
  char rocos[1024];
  char ch, p[800];
  printf("\nGive the number of polynomials in the system : ");
  scanf("%d", &n);
  fail = syscon_initialize_number_of_quaddobl_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_quaddobl_polynomial(nc, n, k, p);
  }
  printf("The system in the container : \n");
  syscon_write_quaddobl_system();
  printf("\nGive the number of tasks : ");
  scanf("%d", &nbtasks);
  printf("\nGive the verbose level : ");
  scanf("%d", &vrb);
  fail = solve_quaddobl_system(&rc, 0, &nrc, rocos, nbtasks, vrb);
  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_quaddobl_solution_string(k, &len);
    {
      char s[len];
      fail = solcon_write_quaddobl_solution_string(k, len, s);
      printf("\nSolution %d : \n%s", k, s);
    }
  } while (k >= 0);
  return fail;
}
```