user: What would the C source look like for the assembly code provided here?

```asm
<plotCubicBezier>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0xd8,%rsp
  mov    %edi,-0xc4(%rbp)
  mov    %esi,-0xc8(%rbp)
  mov    %edx,-0xcc(%rbp)
  mov    %ecx,-0xd0(%rbp)
  mov    %r8d,-0xd4(%rbp)
  mov    %r9d,-0xd8(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0xb8(%rbp)
  movl   $0x0,-0xb4(%rbp)
  mov    -0xc4(%rbp),%edx
  mov    -0xcc(%rbp),%eax
  add    %edx,%eax
  sub    -0xd4(%rbp),%eax
  sub    0x10(%rbp),%eax
  cltq
  mov    %rax,-0x88(%rbp)
  mov    -0xcc(%rbp),%eax
  sub    -0xd4(%rbp),%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x88(%rbp),%rax
  sub    %rdx,%rax
  mov    %rax,-0x80(%rbp)
  mov    -0xc4(%rbp),%eax
  sub    -0xcc(%rbp),%eax
  sub    -0xd4(%rbp),%eax
  mov    %eax,%edx
  mov    0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  mov    %rax,-0x78(%rbp)
  mov    -0xcc(%rbp),%edx
  mov    -0xd4(%rbp),%eax
  add    %edx,%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x78(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x70(%rbp)
  mov    -0xc8(%rbp),%edx
  mov    -0xd0(%rbp),%eax
  add    %edx,%eax
  sub    -0xd8(%rbp),%eax
  sub    0x18(%rbp),%eax
  cltq
  mov    %rax,-0x68(%rbp)
  mov    -0xd0(%rbp),%eax
  sub    -0xd8(%rbp),%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x68(%rbp),%rax
  sub    %rdx,%rax
  mov    %rax,-0x60(%rbp)
  mov    -0xc8(%rbp),%eax
  sub    -0xd0(%rbp),%eax
  sub    -0xd8(%rbp),%eax
  mov    %eax,%edx
  mov    0x18(%rbp),%eax
  add    %edx,%eax
  cltq
  mov    %rax,-0x58(%rbp)
  mov    -0xd0(%rbp),%edx
  mov    -0xd8(%rbp),%eax
  add    %edx,%eax
  shl    $0x2,%eax
  movslq %eax,%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc4(%rbp),%xmm0
  movss  %xmm0,-0xb0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc8(%rbp),%xmm0
  movss  %xmm0,-0xa4(%rbp)
  mov    -0x78(%rbp),%rax
  imul   %rax,%rax
  mov    %rax,%rdx
  mov    -0x80(%rbp),%rax
  imul   -0x88(%rbp),%rax
  sub    %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  cmpq   $0x0,-0x80(%rbp)
  jne    L137
  mov    -0x88(%rbp),%rax
  mov    %rax,%rdi
  call   <abs@plt>
  mov    %eax,%ebx
  mov    -0x78(%rbp),%rax
  mov    %rax,%rdi
  call   <abs@plt>
  add    %eax,%eax
  cmp    %eax,%ebx
  jge    L62
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x88(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x78(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  cltq
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  jmp    L62
L137:
  movsd  -0x90(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L62
  mov    -0x90(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x78(%rbp),%xmm0
  subsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x80(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movq   D70(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D167(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L133
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  cltq
  movsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
L133:
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x78(%rbp),%xmm0
  addsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x80(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movq   D70(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D167(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L62
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  cltq
  movsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
L62:
  mov    -0x58(%rbp),%rax
  imul   %rax,%rax
  mov    %rax,%rdx
  mov    -0x60(%rbp),%rax
  imul   -0x68(%rbp),%rax
  sub    %rax,%rdx
  pxor   %xmm0,%xmm0
  cvtsi2sd %rdx,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  cmpq   $0x0,-0x60(%rbp)
  jne    L78
  mov    -0x68(%rbp),%rax
  mov    %rax,%rdi
  call   <abs@plt>
  mov    %eax,%ebx
  mov    -0x58(%rbp),%rax
  mov    %rax,%rdi
  call   <abs@plt>
  add    %eax,%eax
  cmp    %eax,%ebx
  jge    L107
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x68(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x58(%rbp),%xmm0
  movapd %xmm0,%xmm2
  addsd  %xmm0,%xmm2
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  divsd  %xmm2,%xmm1
  movapd %xmm1,%xmm0
  cltq
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  jmp    L107
L78:
  movsd  -0x90(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L107
  mov    -0x90(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x58(%rbp),%xmm0
  subsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x60(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movq   D70(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D167(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L156
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  cltq
  movsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
L156:
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x58(%rbp),%xmm0
  addsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x60(%rbp),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x90(%rbp)
  movsd  -0x90(%rbp),%xmm0
  movq   D70(%rip),%xmm1
  andpd  %xmm0,%xmm1
  movsd  D167(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L107
  mov    -0xb8(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0xb8(%rbp)
  cltq
  movsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
L107:
  movl   $0x1,-0xb4(%rbp)
  jmp    L220
L211:
  mov    -0xb4(%rbp),%eax
  sub    $0x1,%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    -0xb4(%rbp),%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm1
  movsd  -0x90(%rbp),%xmm0
  comisd %xmm1,%xmm0
  jbe    L87
  mov    -0xb4(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0xb4(%rbp),%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  movslq %edx,%rax
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  mov    -0xb4(%rbp),%eax
  cltq
  movsd  -0x90(%rbp),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  movl   $0x0,-0xb4(%rbp)
L87:
  addl   $0x1,-0xb4(%rbp)
L220:
  mov    -0xb4(%rbp),%eax
  cmp    -0xb8(%rbp),%eax
  jl     L211
  movsd  D113(%rip),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  mov    -0xb8(%rbp),%eax
  cltq
  movsd  D167(%rip),%xmm0
  movsd  %xmm0,-0x40(%rbp,%rax,8)
  movl   $0x0,-0xb4(%rbp)
  jmp    L171
L70:
  mov    -0xb4(%rbp),%eax
  cltq
  movsd  -0x40(%rbp,%rax,8),%xmm0
  movsd  %xmm0,-0x48(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x78(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  mov    -0x88(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x90(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x80(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  mov    -0x78(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm2,%xmm2
  cvtsi2sd %rax,%xmm2
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x90(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x88(%rbp),%xmm1
  addsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x48(%rbp),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x70(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd -0xb0(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xac(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x58(%rbp),%xmm0
  mulsd  -0x90(%rbp),%xmm0
  mov    -0x68(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x90(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x60(%rbp),%xmm1
  mulsd  -0x90(%rbp),%xmm1
  mov    -0x58(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm2,%xmm2
  cvtsi2sd %rax,%xmm2
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x90(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x68(%rbp),%xmm1
  addsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x48(%rbp),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x50(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd -0xa4(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xa0(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x78(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mov    -0x88(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x80(%rbp),%xmm1
  mulsd  -0x48(%rbp),%xmm1
  mov    -0x78(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm2,%xmm2
  cvtsi2sd %rax,%xmm2
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x48(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x88(%rbp),%xmm1
  addsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x90(%rbp),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x70(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd -0xb0(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x58(%rbp),%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mov    -0x68(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x60(%rbp),%xmm1
  mulsd  -0x48(%rbp),%xmm1
  mov    -0x58(%rbp),%rax
  add    %rax,%rax
  pxor   %xmm2,%xmm2
  cvtsi2sd %rax,%xmm2
  subsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x48(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x68(%rbp),%xmm1
  addsd  %xmm2,%xmm1
  movapd %xmm1,%xmm2
  mulsd  -0x90(%rbp),%xmm2
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x50(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd -0xa4(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x9c(%rbp)
  mov    -0x78(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x80(%rbp),%xmm1
  mulsd  -0x48(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mov    -0x88(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x48(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x70(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x98(%rbp)
  movss  -0x98(%rbp),%xmm1
  movss  -0xb0(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0xb0(%rbp)
  mov    -0x58(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdq -0x60(%rbp),%xmm1
  mulsd  -0x48(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  mulsd  -0x48(%rbp),%xmm0
  mov    -0x68(%rbp),%rdx
  mov    %rdx,%rax
  add    %rax,%rax
  add    %rdx,%rax
  pxor   %xmm1,%xmm1
  cvtsi2sd %rax,%xmm1
  subsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x48(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x50(%rbp),%xmm0
  addsd  %xmm1,%xmm0
  movsd  D12(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x94(%rbp)
  movss  -0x94(%rbp),%xmm1
  movss  -0xa4(%rbp),%xmm0
  subss  %xmm1,%xmm0
  movss  %xmm0,-0xa4(%rbp)
  movss  -0x98(%rbp),%xmm1
  movss  D115(%rip),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  mov    %eax,0x10(%rbp)
  movss  -0x94(%rbp),%xmm1
  movss  D115(%rip),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  movd   %eax,%xmm0
  call   <floor@plt>
  mov    %eax,0x18(%rbp)
  pxor   %xmm0,%xmm0
  ucomiss -0xb0(%rbp),%xmm0
  jp     L53
  pxor   %xmm0,%xmm0
  ucomiss -0xb0(%rbp),%xmm0
  je     L183
L53:
  mov    -0xc4(%rbp),%eax
  sub    0x10(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  divss  -0xb0(%rbp),%xmm0
  movss  %xmm0,-0xb0(%rbp)
  movss  -0xb0(%rbp),%xmm0
  movss  -0xac(%rbp),%xmm1
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0xac(%rbp)
  movss  -0xa8(%rbp),%xmm0
  mulss  -0xb0(%rbp),%xmm0
  movss  %xmm0,-0xa8(%rbp)
L183:
  pxor   %xmm0,%xmm0
  ucomiss -0xa4(%rbp),%xmm0
  jp     L197
  pxor   %xmm0,%xmm0
  ucomiss -0xa4(%rbp),%xmm0
  je     L166
L197:
  mov    -0xc8(%rbp),%eax
  sub    0x18(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  divss  -0xa4(%rbp),%xmm0
  movss  %xmm0,-0xa4(%rbp)
  movss  -0xa4(%rbp),%xmm0
  movss  -0xa0(%rbp),%xmm1
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0xa0(%rbp)
  movss  -0x9c(%rbp),%xmm0
  mulss  -0xa4(%rbp),%xmm0
  movss  %xmm0,-0x9c(%rbp)
L166:
  mov    -0xc4(%rbp),%eax
  cmp    0x10(%rbp),%eax
  jne    L48
  mov    -0xc8(%rbp),%eax
  cmp    0x18(%rbp),%eax
  je     L56
L48:
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc8(%rbp),%xmm0
  addss  -0x9c(%rbp),%xmm0
  cvttss2si %xmm0,%r9d
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc4(%rbp),%xmm0
  addss  -0xa8(%rbp),%xmm0
  cvttss2si %xmm0,%r8d
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc8(%rbp),%xmm0
  addss  -0xa0(%rbp),%xmm0
  cvttss2si %xmm0,%ecx
  pxor   %xmm0,%xmm0
  cvtsi2ssl -0xc4(%rbp),%xmm0
  addss  -0xac(%rbp),%xmm0
  cvttss2si %xmm0,%edx
  mov    -0xc8(%rbp),%esi
  mov    -0xc4(%rbp),%eax
  mov    0x18(%rbp),%edi
  push   %rdi
  mov    0x10(%rbp),%edi
  push   %rdi
  mov    %eax,%edi
  call   <plotCubicBezierSeg@plt>
  add    $0x10,%rsp
L56:
  mov    0x10(%rbp),%eax
  mov    %eax,-0xc4(%rbp)
  mov    0x18(%rbp),%eax
  mov    %eax,-0xc8(%rbp)
  movss  -0x98(%rbp),%xmm0
  movss  %xmm0,-0xb0(%rbp)
  movss  -0x94(%rbp),%xmm0
  movss  %xmm0,-0xa4(%rbp)
  movsd  -0x48(%rbp),%xmm0
  movsd  %xmm0,-0x90(%rbp)
  addl   $0x1,-0xb4(%rbp)
L171:
  mov    -0xb4(%rbp),%eax
  cmp    -0xb8(%rbp),%eax
  jle    L70
  nop
  mov    -0x18(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L221
  call   <__stack_chk_fail@plt>
L221:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D70
type_infered: qword
name: extract_symbolic_data
arguments: data_tag: D167
type_infered: f64
name: extract_symbolic_data
arguments: data_tag: D113
type_infered: f32[2]
name: extract_symbolic_data
arguments: data_tag: D12
type_infered: f32[2]
name: extract_symbolic_data
arguments: data_tag: D115
type_infered: f32

tool: D70: 9223372036854775807

tool: D167: 1

tool: {"D113": [0.0,-1.875]}

tool: {"D12": [0.0,2.5]}

tool: D115: 0.5

assistant: ```c
void plotCubicBezier(int x0, int y0, int x1, int y1, int x2, int y2, int x3, int y3) {
  int n = 0, i = 0;
  long xc = x0 + x1 - x2 - x3, xa = xc - 4 * (x1 - x2);
  long xb = x0 - x1 - x2 + x3, xd = xb + 4 * (x1 + x2);
  long yc = y0 + y1 - y2 - y3, ya = yc - 4 * (y1 - y2);
  long yb = y0 - y1 - y2 + y3, yd = yb + 4 * (y1 + y2);
  float fx0 = x0, fx1, fx2, fx3, fy0 = y0, fy1, fy2, fy3;
  double t1 = xb * xb - xa * xc, t2, t[5];
  if (xa == 0) {
    if (abs(xc) < 2 * abs(xb))
      t[n++] = xc / (2.0 * xb);
  } else if (t1 > 0.0) {
    t2 = sqrt(t1);
    t1 = (xb - t2) / xa;
    if (fabs(t1) < 1.0)
      t[n++] = t1;
    t1 = (xb + t2) / xa;
    if (fabs(t1) < 1.0)
      t[n++] = t1;
  }
  t1 = yb * yb - ya * yc;
  if (ya == 0) {
    if (abs(yc) < 2 * abs(yb))
      t[n++] = yc / (2.0 * yb);
  } else if (t1 > 0.0) {
    t2 = sqrt(t1);
    t1 = (yb - t2) / ya;
    if (fabs(t1) < 1.0)
      t[n++] = t1;
    t1 = (yb + t2) / ya;
    if (fabs(t1) < 1.0)
      t[n++] = t1;
  }
  for (i = 1; i < n; i++)
    if ((t1 = t[i - 1]) > t[i]) {
      t[i - 1] = t[i];
      t[i] = t1;
      i = 0;
    }
  t1 = -1.0;
  t[n] = 1.0;
  for (i = 0; i <= n; i++) {
    t2 = t[i];
    fx1 = (t1 * (t1 * xb - 2 * xc) - t2 * (t1 * (t1 * xa - 2 * xb) + xc) + xd) / 8 - fx0;
    fy1 = (t1 * (t1 * yb - 2 * yc) - t2 * (t1 * (t1 * ya - 2 * yb) + yc) + yd) / 8 - fy0;
    fx2 = (t2 * (t2 * xb - 2 * xc) - t1 * (t2 * (t2 * xa - 2 * xb) + xc) + xd) / 8 - fx0;
    fy2 = (t2 * (t2 * yb - 2 * yc) - t1 * (t2 * (t2 * ya - 2 * yb) + yc) + yd) / 8 - fy0;
    fx0 -= fx3 = (t2 * (t2 * (3 * xb - t2 * xa) - 3 * xc) + xd) / 8;
    fy0 -= fy3 = (t2 * (t2 * (3 * yb - t2 * ya) - 3 * yc) + yd) / 8;
    x3 = floor(fx3 + 0.5);
    y3 = floor(fy3 + 0.5);
    if (fx0 != 0.0) {
      fx1 *= fx0 = (x0 - x3) / fx0;
      fx2 *= fx0;
    }
    if (fy0 != 0.0) {
      fy1 *= fy0 = (y0 - y3) / fy0;
      fy2 *= fy0;
    }
    if (x0 != x3 || y0 != y3)
      plotCubicBezierSeg(x0, y0, x0 + fx1, y0 + fy1, x0 + fx2, y0 + fy2, x3, y3);
    x0 = x3;
    y0 = y3;
    fx0 = fx3;
    fy0 = fy3;
    t1 = t2;
  }
}
```