user: What is the c source code of the assembly code below:

```asm
<ask_menu_selection>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D33(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D12(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D112(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D79(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D122(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D14(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D71(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D19(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D126(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D127(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    D102(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  mov    -0x18(%rbp),%rax
  mov    %rax,%rsi
  lea    D62(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x5,%eax
  jg     L27
  lea    D107(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  lea    -0x9(%rbp),%rax
  mov    %rax,%rsi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  lea    -0x9(%rbp),%rax
  mov    %rax,%rsi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  movb   $0x79,-0x9(%rbp)
  mov    -0x20(%rbp),%rax
  movl   $0x1,(%rax)
  lea    -0x9(%rbp),%rax
  mov    %rax,%rsi
  lea    D129(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
L27:
  mov    -0x18(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x9,%eax
  jne    L20
  mov    -0x20(%rbp),%rax
  movl   $0x1,(%rax)
L20:
  nop
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L21
  call   <__stack_chk_fail@plt>
L21:
  leave
  ret
```

tool_calls: name: read_data
arguments: data_tag: D33
data_type: string
name: read_data
arguments: data_tag: D12
data_type: string
name: read_data
arguments: data_tag: D112
data_type: string
name: read_data
arguments: data_tag: D79
data_type: string
name: read_data
arguments: data_tag: D122
data_type: string
name: read_data
arguments: data_tag: D14
data_type: string
name: read_data
arguments: data_tag: D71
data_type: string
name: read_data
arguments: data_tag: D19
data_type: string
name: read_data
arguments: data_tag: D126
data_type: string
name: read_data
arguments: data_tag: D127
data_type: string
name: read_data
arguments: data_tag: D102
data_type: string
name: read_data
arguments: data_tag: D62
data_type: string
name: read_data
arguments: data_tag: D107
data_type: string
name: read_data
arguments: data_tag: D129
data_type: string

tool: D33: 
MENU for type of start system and homotopy :


tool: D12:   1. start system is based on total degree;


tool: D112:   2. a linear-product start system will be given;


tool: D79:   3. start system and start solutions are provided;


tool: D122:   4. the homotopy is a cascade to go one level down;


tool: D14:   5. diagonal homotopy to start a cascade;


tool: D71:   6. compute witness set for a hypersurface;


tool: D19:   7. collapse extrinsic diagonal of a witness set;


tool: D126:   8. remove the last slack variable of a witness set;


tool: D127:   9. test the crude path trackers.


tool: D102: Type 1, 2, 3, 4, 5, 6, 7, 8, or 9 to select : 

tool: D62: %d

tool: D107: 
Do you want to monitor progress of solver on screen ? (y/n) 

tool: D129: %c

assistant: ```c
void ask_menu_selection(int *kind, int *monitor) {
  char ans;
  printf("\nMENU for type of start system and homotopy :\n");
  printf("  1. start system is based on total degree;\n");
  printf("  2. a linear-product start system will be given;\n");
  printf("  3. start system and start solutions are provided;\n");
  printf("  4. the homotopy is a cascade to go one level down;\n");
  printf("  5. diagonal homotopy to start a cascade;\n");
  printf("  6. compute witness set for a hypersurface;\n");
  printf("  7. collapse extrinsic diagonal of a witness set;\n");
  printf("  8. remove the last slack variable of a witness set;\n");
  printf("  9. test the crude path trackers.\n");
  printf("Type 1, 2, 3, 4, 5, 6, 7, 8, or 9 to select : ");
  scanf("%d", kind);
  if (*kind < 6) {
    printf("\nDo you want to monitor progress of solver on screen ? (y/n) ");
    scanf("%c", &ans);
    scanf("%c", &ans);
    if (ans = 'y')
      *monitor = 1;
    else
      *monitor = 0;
    scanf("%c", &ans);
  }
  if (*kind == 9)
    *monitor = 1;
}
```