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

```asm
<drawLine>:
  endbr64
  push   %r15
  mov    %edx,%eax
  push   %r14
  sub    %edi,%eax
  mov    %r9,%r14
  push   %r13
  mov    %r8,%r13
  push   %r12
  mov    %esi,%r12d
  mov    %edx,%esi
  push   %rbp
  mov    %edi,%ebp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edx,0x24(%rsp)
  mov    %eax,%edx
  mov    0x80(%rsp),%r15
  neg    %edx
  mov    %ecx,0x34(%rsp)
  cmovns %edx,%eax
  movsd  %xmm0,0x8(%rsp)
  movsd  %xmm2,0x28(%rsp)
  mov    %eax,%ebx
  mov    %eax,0x1c(%rsp)
  xor    %eax,%eax
  cmp    %edi,%esi
  setg   %al
  lea    -0x1(%rax,%rax,1),%eax
  mov    %eax,0x38(%rsp)
  mov    %ecx,%eax
  sub    %r12d,%eax
  mov    %eax,%edx
  neg    %edx
  cmovns %edx,%eax
  mov    %eax,0x18(%rsp)
  mov    %eax,%edx
  xor    %eax,%eax
  cmp    %r12d,%ecx
  setg   %al
  lea    -0x1(%rax,%rax,1),%eax
  mov    %eax,0x3c(%rsp)
  mov    %ebx,%eax
  sar    %eax
  mov    %eax,0x20(%rsp)
  cmp    %edx,%ebx
  jg     L38
  mov    %edx,%eax
  shr    $0x1f,%eax
  add    %edx,%eax
  sar    %eax
  neg    %eax
  mov    %eax,0x20(%rsp)
L38:
  cmp    %ebp,0x24(%rsp)
  jne    L52
  cmp    %r12d,0x34(%rsp)
  je     L56
L52:
  mov    0x1c(%rsp),%eax
  neg    %eax
  mov    %eax,0x30(%rsp)
  nopl   0x0(%rax,%rax,1)
L116:
  movsd  0x8(%rsp),%xmm0
  mov    %r15,%r8
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    %r12d,%esi
  mov    %ebp,%edi
  movsd  %xmm1,(%rsp)
  mov    $0x1,%ebx
  call   <drawPixel@plt>
  movsd  D2(%rip),%xmm3
  mulsd  0x28(%rsp),%xmm3
  movsd  (%rsp),%xmm1
  movsd  %xmm3,0x10(%rsp)
  jmp    L54
  cs nopw 0x0(%rax,%rax,1)
L32:
  movsd  0x8(%rsp),%xmm0
  mov    %r12d,%esi
  mov    %r15,%r8
  mov    %r14,%rcx
  sub    %ebx,%esi
  mov    %r13,%rdx
  mov    %ebp,%edi
  movsd  %xmm1,(%rsp)
  call   <drawPixel@plt>
  movsd  (%rsp),%xmm1
  lea    (%rbx,%r12,1),%esi
  mov    %ebp,%edi
  movsd  0x8(%rsp),%xmm0
  mov    %r15,%r8
  mov    %r14,%rcx
  mov    %r13,%rdx
  call   <drawPixel@plt>
  movsd  (%rsp),%xmm1
L22:
  add    $0x1,%ebx
L54:
  movsd  0x10(%rsp),%xmm0
  movsd  %xmm1,(%rsp)
  call   <ceil@plt>
  movsd  (%rsp),%xmm1
  cmp    %ebx,%eax
  jle    L5
  mov    0x18(%rsp),%ecx
  cmp    %ecx,0x1c(%rsp)
  jg     L32
  movsd  0x8(%rsp),%xmm0
  mov    %ebp,%edi
  mov    %r15,%r8
  mov    %r14,%rcx
  sub    %ebx,%edi
  mov    %r13,%rdx
  mov    %r12d,%esi
  movsd  %xmm1,(%rsp)
  call   <drawPixel@plt>
  movsd  (%rsp),%xmm1
  lea    (%rbx,%rbp,1),%edi
  mov    %r15,%r8
  movsd  0x8(%rsp),%xmm0
  mov    %r14,%rcx
  mov    %r13,%rdx
  mov    %r12d,%esi
  call   <drawPixel@plt>
  movsd  (%rsp),%xmm1
  jmp    L22
L5:
  mov    0x20(%rsp),%edx
  mov    %edx,%eax
  cmp    %edx,0x30(%rsp)
  jge    L41
  sub    0x18(%rsp),%eax
  add    0x38(%rsp),%ebp
L41:
  mov    0x20(%rsp),%ecx
  cmp    %ecx,0x18(%rsp)
  jle    L98
  add    0x1c(%rsp),%eax
  add    0x3c(%rsp),%r12d
  mov    %eax,0x20(%rsp)
L44:
  cmp    0x24(%rsp),%ebp
  jne    L116
  cmp    0x34(%rsp),%r12d
  jne    L116
L56:
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L98:
  mov    %eax,0x20(%rsp)
  jmp    L44
```

tool_calls: name: read_data
arguments: data_tag: D2
type_guessed: byte[8]

tool: {"D2": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

assistant: ```c
void drawLine(int x0, int y0, int x1, int y1, struct graphics *g, double bright, double hue, long long meta, double thick, struct tilecontext *tc) {
  int dx = abs(x1 - x0), sx = (x0 < x1) ? 1 : -1;
  int dy = abs(y1 - y0), sy = (y0 < y1) ? 1 : -1;
  int err = ((dx > dy) ? dx : -dy) / 2, e2;
  while (1) {
    if (x0 == x1 && y0 == y1) {
      break;
    }
    drawPixel(x0, y0, g, bright, hue, meta, tc);
    int n;
    for (n = 1; n < ceil(thick / 2); n++) {
      if (dx > dy) {
        drawPixel(x0, y0 - n, g, bright, hue, meta, tc);
        drawPixel(x0, y0 + n, g, bright, hue, meta, tc);
      } else {
        drawPixel(x0 - n, y0, g, bright, hue, meta, tc);
        drawPixel(x0 + n, y0, g, bright, hue, meta, tc);
      }
    }
    e2 = err;
    if (e2 > -dx) {
      err -= dy;
      x0 += sx;
    }
    if (e2 < dy) {
      err += dx;
      y0 += sy;
    }
  }
}
```