user: Converte this assembly snippet into its equivalent C code:

```asm
<quaddobl_interactive_input_output>:
  endbr64
  push   %rbp
  lea    D48(%rip),%rdi
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  lea    D99(%rip),%rbx
  sub    $0x768,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x780(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    -0x780(%rbp),%edi
  call   <syscon_initialize_number_of_quaddobl_polynomials@plt>
  mov    -0x780(%rbp),%esi
  lea    D51(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    D107(%rip),%rdi
  call   <puts@plt>
  mov    -0x780(%rbp),%edx
  movl   $0x1,-0x77c(%rbp)
  test   %edx,%edx
  jle    L14
  mov    $0x1,%esi
  lea    D1(%rip),%r14
  lea    -0x760(%rbp),%r12
  lea    -0x778(%rbp),%r13
  nopw   0x0(%rax,%rax,1)
L35:
  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    -0x780(%rbp),%esi
  mov    -0x77c(%rbp),%edx
  mov    %r12,%rcx
  mov    -0x778(%rbp),%edi
  call   <syscon_store_quaddobl_polynomial@plt>
  mov    -0x77c(%rbp),%eax
  lea    0x1(%rax),%esi
  mov    %esi,-0x77c(%rbp)
  cmp    -0x780(%rbp),%esi
  jle    L35
L14:
  lea    D4(%rip),%rdi
  lea    D75(%rip),%r13
  call   <puts@plt>
  xor    %eax,%eax
  lea    -0x77c(%rbp),%r12
  lea    D86(%rip),%r14
  call   <syscon_write_quaddobl_system@plt>
  lea    D27(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x768(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D2(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    -0x764(%rbp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    -0x764(%rbp),%r9d
  xor    %esi,%esi
  mov    -0x768(%rbp),%r8d
  lea    -0x440(%rbp),%rcx
  lea    -0x770(%rbp),%rdx
  lea    -0x774(%rbp),%rdi
  call   <solve_quaddobl_system@plt>
  mov    -0x774(%rbp),%esi
  lea    D81(%rip),%rdi
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <printf@plt>
  lea    D93(%rip),%rdi
  call   <puts@plt>
L67:
  mov    %r13,%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbx,%rdi
  mov    %r12,%rsi
  call   <scanf@plt>
  mov    -0x77c(%rbp),%edi
  test   %edi,%edi
  js     L54
  lea    -0x76c(%rbp),%rsi
  call   <solcon_length_quaddobl_solution_string@plt>
  movslq -0x76c(%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     L34
L41:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rdi,%rsp
  jne    L41
L34:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L50
  orq    $0x0,-0x8(%rsp,%rdx,1)
L50:
  mov    -0x77c(%rbp),%edi
  mov    %rsp,%rdx
  mov    %rcx,-0x788(%rbp)
  call   <solcon_write_quaddobl_solution_string@plt>
  mov    -0x77c(%rbp),%esi
  mov    %rsp,%rdx
  mov    %r14,%rdi
  mov    %eax,%r15d
  xor    %eax,%eax
  call   <printf@plt>
  mov    -0x77c(%rbp),%eax
  mov    -0x788(%rbp),%rsp
  test   %eax,%eax
  jns    L67
L54:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L29
  lea    -0x28(%rbp),%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L29:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D48
type_guessed: string
name: unpack_data
arguments: label: D99
type_guessed: string
name: unpack_data
arguments: label: D51
type_guessed: string
name: unpack_data
arguments: label: D107
type_guessed: string
name: unpack_data
arguments: label: D1
type_guessed: string
name: unpack_data
arguments: label: D4
type_guessed: string
name: unpack_data
arguments: label: D75
type_guessed: string
name: unpack_data
arguments: label: D86
type_guessed: string
name: unpack_data
arguments: label: D27
type_guessed: string
name: unpack_data
arguments: label: D2
type_guessed: string
name: unpack_data
arguments: label: D81
type_guessed: string
name: unpack_data
arguments: label: D93
type_guessed: string

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

tool: D99: %d

tool: D51: 
Reading %d polynomials, 

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

tool: D1: -> polynomial %d : 

tool: D4: The system in the container : 

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

tool: D86: 
Solution %d : 
%s

tool: D27: 
Give the number of tasks : 

tool: D2: 
Give the verbose level : 

tool: D81: 
The root count : %d


tool: D93: interactive selection of solutions... 

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;
}
```