user: 请将以下的汇编代码转换成C语言代码:

```asm
<matrix_rotate_y>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %rdi,-0x18(%rbp)
  movsd  %xmm0,-0x20(%rbp)
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D38(%rip),%xmm0
  movq   %rax,%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x40,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  addsd  -0x28(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm3
  mulsd  -0x8(%rbp),%xmm3
  movsd  %xmm3,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x40,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x40,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  0x8(%rax),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D38(%rip),%xmm0
  movq   %rax,%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x48,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm5
  mulsd  -0x8(%rbp),%xmm5
  movsd  %xmm5,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x48,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x48,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  0x10(%rax),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D38(%rip),%xmm0
  movq   %rax,%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x50,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x10,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm7
  mulsd  -0x8(%rbp),%xmm7
  movsd  %xmm7,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x50,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x50,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x18(%rbp),%rax
  movsd  0x18(%rax),%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   D38(%rip),%xmm0
  movq   %rax,%xmm1
  xorpd  %xmm0,%xmm1
  mov    -0x18(%rbp),%rax
  add    $0x58,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x18,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm4
  mulsd  -0x8(%rbp),%xmm4
  movsd  %xmm4,-0x28(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  mov    -0x18(%rbp),%rax
  add    $0x58,%rax
  movsd  (%rax),%xmm1
  mulsd  %xmm1,%xmm0
  mov    -0x18(%rbp),%rax
  add    $0x58,%rax
  addsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D38
data_type: byte[8]

tool: {"D38": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80]}

assistant: ```c
void matrix_rotate_y(double *a, double degree) {
  double temp;
  temp = a[0];
  a[0] = (cos(degree) * a[0]) + (-sin(degree) * a[8]);
  a[8] = (sin(degree) * temp) + (cos(degree) * a[8]);
  temp = a[1];
  a[1] = (cos(degree) * a[1]) + (-sin(degree) * a[9]);
  a[9] = (sin(degree) * temp) + (cos(degree) * a[9]);
  temp = a[2];
  a[2] = (cos(degree) * a[2]) + (-sin(degree) * a[10]);
  a[10] = (sin(degree) * temp) + (cos(degree) * a[10]);
  temp = a[3];
  a[3] = (cos(degree) * a[3]) + (-sin(degree) * a[11]);
  a[11] = (sin(degree) * temp) + (cos(degree) * a[11]);
}
```