user: Translate the below assembly code into C programming language:

```asm
<ROE_2D_solver>:
  endbr64
  push   %rbp
  movapd %xmm0,%xmm13
  movapd %xmm3,%xmm10
  movapd %xmm1,%xmm15
  push   %rbx
  movapd %xmm7,%xmm14
  movapd %xmm5,%xmm7
  movapd %xmm4,%xmm11
  unpcklpd %xmm7,%xmm7
  unpcklpd %xmm11,%xmm11
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  movapd %xmm6,%xmm12
  sub    $0xb8,%rsp
  unpcklpd %xmm12,%xmm12
  subsd  D105(%rip),%xmm13
  movsd  0xd0(%rsp),%xmm1
  movsd  %xmm3,0x10(%rsp)
  mulsd  %xmm3,%xmm3
  movsd  0xe0(%rsp),%xmm9
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  movaps %xmm7,(%rsp)
  movsd  0xd8(%rsp),%xmm8
  divsd  %xmm13,%xmm0
  movsd  %xmm13,0x28(%rsp)
  movapd %xmm4,%xmm13
  mulsd  %xmm4,%xmm13
  movaps %xmm12,0x30(%rsp)
  mulsd  %xmm9,%xmm9
  mulsd  %xmm1,%xmm8
  addsd  %xmm13,%xmm3
  mulsd  D29(%rip),%xmm3
  movapd %xmm0,%xmm13
  mulsd  %xmm15,%xmm13
  mulsd  %xmm14,%xmm0
  movapd %xmm13,%xmm7
  movsd  0xd8(%rsp),%xmm13
  divsd  %xmm2,%xmm7
  mulsd  %xmm8,%xmm13
  divsd  %xmm1,%xmm0
  addsd  %xmm7,%xmm3
  movapd %xmm10,%xmm7
  mulsd  %xmm2,%xmm7
  movsd  %xmm3,0x18(%rsp)
  movsd  0xd8(%rsp),%xmm3
  mulsd  %xmm3,%xmm3
  mulsd  %xmm7,%xmm10
  addsd  %xmm9,%xmm3
  mulsd  D29(%rip),%xmm3
  addsd  %xmm15,%xmm10
  addsd  %xmm13,%xmm10
  movsd  0xe0(%rsp),%xmm13
  addsd  %xmm14,%xmm10
  addsd  %xmm0,%xmm3
  movapd %xmm2,%xmm0
  unpcklpd %xmm7,%xmm0
  mulpd  %xmm11,%xmm0
  movapd %xmm1,%xmm11
  unpcklpd %xmm8,%xmm11
  movsd  %xmm3,0x20(%rsp)
  movapd %xmm7,%xmm3
  unpcklpd %xmm7,%xmm7
  movapd %xmm11,%xmm12
  addsd  %xmm8,%xmm3
  unpcklpd %xmm8,%xmm8
  movsd  0xe0(%rsp),%xmm11
  unpcklpd %xmm11,%xmm11
  mulpd  %xmm11,%xmm12
  movapd %xmm0,%xmm9
  unpcklpd %xmm10,%xmm3
  movapd D29(%rip),%xmm10
  mulpd  %xmm10,%xmm3
  mulpd  (%rsp),%xmm3
  addpd  %xmm12,%xmm0
  movapd %xmm12,%xmm11
  movapd 0x30(%rsp),%xmm12
  mulsd  %xmm11,%xmm13
  mulpd  %xmm10,%xmm0
  mulpd  %xmm12,%xmm0
  addpd  %xmm0,%xmm3
  movapd %xmm4,%xmm0
  mulsd  %xmm9,%xmm0
  movups %xmm3,(%rdi)
  movsd  0x20(%rsp),%xmm3
  mulsd  %xmm3,%xmm11
  addsd  %xmm15,%xmm0
  addsd  %xmm13,%xmm0
  movsd  0x18(%rsp),%xmm13
  mulsd  %xmm13,%xmm9
  addsd  %xmm14,%xmm0
  addsd  %xmm11,%xmm9
  unpcklpd %xmm9,%xmm0
  movsd  0xe0(%rsp),%xmm9
  mulpd  %xmm10,%xmm0
  unpcklpd %xmm3,%xmm9
  movapd %xmm4,%xmm3
  mulpd  %xmm9,%xmm8
  unpcklpd %xmm13,%xmm3
  mulpd  %xmm7,%xmm3
  pxor   %xmm7,%xmm7
  mulpd  %xmm12,%xmm0
  addpd  %xmm3,%xmm8
  mulpd  %xmm10,%xmm8
  mulpd  (%rsp),%xmm8
  addpd  %xmm8,%xmm0
  movups %xmm0,0x10(%rdi)
  movapd %xmm2,%xmm0
  mulsd  %xmm1,%xmm0
  ucomisd %xmm0,%xmm7
  ja     L221
  sqrtsd %xmm0,%xmm0
  movsd  %xmm0,(%rsp)
L280:
  ucomisd %xmm2,%xmm7
  ja     L124
  movapd %xmm2,%xmm8
  sqrtsd %xmm8,%xmm8
L47:
  mulsd  0x10(%rsp),%xmm8
  ucomisd %xmm1,%xmm7
  ja     L222
  movapd %xmm1,%xmm3
  sqrtsd %xmm3,%xmm3
L19:
  mulsd  0xd8(%rsp),%xmm3
  ucomisd %xmm2,%xmm7
  addsd  %xmm8,%xmm3
  ja     L117
  movapd %xmm2,%xmm8
  sqrtsd %xmm8,%xmm8
L158:
  ucomisd %xmm1,%xmm7
  ja     L278
  movapd %xmm1,%xmm0
  sqrtsd %xmm0,%xmm0
L67:
  addsd  %xmm8,%xmm0
  ucomisd %xmm2,%xmm7
  divsd  %xmm0,%xmm3
  ja     L42
  movapd %xmm2,%xmm9
  sqrtsd %xmm9,%xmm9
L263:
  mulsd  %xmm4,%xmm9
  ucomisd %xmm1,%xmm7
  ja     L60
  movapd %xmm1,%xmm8
  sqrtsd %xmm8,%xmm8
L33:
  mulsd  0xe0(%rsp),%xmm8
  ucomisd %xmm2,%xmm7
  addsd  %xmm9,%xmm8
  ja     L224
  movapd %xmm2,%xmm9
  sqrtsd %xmm9,%xmm9
L252:
  ucomisd %xmm1,%xmm7
  ja     L210
  movapd %xmm1,%xmm0
  sqrtsd %xmm0,%xmm0
L131:
  addsd  %xmm9,%xmm0
  ucomisd %xmm2,%xmm7
  divsd  %xmm0,%xmm8
  ja     L205
  movapd %xmm2,%xmm10
  sqrtsd %xmm10,%xmm10
L281:
  mulsd  0x18(%rsp),%xmm10
  ucomisd %xmm1,%xmm7
  ja     L95
  movapd %xmm1,%xmm0
  sqrtsd %xmm0,%xmm0
L180:
  movsd  0x20(%rsp),%xmm9
  ucomisd %xmm2,%xmm7
  mulsd  %xmm0,%xmm9
  addsd  %xmm10,%xmm9
  ja     L61
  movapd %xmm2,%xmm10
  sqrtsd %xmm10,%xmm10
L20:
  ucomisd %xmm1,%xmm7
  ja     L109
  movapd %xmm1,%xmm0
  sqrtsd %xmm0,%xmm0
L266:
  addsd  %xmm10,%xmm0
  movsd  D29(%rip),%xmm10
  mulsd  %xmm3,%xmm10
  divsd  %xmm0,%xmm9
  mulsd  %xmm3,%xmm10
  movapd %xmm9,%xmm0
  subsd  %xmm10,%xmm0
  movsd  D29(%rip),%xmm10
  mulsd  %xmm8,%xmm10
  mulsd  %xmm8,%xmm10
  subsd  %xmm10,%xmm0
  mulsd  0x28(%rsp),%xmm0
  ucomisd %xmm0,%xmm7
  ja     L219
  sqrtsd %xmm0,%xmm0
L250:
  movapd %xmm6,%xmm11
  movapd %xmm5,%xmm10
  movapd %xmm5,%xmm12
  mulsd  %xmm8,%xmm11
  movapd %xmm3,%xmm13
  subsd  %xmm15,%xmm14
  movsd  0x10(%rsp),%xmm15
  mulsd  %xmm3,%xmm10
  subsd  %xmm2,%xmm1
  mulsd  %xmm8,%xmm12
  mulsd  %xmm5,%xmm15
  addsd  %xmm11,%xmm10
  movapd %xmm3,%xmm11
  mulsd  %xmm6,%xmm11
  subsd  %xmm11,%xmm12
  movapd %xmm5,%xmm11
  mulsd  %xmm0,%xmm11
  movsd  %xmm12,0x20(%rsp)
  movapd %xmm9,%xmm12
  subsd  %xmm11,%xmm13
  addsd  %xmm3,%xmm11
  movq   %xmm11,%rsi
  movapd %xmm6,%xmm11
  movq   %xmm13,%rdi
  mulsd  %xmm0,%xmm11
  movapd %xmm6,%xmm13
  xorpd  D132(%rip),%xmm13
  movq   %xmm13,%rcx
  movapd %xmm8,%xmm13
  subsd  %xmm11,%xmm13
  addsd  %xmm8,%xmm11
  movq   %xmm13,%rax
  movapd %xmm10,%xmm13
  movq   %xmm11,%rdx
  mulsd  %xmm0,%xmm13
  movapd %xmm3,%xmm11
  mulsd  %xmm3,%xmm11
  subsd  %xmm13,%xmm12
  addsd  %xmm9,%xmm13
  movapd %xmm14,%xmm9
  movsd  0xe0(%rsp),%xmm14
  movapd %xmm9,%xmm2
  mulsd  %xmm6,%xmm14
  movsd  %xmm12,0x18(%rsp)
  movapd %xmm8,%xmm12
  mulsd  %xmm8,%xmm12
  addsd  %xmm12,%xmm11
  movsd  0xd8(%rsp),%xmm12
  mulsd  D29(%rip),%xmm11
  mulsd  %xmm5,%xmm12
  addsd  %xmm14,%xmm12
  movapd %xmm4,%xmm14
  mulsd  %xmm6,%xmm14
  mulsd  %xmm5,%xmm4
  addsd  %xmm15,%xmm14
  movapd %xmm0,%xmm15
  mulsd  %xmm0,%xmm15
  subsd  %xmm14,%xmm12
  movsd  (%rsp),%xmm14
  mulsd  %xmm0,%xmm14
  divsd  %xmm15,%xmm2
  mulsd  %xmm14,%xmm12
  movapd %xmm9,%xmm14
  subsd  %xmm12,%xmm14
  addsd  %xmm12,%xmm9
  movsd  0xd8(%rsp),%xmm12
  mulsd  D29(%rip),%xmm14
  mulsd  D29(%rip),%xmm9
  mulsd  %xmm6,%xmm12
  mulsd  0x10(%rsp),%xmm6
  subsd  %xmm6,%xmm4
  movq   D101(%rip),%xmm6
  divsd  %xmm15,%xmm14
  subsd  %xmm2,%xmm1
  movsd  0xe0(%rsp),%xmm2
  mulsd  %xmm5,%xmm2
  subsd  %xmm12,%xmm2
  movapd %xmm10,%xmm12
  andpd  %xmm6,%xmm12
  subsd  %xmm4,%xmm2
  mulsd  (%rsp),%xmm2
  divsd  %xmm15,%xmm9
  movapd %xmm10,%xmm15
  addsd  %xmm0,%xmm10
  subsd  %xmm0,%xmm15
  movsd  0xe8(%rsp),%xmm0
  movapd %xmm15,%xmm4
  andpd  %xmm6,%xmm4
  andpd  %xmm10,%xmm6
  movsd  %xmm4,0x80(%rsp)
  comisd %xmm4,%xmm0
  movsd  %xmm6,0x90(%rsp)
  jbe    L175
  mulsd  %xmm15,%xmm15
  movapd %xmm0,%xmm4
  mulsd  %xmm0,%xmm4
  movsd  D29(%rip),%xmm0
  divsd  0xe8(%rsp),%xmm0
  addsd  %xmm15,%xmm4
  mulsd  %xmm0,%xmm4
  movsd  %xmm4,0x80(%rsp)
L175:
  movsd  0xe8(%rsp),%xmm0
  comisd %xmm6,%xmm0
  jbe    L292
  mulsd  %xmm10,%xmm10
  movapd %xmm0,%xmm6
  mulsd  %xmm0,%xmm6
  movsd  D29(%rip),%xmm0
  divsd  0xe8(%rsp),%xmm0
  addsd  %xmm10,%xmm6
  mulsd  %xmm0,%xmm6
  movsd  %xmm6,0x90(%rsp)
L292:
  movsd  D26(%rip),%xmm0
  movapd %xmm12,%xmm10
  mulsd  %xmm0,%xmm10
  mulsd  %xmm0,%xmm4
  mulsd  %xmm6,%xmm0
  mulsd  %xmm10,%xmm1
  mulsd  %xmm14,%xmm4
  mulsd  %xmm2,%xmm10
  movapd %xmm7,%xmm2
  maxsd  0x80(%rsp),%xmm2
  mulsd  %xmm9,%xmm0
  movsd  %xmm2,0x0(%rbp)
  movsd  (%rbx),%xmm2
  mulsd  %xmm1,%xmm3
  mulsd  %xmm1,%xmm8
  addsd  %xmm4,%xmm2
  mulsd  %xmm10,%xmm7
  mulsd  %xmm10,%xmm5
  mulsd  %xmm1,%xmm11
  addsd  %xmm1,%xmm2
  mulsd  %xmm0,%xmm13
  addsd  %xmm0,%xmm2
  addsd  %xmm7,%xmm2
  movsd  %xmm2,(%rbx)
  movsd  0x0(%rbp),%xmm2
  maxsd  %xmm12,%xmm2
  movsd  %xmm2,0x0(%rbp)
  movq   %rdi,%xmm2
  mulsd  %xmm4,%xmm2
  addsd  0x8(%rbx),%xmm2
  addsd  %xmm2,%xmm3
  movq   %rsi,%xmm2
  mulsd  %xmm0,%xmm2
  addsd  %xmm2,%xmm3
  movq   %rcx,%xmm2
  mulsd  %xmm10,%xmm2
  addsd  %xmm2,%xmm3
  movsd  %xmm3,0x8(%rbx)
  movsd  0x0(%rbp),%xmm2
  maxsd  0x90(%rsp),%xmm2
  movsd  %xmm2,0x0(%rbp)
  movq   %rax,%xmm2
  mulsd  %xmm4,%xmm2
  addsd  0x10(%rbx),%xmm2
  addsd  %xmm2,%xmm8
  movq   %rdx,%xmm2
  mulsd  %xmm0,%xmm2
  movsd  0x20(%rsp),%xmm0
  mulsd  %xmm10,%xmm0
  addsd  %xmm2,%xmm8
  addsd  %xmm5,%xmm8
  movsd  %xmm8,0x10(%rbx)
  movsd  0x0(%rbp),%xmm2
  maxsd  %xmm12,%xmm2
  movsd  %xmm2,0x0(%rbp)
  movsd  0x18(%rsp),%xmm2
  mulsd  %xmm4,%xmm2
  addsd  0x18(%rbx),%xmm2
  addsd  %xmm2,%xmm11
  addsd  %xmm11,%xmm13
  addsd  %xmm0,%xmm13
  movsd  %xmm13,0x18(%rbx)
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L32
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  ret
L221:
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm14,0x60(%rsp)
  movsd  %xmm6,0x58(%rsp)
  movsd  %xmm5,0x50(%rsp)
  movsd  %xmm4,0x48(%rsp)
  movsd  %xmm2,0x40(%rsp)
  movsd  %xmm15,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x60(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x58(%rsp),%xmm6
  movsd  0x50(%rsp),%xmm5
  movsd  %xmm0,(%rsp)
  movsd  0x48(%rsp),%xmm4
  movsd  0x40(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm15
  jmp    L280
L32:
  call   <__stack_chk_fail@plt>
L219:
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm14,0x60(%rsp)
  movsd  %xmm6,0x58(%rsp)
  movsd  %xmm5,0x50(%rsp)
  movsd  %xmm4,0x48(%rsp)
  movsd  %xmm2,0x40(%rsp)
  movsd  %xmm15,0x30(%rsp)
  movsd  %xmm9,0x28(%rsp)
  movsd  %xmm8,0x20(%rsp)
  movsd  %xmm3,0x18(%rsp)
  call   <sqrt@plt>
  movsd  0x60(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x58(%rsp),%xmm6
  movsd  0x50(%rsp),%xmm5
  movsd  0x48(%rsp),%xmm4
  movsd  0x40(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm15
  movsd  0x28(%rsp),%xmm9
  movsd  0x20(%rsp),%xmm8
  movsd  0x18(%rsp),%xmm3
  jmp    L250
L109:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm10,0x20(%rsp)
  movsd  %xmm9,0x18(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movsd  0x58(%rsp),%xmm4
  movsd  0x50(%rsp),%xmm2
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm8
  movsd  0x30(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm10
  movsd  0x18(%rsp),%xmm9
  movsd  0xd0(%rsp),%xmm1
  jmp    L266
L61:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x68(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x60(%rsp)
  movsd  %xmm5,0x58(%rsp)
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm9,0x20(%rsp)
  movsd  %xmm2,0x18(%rsp)
  call   <sqrt@plt>
  movsd  0x68(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x60(%rsp),%xmm6
  movsd  0x58(%rsp),%xmm5
  movapd %xmm0,%xmm10
  movsd  0x50(%rsp),%xmm4
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm8
  movsd  0x30(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm9
  movsd  0x18(%rsp),%xmm2
  jmp    L20
L95:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm10,0x18(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movsd  0x58(%rsp),%xmm4
  movsd  0x50(%rsp),%xmm2
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm8
  movsd  0x30(%rsp),%xmm3
  movsd  0xd0(%rsp),%xmm1
  movsd  0x18(%rsp),%xmm10
  jmp    L180
L205:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm15,0x50(%rsp)
  movsd  %xmm8,0x48(%rsp)
  movsd  %xmm3,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movapd %xmm0,%xmm10
  movsd  0x58(%rsp),%xmm4
  movsd  0x50(%rsp),%xmm15
  movsd  0x48(%rsp),%xmm8
  movsd  0x40(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  jmp    L281
L210:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x78(%rsp)
  movsd  %xmm6,0x70(%rsp)
  movsd  %xmm5,0x68(%rsp)
  movsd  %xmm4,0x60(%rsp)
  movsd  %xmm2,0x58(%rsp)
  movsd  %xmm15,0x50(%rsp)
  movsd  %xmm3,0x48(%rsp)
  movsd  %xmm9,0x40(%rsp)
  movsd  %xmm8,0x30(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x78(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x70(%rsp),%xmm6
  movsd  0x68(%rsp),%xmm5
  movsd  0x60(%rsp),%xmm4
  movsd  0x58(%rsp),%xmm2
  movsd  0x50(%rsp),%xmm15
  movsd  0x48(%rsp),%xmm3
  movsd  0x40(%rsp),%xmm9
  movsd  0xd0(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm8
  jmp    L131
L224:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm15,0x50(%rsp)
  movsd  %xmm3,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movapd %xmm0,%xmm9
  movsd  0x58(%rsp),%xmm4
  movsd  0x50(%rsp),%xmm15
  movsd  0x48(%rsp),%xmm3
  movsd  0x40(%rsp),%xmm8
  movsd  0x30(%rsp),%xmm2
  jmp    L252
L60:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm3,0x40(%rsp)
  movsd  %xmm9,0x30(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movsd  0x58(%rsp),%xmm4
  movapd %xmm0,%xmm8
  movsd  0x50(%rsp),%xmm2
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm9
  movsd  0xd0(%rsp),%xmm1
  jmp    L33
L42:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x68(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x60(%rsp)
  movsd  %xmm5,0x58(%rsp)
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm3,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x68(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x60(%rsp),%xmm6
  movsd  0x58(%rsp),%xmm5
  movapd %xmm0,%xmm9
  movsd  0x50(%rsp),%xmm4
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  jmp    L263
L278:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x70(%rsp)
  movsd  %xmm6,0x68(%rsp)
  movsd  %xmm5,0x60(%rsp)
  movsd  %xmm4,0x58(%rsp)
  movsd  %xmm2,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm8,0x40(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x70(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x68(%rsp),%xmm6
  movsd  0x60(%rsp),%xmm5
  movsd  0x58(%rsp),%xmm4
  movsd  0x50(%rsp),%xmm2
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm8
  movsd  0x30(%rsp),%xmm3
  movsd  0xd0(%rsp),%xmm1
  jmp    L67
L117:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x68(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x60(%rsp)
  movsd  %xmm5,0x58(%rsp)
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm15,0x48(%rsp)
  movsd  %xmm3,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x68(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x60(%rsp),%xmm6
  movsd  0x58(%rsp),%xmm5
  movapd %xmm0,%xmm8
  movsd  0x50(%rsp),%xmm4
  movsd  0x48(%rsp),%xmm15
  movsd  0x40(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  jmp    L158
L222:
  movapd %xmm1,%xmm0
  movsd  %xmm14,0x68(%rsp)
  movsd  %xmm6,0x60(%rsp)
  movsd  %xmm5,0x58(%rsp)
  movsd  %xmm4,0x50(%rsp)
  movsd  %xmm2,0x48(%rsp)
  movsd  %xmm15,0x40(%rsp)
  movsd  %xmm8,0x30(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  call   <sqrt@plt>
  movsd  0x68(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0x60(%rsp),%xmm6
  movsd  0x58(%rsp),%xmm5
  movsd  0x50(%rsp),%xmm4
  movapd %xmm0,%xmm3
  movsd  0x48(%rsp),%xmm2
  movsd  0x40(%rsp),%xmm15
  movsd  0xd0(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm8
  jmp    L19
L124:
  movapd %xmm2,%xmm0
  movsd  %xmm14,0x60(%rsp)
  movsd  %xmm1,0xd0(%rsp)
  movsd  %xmm6,0x58(%rsp)
  movsd  %xmm5,0x50(%rsp)
  movsd  %xmm4,0x48(%rsp)
  movsd  %xmm15,0x40(%rsp)
  movsd  %xmm2,0x30(%rsp)
  call   <sqrt@plt>
  movsd  0x60(%rsp),%xmm14
  pxor   %xmm7,%xmm7
  movsd  0xd0(%rsp),%xmm1
  movsd  0x58(%rsp),%xmm6
  movsd  0x50(%rsp),%xmm5
  movapd %xmm0,%xmm8
  movsd  0x48(%rsp),%xmm4
  movsd  0x40(%rsp),%xmm15
  movsd  0x30(%rsp),%xmm2
  jmp    L47
```

tool_calls: name: extract_symbolic_data
arguments: label: D105
type_infered: f64
name: extract_symbolic_data
arguments: label: D29
type_infered: f64[2]
name: extract_symbolic_data
arguments: label: D132
type_infered: f32[4]
name: extract_symbolic_data
arguments: label: D101
type_infered: qword
name: extract_symbolic_data
arguments: label: D26
type_infered: f32[2]

tool: D105: 1

tool: {"D29": [0.5,0.5]}

tool: {"D132": [0.0,-0.0,0.0,0.0]}

tool: D101: 9223372036854775807

tool: {"D26": [0.0,-1.75]}

assistant: ```c
void ROE_2D_solver(double *F, double gamma, double P_L, double RHO_L, double U_L, double V_L, double n_x, double n_y, double P_R, double RHO_R, double U_R, double V_R, double *lambda_max, double delta) {
  double H_L, H_R;
  H_L = gamma / (gamma - 1.0) * P_L / RHO_L + 0.5 * (U_L * U_L + V_L * V_L);
  H_R = gamma / (gamma - 1.0) * P_R / RHO_R + 0.5 * (U_R * U_R + V_R * V_R);
  F[0] = 0.5 * (RHO_L * U_L + RHO_R * U_R) * n_x + 0.5 * (RHO_L * V_L + RHO_R * V_R) * n_y;
  F[1] = 0.5 * (RHO_L * U_L * U_L + P_L + RHO_R * U_R * U_R + P_R) * n_x + 0.5 * (RHO_L * U_L * V_L + RHO_R * U_R * V_R) * n_y;
  F[2] = 0.5 * (RHO_L * U_L * V_L + RHO_R * U_R * V_R) * n_x + 0.5 * (RHO_L * V_L * V_L + P_L + RHO_R * V_R * V_R + P_R) * n_y;
  F[3] = 0.5 * (RHO_L * U_L * H_L + RHO_R * U_R * H_R) * n_x + 0.5 * (RHO_L * V_L * H_L + RHO_R * V_R * H_R) * n_y;
  double RHO_S, U_S, V_S, H_S, C_S;
  RHO_S = sqrt(RHO_L * RHO_R);
  U_S = (U_L * sqrt(RHO_L) + U_R * sqrt(RHO_R)) / (sqrt(RHO_L) + sqrt(RHO_R));
  V_S = (V_L * sqrt(RHO_L) + V_R * sqrt(RHO_R)) / (sqrt(RHO_L) + sqrt(RHO_R));
  H_S = (H_L * sqrt(RHO_L) + H_R * sqrt(RHO_R)) / (sqrt(RHO_L) + sqrt(RHO_R));
  C_S = sqrt((gamma - 1.0) * (H_S - 0.5 * U_S * U_S - 0.5 * V_S * V_S));
  double qn_S, qt_S;
  qn_S = U_S * n_x + V_S * n_y;
  qt_S = -U_S * n_y + V_S * n_x;
  double qn_R, qt_R;
  qn_R = U_R * n_x + V_R * n_y;
  qt_R = -U_R * n_y + V_R * n_x;
  double qn_L, qt_L;
  qn_L = U_L * n_x + V_L * n_y;
  qt_L = -U_L * n_y + V_L * n_x;
  double R[4][4];
  double lambda[4], W[4];
  R[0][0] = 1.0;
  R[0][1] = 1.0;
  R[0][2] = 1.0;
  R[0][3] = 0.0;
  R[1][0] = U_S - C_S * n_x;
  R[1][1] = U_S;
  R[1][2] = U_S + C_S * n_x;
  R[1][3] = -n_y;
  R[2][0] = V_S - C_S * n_y;
  R[2][1] = V_S;
  R[2][2] = V_S + C_S * n_y;
  R[2][3] = n_x;
  R[3][0] = H_S - qn_S * C_S;
  R[3][1] = 0.5 * (U_S * U_S + V_S * V_S);
  R[3][2] = H_S + qn_S * C_S;
  R[3][3] = qt_S;
  int i, j;
  W[0] = 0.5 * ((P_R - P_L) - RHO_S * C_S * (qn_R - qn_L)) / (C_S * C_S);
  W[1] = (RHO_R - RHO_L) - (P_R - P_L) / (C_S * C_S);
  W[2] = 0.5 * ((P_R - P_L) + RHO_S * C_S * (qn_R - qn_L)) / (C_S * C_S);
  W[3] = RHO_S * (qt_R - qt_L);
  lambda[0] = fabs(qn_S - C_S);
  lambda[1] = fabs(qn_S);
  lambda[2] = fabs(qn_S + C_S);
  lambda[3] = fabs(qn_S);
  double delta_1 = 0.01;
  double delta_2 = 0.2;
  if (lambda[0] < delta)
    lambda[0] = 0.5 / delta * (lambda[0] * lambda[0] + delta * delta);
  if (lambda[2] < delta)
    lambda[2] = 0.5 / delta * (lambda[2] * lambda[2] + delta * delta);
  *lambda_max = 0;
  for (i = 0; i < 4; i++) {
    *lambda_max = (*lambda_max > lambda[i] ? *lambda_max : lambda[i]);
    for (j = 0; j < 4; j++) {
      F[i] += -0.5 * lambda[j] * W[j] * R[i][j];
    }
  }
}
```