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

```asm
<main>:
  endbr64
  push   %r13
  lea    D5(%rip),%rdi
  push   %r12
  push   %rbp
  lea    D14(%rip),%rbp
  push   %rbx
  sub    $0x78,%rsp
  movapd D58(%rip),%xmm0
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  mov    D20(%rip),%rax
  mov    %rsp,%r13
  lea    0x28(%rsp),%r12
  movaps %xmm0,(%rsp)
  movapd D126(%rip),%xmm0
  mov    %r13,%rbx
  mov    %rax,0x20(%rsp)
  movaps %xmm0,0x10(%rsp)
  movapd D41(%rip),%xmm0
  movaps %xmm0,0x30(%rsp)
  movapd D87(%rip),%xmm0
  movaps %xmm0,0x40(%rsp)
  movapd D16(%rip),%xmm0
  movaps %xmm0,0x50(%rsp)
  call   <puts@plt>
L25:
  movsd  (%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x8,%rbx
  call   <printf@plt>
  cmp    %r12,%rbx
  jne    L25
  lea    D124(%rip),%rdi
  lea    0x30(%rsp),%rbx
  call   <puts@plt>
  lea    0x60(%rsp),%r12
  nopl   0x0(%rax,%rax,1)
L23:
  movsd  (%rbx),%xmm0
  mov    %rbp,%rdi
  mov    $0x1,%eax
  add    $0x8,%rbx
  call   <printf@plt>
  cmp    %rbx,%r12
  jne    L23
  xor    %edx,%edx
  mov    $0x4,%ecx
  mov    %r13,%rsi
  xor    %edi,%edi
  call   <CSPL_Array_quickselect@plt>
  lea    D70(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  xor    %edx,%edx
  mov    $0x4,%ecx
  mov    %r13,%rsi
  mov    $0x1,%edi
  call   <CSPL_Array_quickselect@plt>
  lea    D129(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  xor    %edx,%edx
  mov    $0x4,%ecx
  mov    %r13,%rsi
  mov    $0x2,%edi
  call   <CSPL_Array_quickselect@plt>
  lea    D128(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  xor    %edx,%edx
  mov    $0x4,%ecx
  mov    %r13,%rsi
  mov    $0x3,%edi
  call   <CSPL_Array_quickselect@plt>
  lea    D76(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  xor    %edx,%edx
  mov    $0x4,%edi
  mov    %r13,%rsi
  mov    $0x4,%ecx
  call   <CSPL_Array_quickselect@plt>
  lea    D59(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L11
  add    $0x78,%rsp
  xor    %eax,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L11:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D5
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D14
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D58
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D20
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_label: D126
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D41
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D87
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D16
type_guessed: byte[16]
name: extract_symbolic_data
arguments: data_label: D124
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D70
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D129
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D128
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D76
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D59
type_guessed: string

tool: D5: dat1:

tool: D14:   %lf


tool: {"D58": [0x00,0x00,0x00,0x00,0x00,0x00,0x34,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x2e,0x40]}

tool: {"D20": [0x00,0x00,0x00,0x00,0x00,0x00,0x49,0x40]}

tool: {"D126": [0x00,0x00,0x00,0x00,0x00,0x80,0x41,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x44,0x40]}

tool: {"D41": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: {"D87": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x40]}

tool: {"D16": [0x00,0x00,0x00,0x00,0x00,0x00,0x1c,0x40,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x40]}

tool: D124: dat2:

tool: D70: CSPL_Array_quickselect(0, dat1, 0, 4)=%lf


tool: D129: CSPL_Array_quickselect(1, dat1, 0, 4)=%lf


tool: D128: CSPL_Array_quickselect(2, dat1, 0, 4)=%lf


tool: D76: CSPL_Array_quickselect(3, dat1, 0, 4)=%lf


tool: D59: CSPL_Array_quickselect(4, dat1, 0, 4)=%lf


assistant: ```c
int main(void) {
  double dat1[5] = {20, 15, 35, 40, 50};
  double dat2[6] = {1, 2, 2, 6, 7, 8};
  long i;
  double a1;
  printf("dat1:\n");
  for (i = 0; i < 5; i++)
    printf("  %lf\n", dat1[i]);
  printf("dat2:\n");
  for (i = 0; i < 6; i++)
    printf("  %lf\n", dat2[i]);
  a1 = CSPL_Array_quickselect(0, dat1, 0, 4);
  printf("CSPL_Array_quickselect(0, dat1, 0, 4)=%lf\n", a1);
  a1 = CSPL_Array_quickselect(1, dat1, 0, 4);
  printf("CSPL_Array_quickselect(1, dat1, 0, 4)=%lf\n", a1);
  a1 = CSPL_Array_quickselect(2, dat1, 0, 4);
  printf("CSPL_Array_quickselect(2, dat1, 0, 4)=%lf\n", a1);
  a1 = CSPL_Array_quickselect(3, dat1, 0, 4);
  printf("CSPL_Array_quickselect(3, dat1, 0, 4)=%lf\n", a1);
  a1 = CSPL_Array_quickselect(4, dat1, 0, 4);
  printf("CSPL_Array_quickselect(4, dat1, 0, 4)=%lf\n", a1);
  return (0);
}
```