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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xd0,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movsd  D151(%rip),%xmm0
  movsd  %xmm0,-0xb0(%rbp)
  movsd  D201(%rip),%xmm0
  movsd  %xmm0,-0xa8(%rbp)
  movsd  D123(%rip),%xmm0
  movsd  %xmm0,-0xa0(%rbp)
  movsd  D160(%rip),%xmm0
  movsd  %xmm0,-0x98(%rbp)
  movsd  D195(%rip),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  D142(%rip),%xmm0
  movsd  %xmm0,-0x88(%rbp)
  movsd  D50(%rip),%xmm0
  movsd  %xmm0,-0x80(%rbp)
  movsd  D234(%rip),%xmm0
  movsd  %xmm0,-0x78(%rbp)
  movsd  D134(%rip),%xmm0
  movsd  %xmm0,-0x70(%rbp)
  movsd  D181(%rip),%xmm0
  movsd  %xmm0,-0x68(%rbp)
  movsd  D88(%rip),%xmm0
  movsd  %xmm0,-0x60(%rbp)
  movsd  D212(%rip),%xmm0
  movsd  %xmm0,-0x58(%rbp)
  movsd  D118(%rip),%xmm0
  movsd  %xmm0,-0x50(%rbp)
  movsd  D126(%rip),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  movsd  D120(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp)
  movsd  D39(%rip),%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  D69(%rip),%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  D82(%rip),%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  D100(%rip),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movsd  D31(%rip),%xmm0
  movsd  %xmm0,-0x18(%rbp)
  lea    -0xc8(%rbp),%rcx
  lea    -0xd0(%rbp),%rdx
  lea    -0x60(%rbp),%rsi
  lea    -0xb0(%rbp),%rax
  mov    %rcx,%r8
  mov    %rdx,%rcx
  mov    $0xa,%edx
  mov    %rax,%rdi
  call   <CSPL_Regression_TheilSen@plt>
  movq   %xmm0,%rax
  mov    %rax,-0xb8(%rbp)
  lea    D6(%rip),%rax
  mov    %rax,%rdx
  lea    D209(%rip),%rax
  mov    %rax,%rsi
  lea    D71(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movq   $0x0,-0xc0(%rbp)
  jmp    L16
L3:
  mov    -0xc0(%rbp),%rax
  movsd  -0x60(%rbp,%rax,8),%xmm0
  mov    -0xc0(%rbp),%rax
  mov    -0xb0(%rbp,%rax,8),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  addq   $0x1,-0xc0(%rbp)
L16:
  cmpq   $0x9,-0xc0(%rbp)
  jle    L3
  mov    $0xa,%edi
  call   <putchar@plt>
  movsd  -0xc8(%rbp),%xmm0
  mov    -0xd0(%rbp),%rax
  movsd  -0xb8(%rbp),%xmm1
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  mov    $0x3,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L19
  call   <__stack_chk_fail@plt>
L19:
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D151
type_infered: byte[8]
name: parse_data
arguments: tag: D201
type_infered: byte[8]
name: parse_data
arguments: tag: D123
type_infered: byte[8]
name: parse_data
arguments: tag: D160
type_infered: byte[8]
name: parse_data
arguments: tag: D195
type_infered: byte[8]
name: parse_data
arguments: tag: D142
type_infered: byte[8]
name: parse_data
arguments: tag: D50
type_infered: byte[8]
name: parse_data
arguments: tag: D234
type_infered: byte[8]
name: parse_data
arguments: tag: D134
type_infered: byte[8]
name: parse_data
arguments: tag: D181
type_infered: byte[8]
name: parse_data
arguments: tag: D88
type_infered: f64
name: parse_data
arguments: tag: D212
type_infered: f64
name: parse_data
arguments: tag: D118
type_infered: f64
name: parse_data
arguments: tag: D126
type_infered: f64
name: parse_data
arguments: tag: D120
type_infered: f64
name: parse_data
arguments: tag: D39
type_infered: f64
name: parse_data
arguments: tag: D69
type_infered: f64
name: parse_data
arguments: tag: D82
type_infered: f64
name: parse_data
arguments: tag: D100
type_infered: f64
name: parse_data
arguments: tag: D31
type_infered: f64
name: parse_data
arguments: tag: D6
type_infered: string
name: parse_data
arguments: tag: D209
type_infered: string
name: parse_data
arguments: tag: D71
type_infered: string
name: parse_data
arguments: tag: D2
type_infered: string
name: parse_data
arguments: tag: D45
type_infered: string

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

tool: {"D201": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

tool: {"D123": [0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

tool: {"D160": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x40]}

tool: {"D195": [0x00,0x00,0x00,0x00,0x00,0x00,0x14,0x40]}

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

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

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

tool: {"D134": [0x00,0x00,0x00,0x00,0x00,0x00,0x22,0x40]}

tool: {"D181": [0x00,0x00,0x00,0x00,0x00,0x00,0x24,0x40]}

tool: D88: 0.86074211

tool: D212: 2.243673

tool: D118: 2.32922599

tool: D126: 3.5269751

tool: D120: 5.19649183

tool: D39: 4.55875795

tool: D69: 8.6822283

tool: D82: 7.86981641

tool: D100: 9.0570581

tool: D31: 7.766994

tool: D6: y

tool: D209: x

tool: D71: %10s	%10s


tool: D2: %10.2lf	%10.2lf


tool: D45: Slope: %lf, Intercept=%lf, R**2=%lf


assistant: ```c
int main(void) {
  double x[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  double y[10] = {0.86074211, 2.243673, 2.32922599, 3.5269751, 5.19649183, 4.55875795, 8.6822283, 7.86981641, 9.0570581, 7.766994};
  long i;
  double slope, intercept;
  double rsq;
  rsq = CSPL_Regression_TheilSen(x, y, 10, &slope, &intercept);
  printf("%10s\t%10s\n", "x", "y");
  for (i = 0; i < 10; i++) {
    printf("%10.2lf\t%10.2lf\n", x[i], y[i]);
  }
  printf("\n");
  printf("Slope: %lf, Intercept=%lf, R**2=%lf\n", slope, intercept, rsq);
  return (0);
}
```