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

```asm
<irr_grid2ll>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x48(%rbp)
  mov    %rsi,-0x50(%rbp)
  mov    %rdx,-0x58(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x2c(%rbp),%r8
  lea    -0x30(%rbp),%rdi
  lea    -0x28(%rbp),%rcx
  lea    -0x34(%rbp),%rdx
  lea    -0x38(%rbp),%rsi
  mov    -0x48(%rbp),%rax
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  call   <get_nxny@plt>
  mov    -0x28(%rbp),%eax
  test   %eax,%eax
  jne    L43
  mov    $0x0,%eax
  jmp    L49
L43:
  mov    -0x28(%rbp),%eax
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    -0x50(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x50(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L61
  lea    D4(%rip),%rax
  mov    %rax,%rsi
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <fatal_error@plt>
L61:
  mov    -0x28(%rbp),%eax
  shl    $0x3,%eax
  mov    %eax,%edi
  call   <malloc@plt>
  mov    %rax,%rdx
  mov    -0x58(%rbp),%rax
  mov    %rdx,(%rax)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%rax
  test   %rax,%rax
  jne    L57
  lea    D4(%rip),%rax
  mov    %rax,%rsi
  lea    D25(%rip),%rax
  mov    %rax,%rdi
  call   <fatal_error@plt>
L57:
  mov    -0x50(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x20(%rbp)
  mov    -0x58(%rbp),%rax
  mov    (%rax),%rax
  mov    %rax,-0x18(%rbp)
  mov    -0x48(%rbp),%rax
  mov    0x18(%rax),%rax
  mov    %rax,-0x10(%rbp)
  movl   $0x0,-0x24(%rbp)
  jmp    L11
L66:
  mov    -0x24(%rbp),%eax
  shl    $0x3,%eax
  mov    %eax,%eax
  lea    0x1e(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rdi
  call   <int4@plt>
  mov    -0x20(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x20(%rbp)
  movsd  D52(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x24(%rbp),%eax
  shl    $0x3,%eax
  mov    %eax,%eax
  lea    0x22(%rax),%rdx
  mov    -0x10(%rbp),%rax
  add    %rdx,%rax
  mov    %rax,%rdi
  call   <int4@plt>
  mov    -0x18(%rbp),%rax
  lea    0x8(%rax),%rdx
  mov    %rdx,-0x18(%rbp)
  movsd  D52(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x24(%rbp)
L11:
  mov    -0x28(%rbp),%eax
  cmp    %eax,-0x24(%rbp)
  jb     L66
  mov    $0x0,%eax
L49:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L32
  call   <__stack_chk_fail@plt>
L32:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_tag: D4
data_type: string
name: disassemble_data
arguments: data_tag: D25
data_type: string
name: disassemble_data
arguments: data_tag: D52
data_type: byte[8]

tool: 

tool: D25: space_view2ll memory allocation failed

tool: {"D52": [0x8d,0xed,0xb5,0xa0,0xf7,0xc6,0xb0,0x3e]}

assistant: ```c
int irr_grid2ll(unsigned char **sec, double **lat, double **lon) {
  unsigned char *gds;
  double *llat, *llon;
  int nnx, nny, nres, nscan;
  unsigned int i, nnpnts;
  get_nxny(sec, &nnx, &nny, &nnpnts, &nres, &nscan);
  if (nnpnts == 0)
    return 0;
  if ((*lat = (double *)malloc(sizeof(double) * (size_t)nnpnts)) == NULL) {
    fatal_error("space_view2ll memory allocation failed", "");
  }
  if ((*lon = (double *)malloc(sizeof(double) * (size_t)nnpnts)) == NULL) {
    fatal_error("space_view2ll memory allocation failed", "");
  }
  llat = *lat;
  llon = *lon;
  gds = sec[3];
  for (i = 0; i < nnpnts; i++) {
    *llat++ = (double)1e-6 * int4(gds + 30 + i * 8);
    *llon++ = (double)1e-6 * int4(gds + 34 + i * 8);
  }
  return 0;
}
```