user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<linear_GRP_solver_LAG>:
  endbr64
  push   %rbp
  movapd %xmm0,%xmm13
  movapd %xmm4,%xmm14
  pxor   %xmm11,%xmm11
  push   %rbx
  mov    %rsi,%rbp
  mov    %rdi,%rbx
  sub    $0xc8,%rsp
  movsd  D71(%rip),%xmm8
  movsd  0x100(%rsp),%xmm9
  movsd  %xmm3,0x68(%rsp)
  movsd  0xe0(%rsp),%xmm3
  movsd  %xmm5,0x18(%rsp)
  movsd  0xe8(%rsp),%xmm10
  movapd %xmm9,%xmm5
  movapd %xmm9,%xmm4
  movapd %xmm9,%xmm0
  movsd  %xmm1,0x8(%rsp)
  mulsd  %xmm3,%xmm5
  addsd  %xmm8,%xmm4
  subsd  %xmm8,%xmm0
  movsd  %xmm2,0x60(%rsp)
  movsd  %xmm6,0x30(%rsp)
  movsd  %xmm7,0x38(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0xb8(%rsp)
  xor    %eax,%eax
  divsd  %xmm4,%xmm0
  movsd  %xmm4,0x58(%rsp)
  divsd  %xmm13,%xmm5
  movsd  %xmm0,0x10(%rsp)
  ucomisd %xmm5,%xmm11
  ja     L113
  sqrtsd %xmm5,%xmm5
L44:
  movapd %xmm9,%xmm6
  mulsd  %xmm10,%xmm6
  divsd  0x8(%rsp),%xmm6
  ucomisd %xmm6,%xmm11
  ja     L50
  sqrtsd %xmm6,%xmm6
L73:
  movsd  0x8(%rsp),%xmm7
  movapd %xmm13,%xmm4
  movsd  0x18(%rsp),%xmm2
  movapd %xmm14,%xmm1
  mulsd  %xmm5,%xmm4
  movapd %xmm9,%xmm0
  lea    0xb0(%rsp),%rdx
  mov    $0x1f4,%ecx
  mulsd  %xmm6,%xmm7
  lea    0xa8(%rsp),%rsi
  lea    0xa0(%rsp),%rdi
  movsd  %xmm13,0x50(%rsp)
  movsd  %xmm5,0x48(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm4,0x20(%rsp)
  movapd %xmm10,%xmm4
  movsd  %xmm7,0x28(%rsp)
  movsd  0x108(%rsp),%xmm7
  movsd  %xmm14,0x40(%rsp)
  movsd  %xmm9,0x100(%rsp)
  call   <Riemann_solver_exact@plt>
  movsd  0x48(%rsp),%xmm5
  movsd  0xa8(%rsp),%xmm12
  pxor   %xmm11,%xmm11
  movsd  0xe0(%rsp),%xmm3
  mov    D71(%rip),%rax
  movsd  0x40(%rsp),%xmm14
  movsd  0x50(%rsp),%xmm13
  comisd %xmm3,%xmm12
  movq   %rax,%xmm8
  movsd  0x100(%rsp),%xmm9
  movsd  0xe8(%rsp),%xmm10
  jbe    L101
  movsd  0x10(%rsp),%xmm7
  comisd %xmm10,%xmm12
  movapd %xmm7,%xmm15
  mulsd  %xmm3,%xmm15
  mulsd  %xmm12,%xmm7
  addsd  %xmm12,%xmm15
  movapd %xmm7,%xmm0
  addsd  %xmm3,%xmm0
  mulsd  %xmm13,%xmm15
  divsd  %xmm0,%xmm15
  jbe    L4
L78:
  movsd  0x10(%rsp),%xmm7
  movapd %xmm7,%xmm6
  mulsd  %xmm10,%xmm6
  mulsd  %xmm12,%xmm7
  addsd  %xmm12,%xmm6
  mulsd  0x8(%rsp),%xmm6
  movapd %xmm7,%xmm0
  addsd  %xmm10,%xmm0
  divsd  %xmm0,%xmm6
L165:
  movapd %xmm12,%xmm7
  movapd %xmm15,%xmm0
  movsd  0xa0(%rsp),%xmm2
  mulsd  %xmm9,%xmm7
  unpcklpd %xmm2,%xmm0
  movups %xmm0,0x0(%rbp)
  movapd %xmm12,%xmm0
  unpcklpd %xmm6,%xmm0
  movups %xmm0,0x10(%rbp)
  movapd %xmm7,%xmm13
  divsd  %xmm15,%xmm13
  ucomisd %xmm13,%xmm11
  ja     L100
  sqrtsd %xmm13,%xmm13
L99:
  divsd  %xmm6,%xmm7
  ucomisd %xmm7,%xmm11
  ja     L91
  sqrtsd %xmm7,%xmm7
L54:
  subsd  %xmm10,%xmm3
  mulsd  %xmm7,%xmm6
  movapd %xmm14,%xmm1
  subsd  0x18(%rsp),%xmm1
  mulsd  %xmm13,%xmm15
  mulsd  %xmm3,%xmm3
  mulsd  %xmm1,%xmm1
  addsd  %xmm3,%xmm1
  ucomisd %xmm1,%xmm11
  ja     L110
  sqrtsd %xmm1,%xmm1
L0:
  movsd  0x108(%rsp),%xmm0
  movapd %xmm8,%xmm14
  mulsd  D90(%rip),%xmm0
  divsd  %xmm15,%xmm14
  comisd %xmm1,%xmm0
  jbe    L121
  movapd %xmm8,%xmm12
  movq   D37(%rip),%xmm2
  movsd  0x20(%rsp),%xmm5
  movapd %xmm14,%xmm4
  movsd  0x28(%rsp),%xmm0
  movsd  0x30(%rsp),%xmm1
  xorpd  %xmm2,%xmm4
  movsd  D31(%rip),%xmm3
  mulsd  %xmm5,%xmm1
  addsd  0xf0(%rsp),%xmm1
  mulsd  %xmm4,%xmm5
  mulsd  %xmm5,%xmm1
  divsd  %xmm6,%xmm12
  xorpd  %xmm12,%xmm2
  mulsd  %xmm0,%xmm2
  mulsd  0x38(%rsp),%xmm0
  subsd  0xf8(%rsp),%xmm0
  mulsd  %xmm0,%xmm2
L185:
  mulsd  %xmm1,%xmm3
  movapd %xmm4,%xmm0
  subsd  %xmm12,%xmm0
  mulsd  %xmm12,%xmm1
  subsd  %xmm4,%xmm12
  subsd  %xmm2,%xmm3
  mulsd  %xmm14,%xmm2
  divsd  %xmm0,%xmm3
  movapd %xmm8,%xmm0
  subsd  %xmm2,%xmm1
  divsd  %xmm13,%xmm0
  divsd  %xmm7,%xmm8
  divsd  %xmm13,%xmm0
  divsd  %xmm7,%xmm8
  mulsd  %xmm3,%xmm0
  divsd  %xmm12,%xmm1
  mulsd  %xmm3,%xmm8
  unpcklpd %xmm8,%xmm3
  movups %xmm3,0x10(%rbx)
  unpcklpd %xmm1,%xmm0
  movups %xmm0,(%rbx)
  mov    0xb8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L140
  add    $0xc8,%rsp
  pop    %rbx
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L101:
  movapd %xmm12,%xmm0
  movq   %rax,%xmm1
  movsd  %xmm10,0xe8(%rsp)
  divsd  %xmm3,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm13,0x50(%rsp)
  movsd  %xmm5,0x48(%rsp)
  movsd  %xmm12,0x40(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm9,0x100(%rsp)
  divsd  %xmm9,%xmm1
  call   <pow@plt>
  movsd  0x50(%rsp),%xmm13
  movsd  0xe8(%rsp),%xmm10
  pxor   %xmm11,%xmm11
  movsd  0x40(%rsp),%xmm12
  mov    D71(%rip),%rax
  mulsd  %xmm13,%xmm0
  movsd  0x70(%rsp),%xmm14
  movsd  0x48(%rsp),%xmm5
  comisd %xmm10,%xmm12
  movq   %rax,%xmm8
  movsd  0xe0(%rsp),%xmm3
  movsd  0x100(%rsp),%xmm9
  movapd %xmm0,%xmm15
  ja     L78
L4:
  movapd %xmm12,%xmm0
  movapd %xmm8,%xmm1
  movsd  %xmm3,0xe0(%rsp)
  divsd  %xmm10,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm5,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm12,0x40(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm9,0x100(%rsp)
  divsd  %xmm9,%xmm1
  call   <pow@plt>
  movsd  0x8(%rsp),%xmm6
  pxor   %xmm11,%xmm11
  mov    D71(%rip),%rax
  movsd  0xe0(%rsp),%xmm3
  movsd  0x70(%rsp),%xmm14
  mulsd  %xmm0,%xmm6
  movsd  0x50(%rsp),%xmm5
  movsd  0x48(%rsp),%xmm15
  movq   %rax,%xmm8
  movsd  0x40(%rsp),%xmm12
  movsd  0xe8(%rsp),%xmm10
  movsd  0x100(%rsp),%xmm9
  jmp    L165
  nop
L121:
  mulsd  D178(%rip),%xmm9
  movapd %xmm15,%xmm0
  movsd  D114(%rip),%xmm4
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm14,0x98(%rsp)
  divsd  0x20(%rsp),%xmm0
  movsd  %xmm6,0x90(%rsp)
  movsd  %xmm7,0x88(%rsp)
  movsd  %xmm13,0x80(%rsp)
  subsd  %xmm8,%xmm9
  movsd  %xmm5,0x78(%rsp)
  movsd  %xmm2,0x70(%rsp)
  movsd  %xmm12,0x50(%rsp)
  movapd %xmm9,%xmm1
  movsd  %xmm9,0x48(%rsp)
  mulsd  %xmm4,%xmm1
  movsd  %xmm15,0x40(%rsp)
  divsd  0x58(%rsp),%xmm1
  call   <pow@plt>
  pxor   %xmm11,%xmm11
  mov    D71(%rip),%rax
  movsd  0x20(%rsp),%xmm2
  movsd  0x48(%rsp),%xmm9
  movq   %rax,%xmm1
  movsd  0x78(%rsp),%xmm5
  movsd  0xf0(%rsp),%xmm3
  movq   %rax,%xmm8
  divsd  %xmm2,%xmm1
  movsd  0x40(%rsp),%xmm15
  subsd  %xmm8,%xmm0
  mov    D114(%rip),%rax
  mulsd  %xmm5,%xmm5
  movsd  0x50(%rsp),%xmm12
  movsd  0x80(%rsp),%xmm13
  mulsd  0x60(%rsp),%xmm5
  movq   %rax,%xmm4
  movsd  0x88(%rsp),%xmm7
  subsd  0xf0(%rsp),%xmm5
  movsd  0x90(%rsp),%xmm6
  movsd  0x98(%rsp),%xmm14
  movsd  0xe8(%rsp),%xmm10
  divsd  %xmm2,%xmm3
  mulsd  %xmm15,%xmm2
  ucomisd %xmm2,%xmm11
  divsd  %xmm9,%xmm1
  addsd  0x30(%rsp),%xmm3
  mulsd  %xmm5,%xmm1
  mulsd  %xmm0,%xmm1
  movapd %xmm2,%xmm0
  movsd  0x70(%rsp),%xmm2
  addsd  %xmm3,%xmm1
  ja     L148
  sqrtsd %xmm0,%xmm0
L88:
  movapd %xmm12,%xmm5
  subsd  0x18(%rsp),%xmm2
  movq   D37(%rip),%xmm9
  subsd  %xmm10,%xmm5
  mulsd  0x10(%rsp),%xmm10
  xorpd  %xmm9,%xmm0
  mulsd  %xmm0,%xmm1
  movapd %xmm2,%xmm0
  mulsd  0x8(%rsp),%xmm0
  movapd %xmm5,%xmm11
  movapd %xmm5,%xmm15
  divsd  %xmm2,%xmm11
  mulsd  %xmm4,%xmm15
  addsd  %xmm12,%xmm10
  mulsd  %xmm4,%xmm0
  movapd %xmm15,%xmm3
  divsd  %xmm10,%xmm3
  movapd %xmm11,%xmm12
  addsd  %xmm11,%xmm0
  xorpd  %xmm9,%xmm12
  divsd  %xmm6,%xmm12
  movapd %xmm3,%xmm2
  movsd  D169(%rip),%xmm3
  subsd  %xmm2,%xmm3
  movapd %xmm3,%xmm2
  subsd  %xmm8,%xmm2
  divsd  %xmm11,%xmm2
  divsd  %xmm6,%xmm12
  movsd  0x28(%rsp),%xmm6
  mulsd  %xmm6,%xmm6
  divsd  %xmm11,%xmm6
  subsd  %xmm2,%xmm12
  movsd  0x10(%rsp),%xmm2
  mulsd  %xmm5,%xmm2
  mulsd  %xmm4,%xmm2
  mulsd  0x10(%rsp),%xmm4
  divsd  %xmm10,%xmm2
  mulsd  %xmm5,%xmm4
  divsd  %xmm10,%xmm4
  addsd  %xmm8,%xmm2
  mulsd  %xmm6,%xmm2
  addsd  %xmm0,%xmm2
  mulsd  0x38(%rsp),%xmm2
  movapd %xmm15,%xmm0
  xorpd  %xmm9,%xmm0
  divsd  0x8(%rsp),%xmm0
  mulsd  0x68(%rsp),%xmm0
  addsd  D169(%rip),%xmm4
  mulsd  0xf8(%rsp),%xmm4
  subsd  %xmm4,%xmm2
  movapd %xmm3,%xmm4
  mulsd  %xmm14,%xmm4
  addsd  %xmm0,%xmm2
  jmp    L185
L50:
  movapd %xmm6,%xmm0
  movsd  %xmm14,0x40(%rsp)
  movsd  %xmm9,0x100(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm13,0x28(%rsp)
  movsd  %xmm5,0x20(%rsp)
  call   <sqrt@plt>
  movsd  0x40(%rsp),%xmm14
  movsd  0x100(%rsp),%xmm9
  movsd  0xe8(%rsp),%xmm10
  movsd  0x20(%rsp),%xmm5
  movapd %xmm0,%xmm6
  movsd  0xe0(%rsp),%xmm3
  movsd  0x28(%rsp),%xmm13
  jmp    L73
L113:
  movapd %xmm5,%xmm0
  movsd  %xmm14,0x28(%rsp)
  movsd  %xmm9,0x100(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm13,0x20(%rsp)
  call   <sqrt@plt>
  movsd  0x28(%rsp),%xmm14
  pxor   %xmm11,%xmm11
  movsd  0x100(%rsp),%xmm9
  movsd  0xe8(%rsp),%xmm10
  movsd  0x20(%rsp),%xmm13
  movapd %xmm0,%xmm5
  movsd  0xe0(%rsp),%xmm3
  jmp    L44
L100:
  movapd %xmm13,%xmm0
  movsd  %xmm6,0x78(%rsp)
  movsd  %xmm9,0x100(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm14,0x88(%rsp)
  movsd  %xmm5,0x80(%rsp)
  movsd  %xmm15,0x70(%rsp)
  movsd  %xmm7,0x50(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm12,0x40(%rsp)
  call   <sqrt@plt>
  movsd  0x78(%rsp),%xmm6
  pxor   %xmm11,%xmm11
  mov    D71(%rip),%rax
  movsd  0x100(%rsp),%xmm9
  movsd  0x50(%rsp),%xmm7
  movapd %xmm0,%xmm13
  movsd  0xe8(%rsp),%xmm10
  movsd  0x70(%rsp),%xmm15
  movq   %rax,%xmm8
  movsd  0xe0(%rsp),%xmm3
  movsd  0x48(%rsp),%xmm2
  movsd  0x80(%rsp),%xmm5
  movsd  0x40(%rsp),%xmm12
  movsd  0x88(%rsp),%xmm14
  jmp    L99
L110:
  movapd %xmm1,%xmm0
  movsd  %xmm7,0x78(%rsp)
  movsd  %xmm9,0x100(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm15,0x88(%rsp)
  movsd  %xmm6,0x80(%rsp)
  movsd  %xmm13,0x70(%rsp)
  movsd  %xmm5,0x50(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm12,0x40(%rsp)
  call   <sqrt@plt>
  mov    D71(%rip),%rax
  movsd  0x100(%rsp),%xmm9
  movsd  0x78(%rsp),%xmm7
  movsd  0x50(%rsp),%xmm5
  movapd %xmm0,%xmm1
  movsd  0xe8(%rsp),%xmm10
  movsd  0x70(%rsp),%xmm13
  movq   %rax,%xmm8
  movsd  0x88(%rsp),%xmm15
  movsd  0x48(%rsp),%xmm2
  movsd  0x80(%rsp),%xmm6
  movsd  0x40(%rsp),%xmm12
  jmp    L0
L91:
  movapd %xmm7,%xmm0
  movsd  %xmm5,0x78(%rsp)
  movsd  %xmm9,0x100(%rsp)
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm3,0xe0(%rsp)
  movsd  %xmm14,0x88(%rsp)
  movsd  %xmm13,0x80(%rsp)
  movsd  %xmm6,0x70(%rsp)
  movsd  %xmm15,0x50(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm12,0x40(%rsp)
  call   <sqrt@plt>
  movsd  0x78(%rsp),%xmm5
  mov    D71(%rip),%rax
  pxor   %xmm11,%xmm11
  movsd  0x100(%rsp),%xmm9
  movsd  0x70(%rsp),%xmm6
  movapd %xmm0,%xmm7
  movsd  0xe8(%rsp),%xmm10
  movsd  0x48(%rsp),%xmm2
  movq   %rax,%xmm8
  movsd  0xe0(%rsp),%xmm3
  movsd  0x50(%rsp),%xmm15
  movsd  0x88(%rsp),%xmm14
  movsd  0x40(%rsp),%xmm12
  movsd  0x80(%rsp),%xmm13
  jmp    L54
L140:
  call   <__stack_chk_fail@plt>
L148:
  movsd  %xmm10,0xe8(%rsp)
  movsd  %xmm14,0x60(%rsp)
  movsd  %xmm1,0x58(%rsp)
  movsd  %xmm6,0x50(%rsp)
  movsd  %xmm7,0x48(%rsp)
  movsd  %xmm13,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm12,0x20(%rsp)
  call   <sqrt@plt>
  mov    D114(%rip),%rax
  movsd  0xe8(%rsp),%xmm10
  movsd  0x60(%rsp),%xmm14
  movsd  0x58(%rsp),%xmm1
  movq   %rax,%xmm4
  mov    D71(%rip),%rax
  movsd  0x50(%rsp),%xmm6
  movsd  0x48(%rsp),%xmm7
  movsd  0x40(%rsp),%xmm13
  movsd  0x30(%rsp),%xmm2
  movsd  0x20(%rsp),%xmm12
  movq   %rax,%xmm8
  jmp    L88
```

tool_calls: name: retrieve_data
arguments: data_label: D71
data_type: f64
name: retrieve_data
arguments: data_label: D90
data_type: byte[8]
name: retrieve_data
arguments: data_label: D37
data_type: byte[8]
name: retrieve_data
arguments: data_label: D31
data_type: byte[8]
name: retrieve_data
arguments: data_label: D178
data_type: f64
name: retrieve_data
arguments: data_label: D114
data_type: f64
name: retrieve_data
arguments: data_label: D169
data_type: f64

tool: D71: 1

tool: {"D90": [0x00,0x00,0x00,0x00,0x00,0x40,0x8f,0x40]}

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

tool: {"D31": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

tool: D178: 3

tool: D114: 0.5

tool: D169: 2

assistant: ```c
void linear_GRP_solver_LAG(double *direvative, double *mid, double rho_L, double rho_R, double s_rho_L, double s_rho_R, double u_L, double u_R, double s_u_L, double s_u_R, double p_L, double p_R, double s_p_L, double s_p_R, double gamma, double eps) {
  double dist;
  int CRW[2];
  double c_L, c_R, g_L, g_R;
  double rho_star, u_star, p_star, rho_star_L, rho_star_R, c_star_L, c_star_R, g_star_L, g_star_R, beta_star;
  double a_L, b_L, d_L, a_R, b_R, d_R, L_rho, L_u, L_p, sigma;
  double zeta = (gamma - 1.0) / (gamma + 1.0);
  c_L = sqrt(gamma * p_L / rho_L);
  c_R = sqrt(gamma * p_R / rho_R);
  g_L = rho_L * c_L;
  g_R = rho_R * c_R;
  Riemann_solver_exact(&u_star, &p_star, gamma, u_L, u_R, p_L, p_R, c_L, c_R, CRW, eps, 500);
  if (p_star > p_L)
    rho_star_L = rho_L * (p_star + zeta * p_L) / (p_L + zeta * p_star);
  else
    rho_star_L = rho_L * pow(p_star / p_L, 1.0 / gamma);
  if (p_star > p_R)
    rho_star_R = rho_R * (p_star + zeta * p_R) / (p_R + zeta * p_star);
  else
    rho_star_R = rho_R * pow(p_star / p_R, 1.0 / gamma);
  mid[1] = u_star;
  mid[2] = p_star;
  mid[0] = rho_star_L;
  mid[3] = rho_star_R;
  c_star_L = sqrt(gamma * p_star / rho_star_L);
  c_star_R = sqrt(gamma * p_star / rho_star_R);
  g_star_R = rho_star_R * c_star_R;
  g_star_L = rho_star_L * c_star_L;
  beta_star = g_star_L / g_L;
  dist = sqrt((u_L - u_R) * (u_L - u_R) + (p_L - p_R) * (p_L - p_R));
  if ((dist < eps * 1000)) {
    a_L = 1.0;
    b_L = 1.0 / g_star_L;
    d_L = -1.0 / g_star_L * g_L * (g_L * s_u_L + s_p_L);
    a_R = -1.0;
    b_R = 1.0 / g_star_R;
    d_R = -1.0 / g_star_R * g_R * (g_R * s_u_R - s_p_R);
  } else {
    a_L = 1.0;
    b_L = 1.0 / g_star_L;
    d_L = (s_u_L + s_p_L / g_L) + 1.0 / g_L / (3.0 * gamma - 1.0) * (c_L * c_L * s_rho_L - s_p_L) * (pow(beta_star, (3.0 * gamma - 1.0) / 2.0 / (gamma + 1.0)) - 1.0);
    d_L = (-1.0) * sqrt(g_L * g_star_L) * d_L;
    sigma = (p_star - p_R) / (u_star - u_R);
    a_R = 2.0 - 0.5 * (p_star - p_R) / (p_star + zeta * p_R);
    b_R = -1.0 * sigma / g_star_R / g_star_R - (a_R - 1) / sigma;
    L_rho = -1.0 * (p_star - p_R) / 2.0 / rho_R;
    L_u = sigma + rho_R * (u_star - u_R) / 2.0 + g_R * g_R / sigma * (1.0 + zeta * (p_star - p_R) / 2.0 / (p_star + zeta * p_R));
    L_p = -1.0 * (2 + zeta / 2.0 * (p_star - p_R) / (p_star + zeta * p_R));
    d_R = L_u * s_u_R + L_p * s_p_R + L_rho * s_rho_R;
  }
  direvative[1] = (d_L * b_R - d_R * b_L) / (a_L * b_R - a_R * b_L);
  direvative[2] = (d_L * a_R - d_R * a_L) / (b_L * a_R - b_R * a_L);
  direvative[0] = 1.0 / c_star_L / c_star_L * direvative[2];
  direvative[3] = 1.0 / c_star_R / c_star_R * direvative[2];
}
```