user: 这段汇编代码用C语言表示是什么样的？

```asm
<cast_light>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %rdx,-0x40(%rbp)
  mov    %ecx,-0x44(%rbp)
  mov    %r8d,-0x48(%rbp)
  mov    %r9d,-0x4c(%rbp)
  movss  %xmm0,-0x50(%rbp)
  movss  %xmm1,-0x54(%rbp)
  movss  -0x54(%rbp),%xmm0
  comiss -0x50(%rbp),%xmm0
  ja     L38
  mov    0x18(%rbp),%eax
  mov    %eax,-0x28(%rbp)
  jmp    L204
L88:
  mov    -0x28(%rbp),%eax
  not    %eax
  mov    %eax,-0x24(%rbp)
  mov    -0x28(%rbp),%eax
  neg    %eax
  mov    %eax,-0x18(%rbp)
  movl   $0x0,-0x20(%rbp)
  jmp    L76
L80:
  addl   $0x1,-0x24(%rbp)
  mov    -0x24(%rbp),%eax
  imul   0x28(%rbp),%eax
  mov    %eax,%edx
  mov    -0x4c(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x30(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x14(%rbp)
  mov    -0x24(%rbp),%eax
  imul   0x38(%rbp),%eax
  mov    %eax,%edx
  mov    0x10(%rbp),%eax
  add    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   0x40(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x10(%rbp)
  pxor   %xmm0,%xmm0
  cvtsi2sdl -0x24(%rbp),%xmm0
  movsd  D18(%rip),%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm2,%xmm2
  cvtsi2sdl -0x18(%rbp),%xmm2
  movsd  D18(%rip),%xmm1
  addsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x24(%rbp),%xmm1
  movsd  D18(%rip),%xmm0
  addsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sdl -0x18(%rbp),%xmm1
  movsd  D18(%rip),%xmm2
  subsd  %xmm2,%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x8(%rbp)
  movss  -0x8(%rbp),%xmm0
  comiss -0x50(%rbp),%xmm0
  jbe    L12
  jmp    L76
L12:
  movss  -0x54(%rbp),%xmm0
  comiss -0xc(%rbp),%xmm0
  ja     L159
  mov    -0x10(%rbp),%eax
  imul   -0x34(%rbp),%eax
  mov    %eax,%edx
  mov    -0x14(%rbp),%eax
  add    %edx,%eax
  mov    %eax,-0x4(%rbp)
  mov    -0x24(%rbp),%eax
  imul   %eax,%eax
  mov    %eax,%edx
  mov    -0x18(%rbp),%eax
  imul   %eax,%eax
  add    %eax,%edx
  mov    0x20(%rbp),%eax
  imul   %eax,%eax
  cmp    %eax,%edx
  jge    L48
  cmpl   $0x0,-0x14(%rbp)
  js     L48
  cmpl   $0x0,-0x10(%rbp)
  js     L48
  mov    -0x14(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jge    L48
  mov    -0x10(%rbp),%eax
  cmp    -0x38(%rbp),%eax
  jge    L48
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L48
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x60(%rbp),%rax
  add    %rdx,%rax
  movl   $0x1,(%rax)
  mov    0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x48(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  mov    %eax,(%rdx)
  mov    0x58(%rbp),%rax
  mov    (%rax),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    0x50(%rbp),%rax
  add    %rax,%rdx
  mov    -0x10(%rbp),%eax
  mov    %eax,(%rdx)
  mov    0x58(%rbp),%rax
  mov    (%rax),%eax
  lea    0x1(%rax),%edx
  mov    0x58(%rbp),%rax
  mov    %edx,(%rax)
L48:
  cmpl   $0x0,-0x20(%rbp)
  je     L65
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  xor    -0x44(%rbp),%eax
  and    -0x48(%rbp),%eax
  test   %eax,%eax
  je     L142
  movss  -0x8(%rbp),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  jmp    L76
L142:
  movl   $0x0,-0x20(%rbp)
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,-0x50(%rbp)
  jmp    L76
L65:
  mov    -0x4(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  xor    -0x44(%rbp),%eax
  and    -0x48(%rbp),%eax
  test   %eax,%eax
  je     L76
  mov    -0x28(%rbp),%eax
  cmp    0x20(%rbp),%eax
  jge    L76
  movl   $0x1,-0x20(%rbp)
  mov    -0x28(%rbp),%eax
  lea    0x1(%rax),%r9d
  movss  -0xc(%rbp),%xmm0
  mov    -0x50(%rbp),%edi
  mov    -0x4c(%rbp),%r11d
  mov    -0x48(%rbp),%r10d
  mov    -0x44(%rbp),%ecx
  mov    -0x40(%rbp),%rdx
  mov    -0x38(%rbp),%esi
  mov    -0x34(%rbp),%eax
  sub    $0x8,%rsp
  push   0x60(%rbp)
  push   0x58(%rbp)
  push   0x50(%rbp)
  push   0x48(%rbp)
  mov    0x40(%rbp),%r8d
  push   %r8
  mov    0x38(%rbp),%r8d
  push   %r8
  mov    0x30(%rbp),%r8d
  push   %r8
  mov    0x28(%rbp),%r8d
  push   %r8
  mov    0x20(%rbp),%r8d
  push   %r8
  push   %r9
  mov    0x10(%rbp),%r8d
  push   %r8
  movaps %xmm0,%xmm1
  movd   %edi,%xmm0
  mov    %r11d,%r9d
  mov    %r10d,%r8d
  mov    %eax,%edi
  call   <cast_light>
  add    $0x60,%rsp
  movss  -0x8(%rbp),%xmm0
  movss  %xmm0,-0x1c(%rbp)
L76:
  cmpl   $0x0,-0x24(%rbp)
  jle    L80
  jmp    L32
L159:
  nop
L32:
  cmpl   $0x0,-0x20(%rbp)
  jne    L225
  addl   $0x1,-0x28(%rbp)
L204:
  mov    -0x28(%rbp),%eax
  cmp    0x20(%rbp),%eax
  jle    L88
  jmp    L28
L38:
  nop
  jmp    L28
L225:
  nop
L28:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D18
data_type: f64

tool: D18: 0.5

assistant: ```c
void cast_light(int width, int height, unsigned int *flags, unsigned int flag, unsigned int mask, int cx, int cy, int row, float start, float end, int radius, int xx, int xy, int yx, int yy, int *xs, int *ys, int *n, int *tmp) {
  if (start < end)
    return;
  for (int j = row; j <= radius; ++j) {
    int dx = -j - 1, dy = -j;
    int blocked = 0;
    while (dx <= 0) {
      dx += 1;
      int X = cx + dx * xx + dy * xy;
      int Y = cy + dx * yx + dy * yy;
      float l_slope = (dx - 0.5) / (dy + 0.5);
      float r_slope = (dx + 0.5) / (dy - 0.5);
      float new_start;
      if (start < r_slope) {
        continue;
      } else if (end > l_slope) {
        break;
      } else {
        int IDX = X + Y * width;
        if (dx * dx + dy * dy < radius * radius && X >= 0 && Y >= 0 && X < width && Y < height) {
          if (tmp[IDX] == 0) {
            tmp[IDX] = 1;
            xs[*n] = X;
            ys[*n] = Y;
            (*n) += 1;
          }
        }
        if (blocked) {
          if ((flags[IDX] & mask) != (flag & mask)) {
            new_start = r_slope;
            continue;
          } else {
            blocked = 0;
            start = new_start;
          }
        } else {
          if (((flags[IDX] & mask) != (flag & mask)) && j < radius) {
            blocked = 1;
            cast_light(width, height, flags, flag, mask, cx, cy, j + 1, start, l_slope, radius, xx, xy, yx, yy, xs, ys, n, tmp);
            new_start = r_slope;
          }
        }
      }
    }
    if (blocked) {
      break;
    }
  }
}
```