user: 请从给定的汇编指令推导出C源代码:

```asm
<test_prep_cq>:
  endbr64
  push   %r12
  lea    D20(%rip),%r12
  push   %rbp
  mov    %edi,%ebp
  lea    D53(%rip),%rdi
  sub    $0x8,%rsp
  call   <printf@plt>
  lea    D95(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x1,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D15(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x2,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D74(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x3,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D1(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x4,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D56(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x5,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D13(%rip),%rdi
  call   <printf@plt>
  mov    $0x1,%ecx
  mov    $0x64,%edx
  mov    %ebp,%edi
  mov    $0x6,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D87(%rip),%rdi
  call   <printf@plt>
  lea    D43(%rip),%rdi
  call   <printf@plt>
  xor    %ecx,%ecx
  mov    $0xa,%edx
  mov    %ebp,%edi
  mov    $0x10,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <getchar@plt>
  lea    D91(%rip),%rdi
  call   <printf@plt>
  mov    %ebp,%edi
  xor    %ecx,%ecx
  mov    $0xf,%edx
  mov    $0xf,%esi
  call   <ioctl_prep_cq@plt>
  mov    %r12,%rdi
  call   <printf@plt>
  add    $0x8,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  jmp    1090 <getchar@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D20
datatype: string
name: parse_data
arguments: data_tag: D53
datatype: string
name: parse_data
arguments: data_tag: D95
datatype: string
name: parse_data
arguments: data_tag: D15
datatype: string
name: parse_data
arguments: data_tag: D74
datatype: string
name: parse_data
arguments: data_tag: D1
datatype: string
name: parse_data
arguments: data_tag: D56
datatype: string
name: parse_data
arguments: data_tag: D13
datatype: string
name: parse_data
arguments: data_tag: D87
datatype: string
name: parse_data
arguments: data_tag: D43
datatype: string
name: parse_data
arguments: data_tag: D91
datatype: string

tool: D20: 
Press any key to continue..

tool: D53: 
TEST 2.3.1: Preparing IO Contiguous CQ's with 100 elements each...


tool: D95: 
	CQ ID = 1


tool: D15: 
	CQ ID = 2


tool: D74: 
	CQ ID = 3


tool: D1: 
	CQ ID = 4


tool: D56: 
	CQ ID = 5


tool: D13: 
	CQ ID = 6


tool: D87: 
TEST 2.3.2: Preparing Non-Contiguous IO CQ's with different sizes...


tool: D43: 
	CQ ID = 16


tool: D91: 
	CQ ID = 15


assistant: ```c
void test_prep_cq(int file_desc) {
  printf("\nTEST 2.3.1: Preparing IO Contiguous CQ's with 100 elements each...\n");
  printf("\n\tCQ ID = 1\n");
  ioctl_prep_cq(file_desc, 1, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 2\n");
  ioctl_prep_cq(file_desc, 2, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 3\n");
  ioctl_prep_cq(file_desc, 3, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 4\n");
  ioctl_prep_cq(file_desc, 4, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 5\n");
  ioctl_prep_cq(file_desc, 5, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 6\n");
  ioctl_prep_cq(file_desc, 6, 100, 1);
  printf("\nPress any key to continue..");
  getchar();
  printf("\nTEST 2.3.2: Preparing Non-Contiguous IO CQ's with different sizes...\n");
  printf("\n\tCQ ID = 16\n");
  ioctl_prep_cq(file_desc, 16, 10, 0);
  printf("\nPress any key to continue..");
  getchar();
  printf("\n\tCQ ID = 15\n");
  ioctl_prep_cq(file_desc, 15, 15, 0);
  printf("\nPress any key to continue..");
  getchar();
}
```