user: What is the c source code of the assembly code below?

```asm
<mandel>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  movl   $0x50,-0x3c(%rbp)
  movl   $0x28,-0x38(%rbp)
  movl   $0x64,-0x34(%rbp)
  movl   $0x0,-0x48(%rbp)
  jmp    L66
L62:
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x48(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x38(%rbp),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D59(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D29(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movl   $0x0,-0x44(%rbp)
  jmp    L46
L63:
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x44(%rbp),%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x3c(%rbp),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  D59(%rip),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  D29(%rip),%xmm1
  subsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movb   $0x23,-0x49(%rbp)
  movl   $0x0,-0x40(%rbp)
  jmp    L21
L29:
  movsd  -0x30(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  movsd  -0x28(%rbp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  movsd  -0x10(%rbp),%xmm0
  movapd %xmm0,%xmm1
  addsd  -0x8(%rbp),%xmm1
  movsd  D59(%rip),%xmm0
  subsd  %xmm1,%xmm0
  movapd %xmm0,%xmm1
  mov    D43(%rip),%rax
  movq   %rax,%xmm0
  call   <fmax@plt>
  movq   %xmm0,%rax
  pxor   %xmm0,%xmm0
  movq   %rax,%xmm3
  ucomisd %xmm0,%xmm3
  jp     L55
  pxor   %xmm0,%xmm0
  movq   %rax,%xmm4
  ucomisd %xmm0,%xmm4
  je     L35
L55:
  movsd  -0x30(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  mulsd  -0x28(%rbp),%xmm0
  movsd  -0x20(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x28(%rbp)
  movsd  -0x10(%rbp),%xmm0
  subsd  -0x8(%rbp),%xmm0
  movsd  -0x18(%rbp),%xmm1
  addsd  %xmm1,%xmm0
  movsd  %xmm0,-0x30(%rbp)
  jmp    L30
L35:
  movb   $0x2e,-0x49(%rbp)
  jmp    L58
L30:
  addl   $0x1,-0x40(%rbp)
L21:
  mov    -0x40(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jne    L29
L58:
  movsbl -0x49(%rbp),%eax
  mov    %eax,%edi
  call   <putchar@plt>
  addl   $0x1,-0x44(%rbp)
L46:
  mov    -0x44(%rbp),%eax
  cmp    -0x3c(%rbp),%eax
  jne    L63
  mov    $0xa,%edi
  call   <putchar@plt>
  addl   $0x1,-0x48(%rbp)
L66:
  mov    -0x48(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jne    L62
  nop
  nop
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D59
type: f64
name: disassemble_data
arguments: label: D29
type: f64
name: disassemble_data
arguments: label: D43
type: f64

tool: D59: 4

tool: D29: 2

tool: D43: 0

assistant: ```c
void mandel(void) {
  int w = 80;
  int h = 40;
  int iter = 100;
  int i, j, k;
  double x0, y0, xx, yy, xx2, yy2;
  char c;
  for (i = 0; i - h; i += 1) {
    y0 = ((double)i / (double)h) * 4.0 - 2.0;
    for (j = 0; j - w; j += 1) {
      x0 = ((double)j / (double)w) * 4.0 - 2.0;
      xx = 0.0;
      yy = 0.0;
      c = '#';
      for (k = 0; k - iter; k += 1) {
        xx2 = xx * xx;
        yy2 = yy * yy;
        if (fmax(0.0, 4.0 - (xx2 + yy2)) != 0.0) {
          yy = 2 * xx * yy + y0;
          xx = xx2 - yy2 + x0;
        } else {
          c = '.';
          break;
        }
      }
      printf("%c", c);
    }
    printf("\n");
  }
}
```