user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<plotEllipseRect>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %esi,-0x48(%rbp)
  mov    %edx,-0x4c(%rbp)
  mov    %ecx,-0x50(%rbp)
  mov    -0x4c(%rbp),%eax
  sub    -0x44(%rbp),%eax
  mov    %eax,%edi
  call   <abs@plt>
  mov    %rax,-0x20(%rbp)
  mov    -0x50(%rbp),%eax
  sub    -0x48(%rbp),%eax
  mov    %eax,%edi
  call   <abs@plt>
  mov    %rax,-0x18(%rbp)
  mov    -0x18(%rbp),%rax
  and    $0x1,%eax
  mov    %rax,-0x10(%rbp)
  pxor   %xmm2,%xmm2
  cvtsi2sdq -0x20(%rbp),%xmm2
  movsd  D11(%rip),%xmm0
  movapd %xmm0,%xmm1
  subsd  %xmm2,%xmm1
  movsd  D14(%rip),%xmm0
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x18(%rbp),%xmm0
  mulsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x18(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  mov    -0x10(%rbp),%rax
  add    $0x1,%rax
  imul   -0x20(%rbp),%rax
  imul   -0x20(%rbp),%rax
  shl    $0x2,%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x30(%rbp),%xmm1
  mov    -0x10(%rbp),%rax
  imul   -0x20(%rbp),%rax
  imul   -0x20(%rbp),%rax
  pxor   %xmm0,%xmm0
  cvtsi2sd %rax,%xmm0
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  mov    -0x44(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L28
  mov    -0x4c(%rbp),%eax
  mov    %eax,-0x44(%rbp)
  mov    -0x20(%rbp),%rax
  mov    %eax,%edx
  mov    -0x4c(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4c(%rbp)
L28:
  mov    -0x48(%rbp),%eax
  cmp    -0x50(%rbp),%eax
  jle    L14
  mov    -0x50(%rbp),%eax
  mov    %eax,-0x48(%rbp)
L14:
  mov    -0x18(%rbp),%rax
  add    $0x1,%rax
  mov    %rax,%rdx
  shr    $0x3f,%rdx
  add    %rdx,%rax
  sar    %rax
  mov    %eax,%edx
  mov    -0x48(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x48(%rbp)
  mov    -0x48(%rbp),%eax
  mov    -0x10(%rbp),%rdx
  sub    %edx,%eax
  mov    %eax,-0x50(%rbp)
  mov    -0x20(%rbp),%rax
  imul   %rax,%rax
  shl    $0x3,%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x18(%rbp),%rax
  imul   %rax,%rax
  shl    $0x3,%rax
  mov    %rax,-0x10(%rbp)
L68:
  mov    -0x48(%rbp),%edx
  mov    -0x4c(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <setPixel@plt>
  mov    -0x48(%rbp),%edx
  mov    -0x44(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <setPixel@plt>
  mov    -0x50(%rbp),%edx
  mov    -0x44(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <setPixel@plt>
  mov    -0x50(%rbp),%edx
  mov    -0x4c(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <setPixel@plt>
  movsd  -0x28(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movsd  -0x30(%rbp),%xmm0
  comisd -0x8(%rbp),%xmm0
  jb     L59
  addl   $0x1,-0x48(%rbp)
  subl   $0x1,-0x50(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x20(%rbp),%xmm0
  movsd  -0x30(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
L59:
  movsd  -0x8(%rbp),%xmm0
  comisd -0x38(%rbp),%xmm0
  jae    L46
  movsd  -0x28(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  comisd -0x30(%rbp),%xmm0
  jbe    L79
L46:
  addl   $0x1,-0x44(%rbp)
  subl   $0x1,-0x4c(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdq -0x10(%rbp),%xmm0
  movsd  -0x38(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x38(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
L79:
  mov    -0x44(%rbp),%eax
  cmp    -0x4c(%rbp),%eax
  jle    L68
  jmp    L33
L76:
  mov    -0x44(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x48(%rbp),%eax
  mov    %eax,%esi
  mov    %edx,%edi
  call   <setPixel@plt>
  mov    -0x48(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,-0x48(%rbp)
  mov    -0x4c(%rbp),%edx
  add    $0x1,%edx
  mov    %eax,%esi
  mov    %edx,%edi
  call   <setPixel@plt>
  mov    -0x44(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    -0x50(%rbp),%eax
  mov    %eax,%esi
  mov    %edx,%edi
  call   <setPixel@plt>
  mov    -0x50(%rbp),%eax
  lea    -0x1(%rax),%edx
  mov    %edx,-0x50(%rbp)
  mov    -0x4c(%rbp),%edx
  add    $0x1,%edx
  mov    %eax,%esi
  mov    %edx,%edi
  call   <setPixel@plt>
L33:
  mov    -0x48(%rbp),%eax
  sub    -0x50(%rbp),%eax
  cltq
  cmp    %rax,-0x18(%rbp)
  jge    L76
  nop
  nop
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D11
data_type: f64
name: unpack_data
arguments: data_label: D14
data_type: f64

tool: D11: 1

tool: D14: 4

assistant: ```c
void plotEllipseRect(int x0, int y0, int x1, int y1) {
  long a = abs(x1 - x0), b = abs(y1 - y0), b1 = b & 1;
  double dx = 4 * (1.0 - a) * b * b, dy = 4 * (b1 + 1) * a * a;
  double err = dx + dy + b1 * a * a, e2;
  if (x0 > x1) {
    x0 = x1;
    x1 += a;
  }
  if (y0 > y1)
    y0 = y1;
  y0 += (b + 1) / 2;
  y1 = y0 - b1;
  a = 8 * a * a;
  b1 = 8 * b * b;
  do {
    setPixel(x1, y0);
    setPixel(x0, y0);
    setPixel(x0, y1);
    setPixel(x1, y1);
    e2 = 2 * err;
    if (e2 <= dy) {
      y0++;
      y1--;
      err += dy += a;
    }
    if (e2 >= dx || 2 * err > dy) {
      x0++;
      x1--;
      err += dx += b1;
    }
  } while (x0 <= x1);
  while (y0 - y1 <= b) {
    setPixel(x0 - 1, y0);
    setPixel(x1 + 1, y0++);
    setPixel(x0 - 1, y1);
    setPixel(x1 + 1, y1--);
  }
}
```