user: Converte this assembly snippet into its equivalent C code:

```asm
<drawLine>:
  endbr64
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x20,%rsp
  cvtss2sd %xmm0,%xmm0
  movsd  D91(%rip),%xmm5
  mulsd  %xmm5,%xmm0
  movsd  D99(%rip),%xmm4
  addsd  %xmm4,%xmm0
  pxor   %xmm6,%xmm6
  cvtsd2ss %xmm0,%xmm6
  movss  %xmm6,0x10(%rsp)
  cvtss2sd %xmm2,%xmm2
  mulsd  %xmm5,%xmm2
  addsd  %xmm4,%xmm2
  cvtsd2ss %xmm2,%xmm2
  movss  %xmm2,0x18(%rsp)
  cvtss2sd %xmm1,%xmm1
  mulsd  %xmm5,%xmm1
  movapd %xmm4,%xmm0
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsd2ss %xmm0,%xmm1
  movss  %xmm1,0x14(%rsp)
  cvtss2sd %xmm3,%xmm3
  mulsd  %xmm5,%xmm3
  subsd  %xmm3,%xmm4
  cvtsd2ss %xmm4,%xmm4
  movss  %xmm4,0x1c(%rsp)
  subss  %xmm6,%xmm2
  subss  %xmm1,%xmm4
  movss  %xmm4,0x8(%rsp)
  movss  %xmm2,0xc(%rsp)
  movaps %xmm2,%xmm0
  call   <fabs@plt>
  mov    %rax,%rbx
  movss  0x8(%rsp),%xmm0
  call   <fabs@plt>
  cmp    %rax,%rbx
  jl     L31
  movss  0x8(%rsp),%xmm4
  movss  0xc(%rsp),%xmm2
  divss  %xmm2,%xmm4
  movss  %xmm4,0xc(%rsp)
  mov    $0x1,%r12d
  comiss D90(%rip),%xmm2
  jbe    L29
L36:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x10(%rsp),%xmm0
  movsd  D9(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%ebx
  pxor   %xmm0,%xmm0
  cvtss2sd 0x18(%rsp),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%ebp
  movss  0x14(%rsp),%xmm5
  addss  D66(%rip),%xmm5
  movss  %xmm5,0x8(%rsp)
  cmp    %ebp,%ebx
  je     L51
L64:
  cvttss2si 0x8(%rsp),%esi
  mov    %ebx,%edi
  call   <setPixel@plt>
  add    %r12d,%ebx
  movss  0x8(%rsp),%xmm6
  addss  0xc(%rsp),%xmm6
  movss  %xmm6,0x8(%rsp)
  cmp    %ebx,%ebp
  jne    L64
L51:
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L29:
  xorps  D32(%rip),%xmm4
  movss  %xmm4,0xc(%rsp)
  mov    $0xffffffff,%r12d
  jmp    L36
L31:
  movss  0xc(%rsp),%xmm7
  movss  0x8(%rsp),%xmm5
  divss  %xmm5,%xmm7
  movss  %xmm7,0xc(%rsp)
  mov    $0x1,%r12d
  comiss D90(%rip),%xmm5
  jbe    L15
L45:
  pxor   %xmm0,%xmm0
  cvtss2sd 0x14(%rsp),%xmm0
  movsd  D9(%rip),%xmm1
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%ebx
  pxor   %xmm0,%xmm0
  cvtss2sd 0x1c(%rsp),%xmm0
  addsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%ebp
  movss  0x10(%rsp),%xmm3
  addss  D66(%rip),%xmm3
  movss  %xmm3,0x8(%rsp)
  cmp    %ebp,%ebx
  je     L51
L85:
  cvttss2si 0x8(%rsp),%edi
  mov    %ebx,%esi
  call   <setPixel@plt>
  add    %r12d,%ebx
  movss  0x8(%rsp),%xmm7
  addss  0xc(%rsp),%xmm7
  movss  %xmm7,0x8(%rsp)
  cmp    %ebx,%ebp
  jne    L85
  jmp    L51
L15:
  xorps  D32(%rip),%xmm7
  movss  %xmm7,0xc(%rsp)
  mov    $0xffffffff,%r12d
  jmp    L45
```

tool_calls: name: parse_data
arguments: data_label: D91
type: f32[2]
name: parse_data
arguments: data_label: D99
type: f32[2]
name: parse_data
arguments: data_label: D90
type: f32
name: parse_data
arguments: data_label: D9
type: f64
name: parse_data
arguments: data_label: D66
type: byte[4]
name: parse_data
arguments: data_label: D32
type: byte[16]

tool: {"D91": [0.0,2.390625]}

tool: {"D99": [0.0,3.48828125]}

tool: D90: 0

tool: D9: 0.5

tool: {"D66": [0x00,0x00,0x00,0x3f]}

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

assistant: ```c
void drawLine(float x0, float y0, float x1, float y1) {
  float dx, dy;
  x0 = ((250 / 40.0) * (x0) + 250 / 2);
  x1 = ((250 / 40.0) * (x1) + 250 / 2);
  y0 = (250 / 2 - (250 / 40.0) * (y0));
  y1 = (250 / 2 - (250 / 40.0) * (y1));
  dx = x1 - x0;
  dy = y1 - y0;
  if (fabs(dx) >= fabs(dy)) {
    float dydx = dy / dx;
    int i, di, iend;
    if (dx > 0.0)
      di = 1;
    else {
      di = -1;
      dydx = -dydx;
    }
    i = (int)(x0 + 0.5);
    iend = (int)(x1 + 0.5);
    y0 += 0.5;
    while (i != iend) {
      setPixel(i, (int)y0);
      i += di;
      y0 += dydx;
    }
  } else {
    float dxdy = dx / dy;
    int j, dj, jend;
    if (dy > 0.0)
      dj = 1;
    else {
      dj = -1;
      dxdy = -dxdy;
    }
    j = (int)(y0 + 0.5);
    jend = (int)(y1 + 0.5);
    x0 += 0.5;
    while (j != jend) {
      setPixel((int)x0, j);
      j += dj;
      x0 += dxdy;
    }
  }
}
```