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

```asm
<dobldobl_test>:
  endbr64
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    D53(%rip),%rdi
  call   <puts@plt>
  lea    0xc(%rsp),%rdx
  lea    0x8(%rsp),%rsi
  lea    0x4(%rsp),%rdi
  call   <read_dobldobl_witness_set@plt>
  lea    D45(%rip),%rdi
  call   <puts@plt>
  lea    D135(%rip),%rdi
  call   <puts@plt>
  lea    D123(%rip),%rdi
  call   <puts@plt>
  lea    D28(%rip),%rdi
  call   <puts@plt>
  lea    D139(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x14(%rsp),%rsi
  lea    D6(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    0x3(%rsp),%rsi
  lea    D80(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpl   $0x0,0x14(%rsp)
  je     L64
L77:
  cmpl   $0x2,0x14(%rsp)
  je     L23
L4:
  mov    0x4(%rsp),%esi
  lea    D103(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0x8(%rsp),%esi
  lea    D157(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    0xc(%rsp),%esi
  lea    D87(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    D96(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x3(%rsp),%rsi
  lea    D80(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmpb   $0x79,0x3(%rsp)
  je     L53
L55:
  mov    0xc(%rsp),%esi
  mov    0x4(%rsp),%edi
  call   <dobldobl_assign_labels@plt>
  lea    D122(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    0x10(%rsp),%rsi
  lea    D6(%rip),%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    0xc(%rsp),%ecx
  mov    0x8(%rsp),%edx
  mov    0x4(%rsp),%esi
  mov    0x10(%rsp),%edi
  call   <dobldobl_monodromy_breakup@plt>
  cmpl   $0x2,0x14(%rsp)
  je     L26
L54:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L6
  mov    $0x0,%eax
  add    $0x28,%rsp
  ret
L64:
  mov    $0x0,%eax
  call   <set_state_to_silent@plt>
  jmp    L77
L23:
  mov    $0x0,%eax
  call   <define_output_file@plt>
  jmp    L4
L53:
  lea    D86(%rip),%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  call   <syscon_write_dobldobl_system@plt>
  jmp    L55
L26:
  lea    D24(%rip),%rdi
  call   <puts@plt>
  jmp    L54
L6:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D53
type_infered: string
name: parse_data
arguments: data_label: D45
type_infered: string
name: parse_data
arguments: data_label: D135
type_infered: string
name: parse_data
arguments: data_label: D123
type_infered: string
name: parse_data
arguments: data_label: D28
type_infered: string
name: parse_data
arguments: data_label: D139
type_infered: string
name: parse_data
arguments: data_label: D6
type_infered: string
name: parse_data
arguments: data_label: D80
type_infered: string
name: parse_data
arguments: data_label: D103
type_infered: string
name: parse_data
arguments: data_label: D157
type_infered: string
name: parse_data
arguments: data_label: D87
type_infered: string
name: parse_data
arguments: data_label: D96
type_infered: string
name: parse_data
arguments: data_label: D122
type_infered: string
name: parse_data
arguments: data_label: D86
type_infered: string
name: parse_data
arguments: data_label: D24
type_infered: string

tool: D53: 
Reading a witness set ...

tool: D45: 
MENU for the kind of output :

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

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

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

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

tool: D6: %d

tool: D80: %c

tool: D103: 
The ambient dimension : %d.


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


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


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

tool: D122: 
Give the number of loops : 

tool: D86: 
The system read :

tool: D24: 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;
}
```