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

```asm
<lcd_draw_circle>:
  endbr64
  push   %r15
  mov    $0x1,%eax
  mov    %edi,%r9d
  push   %r14
  sub    %edx,%eax
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %r8d,%ebp
  push   %rbx
  xor    %ebx,%ebx
  sub    $0x38,%rsp
  mov    %eax,0xc(%rsp)
  lea    (%rsi,%rdx,1),%eax
  mov    %eax,0x18(%rsp)
  lea    (%rdi,%rdx,1),%eax
  mov    %cl,0x23(%rsp)
  mov    %eax,0x14(%rsp)
  mov    %esi,0x1c(%rsp)
  xchg   %ax,%ax
L42:
  mov    0x1c(%rsp),%eax
  mov    %r9d,%r15d
  mov    %r9d,%r13d
  mov    %r9d,0x2c(%rsp)
  sub    %ebx,%r15d
  sub    %r12d,%r13d
  lea    (%rbx,%r9,1),%r10d
  mov    %eax,%r14d
  lea    (%rbx,%rax,1),%r11d
  sub    %r12d,%eax
  sub    %ebx,%r14d
  cmpb   $0x0,0x23(%rsp)
  mov    %eax,0x10(%rsp)
  je     L1
  mov    0x18(%rsp),%esi
  mov    %r10d,%edx
  mov    %r15d,%edi
  mov    %ebp,%r8d
  mov    %r10d,0x24(%rsp)
  mov    %esi,%ecx
  mov    %r11d,0x28(%rsp)
  call   <lcd_draw_line@plt>
  mov    0x10(%rsp),%ecx
  mov    0x24(%rsp),%edx
  mov    %r15d,%edi
  mov    %ebp,%r8d
  mov    %ecx,%esi
  call   <lcd_draw_line@plt>
  mov    0x28(%rsp),%r11d
  mov    %ebp,%r8d
  mov    %r13d,%edi
  mov    0x14(%rsp),%r15d
  mov    %r11d,%ecx
  mov    %r11d,%esi
  mov    %r15d,%edx
  call   <lcd_draw_line@plt>
  mov    %r14d,%ecx
  mov    %ebp,%r8d
  mov    %r15d,%edx
  mov    %r14d,%esi
  mov    %r13d,%edi
  call   <lcd_draw_line@plt>
  mov    0xc(%rsp),%ecx
  mov    0x2c(%rsp),%r9d
  lea    0x1(%rbx),%eax
  test   %ecx,%ecx
  js     L40
L18:
  sub    %r12d,%ebx
  lea    -0x1(%r12),%edx
  lea    0x5(%rcx,%rbx,2),%edi
  mov    %edi,0xc(%rsp)
  cmp    %eax,%edx
  jl     L55
  mov    0x1c(%rsp),%ebx
  mov    %edx,%r12d
  lea    (%r9,%r12,1),%edi
  lea    (%rbx,%rdx,1),%edx
  mov    %edi,0x14(%rsp)
  mov    %edx,0x18(%rsp)
L19:
  mov    %eax,%ebx
  jmp    L42
  nopl   0x0(%rax,%rax,1)
L1:
  mov    0x18(%rsp),%esi
  mov    %r10d,%edi
  mov    %ebp,%edx
  mov    %r11d,0x24(%rsp)
  mov    %r10d,0x28(%rsp)
  call   <lcd_write_pixel@plt>
  mov    0x24(%rsp),%esi
  mov    0x14(%rsp),%edi
  mov    %ebp,%edx
  call   <lcd_write_pixel@plt>
  mov    0x18(%rsp),%esi
  mov    %ebp,%edx
  mov    %r15d,%edi
  call   <lcd_write_pixel@plt>
  mov    0x24(%rsp),%esi
  mov    %ebp,%edx
  mov    %r13d,%edi
  call   <lcd_write_pixel@plt>
  mov    0x14(%rsp),%edi
  mov    %ebp,%edx
  mov    %r14d,%esi
  call   <lcd_write_pixel@plt>
  mov    0x10(%rsp),%esi
  mov    0x28(%rsp),%edi
  mov    %ebp,%edx
  call   <lcd_write_pixel@plt>
  mov    0x10(%rsp),%esi
  mov    %ebp,%edx
  mov    %r15d,%edi
  call   <lcd_write_pixel@plt>
  mov    %ebp,%edx
  mov    %r14d,%esi
  mov    %r13d,%edi
  call   <lcd_write_pixel@plt>
  mov    0xc(%rsp),%ecx
  mov    0x2c(%rsp),%r9d
  lea    0x1(%rbx),%eax
  test   %ecx,%ecx
  jns    L18
L40:
  lea    0x1(%rcx,%rax,2),%ebx
  mov    %ebx,0xc(%rsp)
  cmp    %eax,%r12d
  jge    L19
L55:
  add    $0x38,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
void lcd_draw_circle(unsigned int x0, unsigned int y0, unsigned int radius, char fill, int color) {
  int x_offset, y_offset, error;
  x_offset = 0;
  y_offset = radius;
  error = 1 - radius;
  do {
    if (fill) {
      lcd_draw_line(x0 - x_offset, y0 + y_offset, x0 + x_offset, y0 + y_offset, color);
      lcd_draw_line(x0 - x_offset, y0 - y_offset, x0 + x_offset, y0 - y_offset, color);
      lcd_draw_line(x0 - y_offset, y0 + x_offset, x0 + y_offset, y0 + x_offset, color);
      lcd_draw_line(x0 - y_offset, y0 - x_offset, x0 + y_offset, y0 - x_offset, color);
    } else {
      lcd_write_pixel(x_offset + x0, y_offset + y0, color);
      lcd_write_pixel(y_offset + x0, x_offset + y0, color);
      lcd_write_pixel(x0 - x_offset, y_offset + y0, color);
      lcd_write_pixel(x0 - y_offset, x_offset + y0, color);
      lcd_write_pixel(y_offset + x0, y0 - x_offset, color);
      lcd_write_pixel(x_offset + x0, y0 - y_offset, color);
      lcd_write_pixel(x0 - x_offset, y0 - y_offset, color);
      lcd_write_pixel(x0 - y_offset, y0 - x_offset, color);
    }
    if (error < 0)
      error += (3 + (2 * (x_offset++)));
    else
      error += (5 + (2 * ((x_offset++) - (y_offset--))));
  } while (x_offset <= y_offset);
}
```