user: 请将以下的汇编代码转换成C语言代码：

```asm
<dobldobl_test>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x18(%rbp),%rdx
  lea    -0x1c(%rbp),%rcx
  lea    -0x20(%rbp),%rax
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <read_dobldobl_witness_set@plt>
  mov    %eax,-0xc(%rbp)
  lea    D130(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D116(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D91(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D11(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x10(%rbp),%rax
  mov    %rax,%rsi
  lea    D117(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    -0x21(%rbp),%rax
  mov    %rax,%rsi
  lea    D84(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x10(%rbp),%eax
  test   %eax,%eax
  jne    L17
  mov    $0x0,%eax
  call   <set_state_to_silent@plt>
  mov    %eax,-0xc(%rbp)
L17:
  mov    -0x10(%rbp),%eax
  cmp    $0x2,%eax
  jne    L41
  mov    $0x0,%eax
  call   <define_output_file@plt>
  mov    %eax,-0xc(%rbp)
L41:
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x1c(%rbp),%eax
  mov    %eax,%esi
  lea    D77(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x18(%rbp),%eax
  mov    %eax,%esi
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x21(%rbp),%rax
  mov    %rax,%rsi
  lea    D84(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movzbl -0x21(%rbp),%eax
  cmp    $0x79,%al
  jne    L40
  lea    D78(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_dobldobl_system@plt>
  mov    %eax,-0xc(%rbp)
L40:
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <dobldobl_assign_labels@plt>
  mov    %eax,-0xc(%rbp)
  lea    D67(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x14(%rbp),%rax
  mov    %rax,%rsi
  lea    D117(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x18(%rbp),%ecx
  mov    -0x1c(%rbp),%edx
  mov    -0x20(%rbp),%esi
  mov    -0x14(%rbp),%eax
  mov    %eax,%edi
  call   <dobldobl_monodromy_breakup@plt>
  mov    %eax,-0xc(%rbp)
  mov    -0x10(%rbp),%eax
  cmp    $0x2,%eax
  jne    L35
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L35:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L47
  call   <__stack_chk_fail@plt>
L47:
  leave
  ret
```

tool_calls: name: parse_data
arguments: label: D144
data_type: string
name: parse_data
arguments: label: D130
data_type: string
name: parse_data
arguments: label: D116
data_type: string
name: parse_data
arguments: label: D91
data_type: string
name: parse_data
arguments: label: D11
data_type: string
name: parse_data
arguments: label: D111
data_type: string
name: parse_data
arguments: label: D117
data_type: string
name: parse_data
arguments: label: D84
data_type: string
name: parse_data
arguments: label: D20
data_type: string
name: parse_data
arguments: label: D77
data_type: string
name: parse_data
arguments: label: D35
data_type: string
name: parse_data
arguments: label: D31
data_type: string
name: parse_data
arguments: label: D78
data_type: string
name: parse_data
arguments: label: D67
data_type: string
name: parse_data
arguments: label: D19
data_type: string

tool: D144: 
Reading a witness set ...

tool: D130: 
MENU for the kind of output :

tool: D116:   0. remain silent with no intermediate output;

tool: D91:   1. all intermediate output goes to screen;

tool: D11:   2. give a file name for all intermediate output.

tool: D111: Type 0, 1, or 2 to make a choice : 

tool: D117: %d

tool: D84: %c

tool: D20: 
The ambient dimension : %d.


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


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


tool: D31: 
Do you wish to see the embedded system ? (y/n) 

tool: D78: 
The system read :

tool: D67: 
Give the number of loops : 

tool: D19: See the output file for results.

assistant: ```c
int dobldobl_test(void) {
  int fail, n, dim, deg, nbloops, kind;
  char ans;
  printf("\nReading a witness set ...\n");
  fail = read_dobldobl_witness_set(&n, &dim, &deg);
  printf("\nMENU for the kind of output :\n");
  printf("  0. remain silent with no intermediate output;\n");
  printf("  1. all intermediate output goes to screen;\n");
  printf("  2. give a file name for all intermediate output.\n");
  printf("Type 0, 1, or 2 to make a choice : ");
  scanf("%d", &kind);
  scanf("%c", &ans);
  if (kind == 0)
    fail = set_state_to_silent();
  if (kind == 2)
    fail = define_output_file();
  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 wish to see the embedded system ? (y/n) ");
    scanf("%c", &ans);
    if (ans == 'y') {
      printf("\nThe system read :\n");
      fail = syscon_write_dobldobl_system();
    }
  }
  fail = dobldobl_assign_labels(n, deg);
  printf("\nGive the number of loops : ");
  scanf("%d", &nbloops);
  fail = dobldobl_monodromy_breakup(nbloops, n, dim, deg);
  if (kind == 2)
    printf("See the output file for results.\n");
  return 0;
}
```