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

```asm
<main>:
  endbr64
  sub    $0x18,%rsp
  lea    D95(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x8(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    D43(%rip),%rdi
  call   <printf@plt>
  lea    D67(%rip),%rdi
  call   <printf@plt>
  lea    D10(%rip),%rdi
  call   <printf@plt>
  lea    D12(%rip),%rdi
  call   <printf@plt>
  lea    D56(%rip),%rdi
  call   <printf@plt>
  lea    0x4(%rsp),%rsi
  lea    D25(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    0x3(%rsp),%rsi
  lea    D73(%rip),%rdi
  xor    %eax,%eax
  call   <scanf@plt>
  lea    D58(%rip),%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <adainit@plt>
  mov    0x4(%rsp),%eax
  cmp    $0x1,%eax
  je     L49
  cmp    $0x2,%eax
  je     L11
  cmp    $0x3,%eax
  je     L13
  cmp    $0x4,%eax
  je     L65
  lea    D64(%rip),%rdi
  call   <printf@plt>
L61:
  xor    %eax,%eax
  call   <adafinal@plt>
  mov    0x8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L22
  xor    %eax,%eax
  add    $0x18,%rsp
  ret
L49:
  xor    %eax,%eax
  call   <test_standard_solution_container@plt>
  jmp    L61
L65:
  xor    %eax,%eax
  call   <test_quaddobl_solution_container@plt>
  jmp    L61
L11:
  xor    %eax,%eax
  call   <test_incremental_read_and_write@plt>
  jmp    L61
L13:
  xor    %eax,%eax
  call   <test_dobldobl_solution_container@plt>
  jmp    L61
L22:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D95
type: string
name: unpack_data
arguments: tag: D43
type: string
name: unpack_data
arguments: tag: D67
type: string
name: unpack_data
arguments: tag: D10
type: string
name: unpack_data
arguments: tag: D12
type: string
name: unpack_data
arguments: tag: D56
type: string
name: unpack_data
arguments: tag: D25
type: string
name: unpack_data
arguments: tag: D73
type: string
name: unpack_data
arguments: tag: D58
type: string
name: unpack_data
arguments: tag: D64
type: string

tool: D95: 
MENU to test operations in solutions container :


tool: D43:   1. test main operations in the container;


tool: D67:   2. incremental read/write of solutions from/to file;


tool: D10:   3. test container for double double solutions;


tool: D12:   4. test container for quad double solutions.


tool: D56: Type 1, 2, 3, or 4 to make your choice : 

tool: D25: %d

tool: D73: %c

tool: D58: 


tool: D64: %d is wrong choice.  Please try again...


assistant: ```c
int main(void) {
  int option;
  char ch;
  printf("\nMENU to test operations in solutions container :\n");
  printf("  1. test main operations in the container;\n");
  printf("  2. incremental read/write of solutions from/to file;\n");
  printf("  3. test container for double double solutions;\n");
  printf("  4. test container for quad double solutions.\n");
  printf("Type 1, 2, 3, or 4 to make your choice : ");
  scanf("%d", &option);
  scanf("%c", &ch);
  printf("\n");
  adainit();
  if (option == 1)
    test_standard_solution_container();
  else if (option == 2)
    test_incremental_read_and_write();
  else if (option == 3)
    test_dobldobl_solution_container();
  else if (option == 4)
    test_quaddobl_solution_container();
  else
    printf("%d is wrong choice.  Please try again...\n");
  adafinal();
  return 0;
}
```