user: 请将以下的汇编代码转换成C语言代码:

```asm
<lu>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x24(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  movl   $0x0,-0x14(%rbp)
  jmp    L29
L32:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x30(%rbp),%rax
  add    %rax,%rdx
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rcx
  mov    -0x40(%rbp),%rax
  add    %rcx,%rax
  movsd  (%rdx),%xmm0
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x24(%rbp)
  mov    %eax,%ecx
  mov    -0x14(%rbp),%eax
  cltd
  idivl  -0x24(%rbp)
  mov    %edx,%eax
  cmp    %eax,%ecx
  jne    L44
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  D4(%rip),%xmm0
  movsd  %xmm0,(%rax)
  jmp    L83
L44:
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,(%rax)
L83:
  addl   $0x1,-0x14(%rbp)
L29:
  mov    -0x24(%rbp),%eax
  imul   %eax,%eax
  cmp    %eax,-0x14(%rbp)
  jl     L32
  movl   $0x0,-0x10(%rbp)
  jmp    L99
L43:
  mov    -0x10(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x14(%rbp)
  jmp    L0
L75:
  mov    -0x14(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movq   D17(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  mov    -0x10(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,-0x8(%rbp)
  mov    -0x10(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  jmp    L50
L96:
  mov    -0x10(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  movapd %xmm0,%xmm1
  mulsd  -0x8(%rbp),%xmm1
  mov    -0x14(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movsd  (%rax),%xmm0
  mov    -0x14(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0xc(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  addsd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0xc(%rbp)
L50:
  mov    -0xc(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L96
  mov    -0x14(%rbp),%eax
  imul   -0x24(%rbp),%eax
  mov    %eax,%edx
  mov    -0x10(%rbp),%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movsd  -0x8(%rbp),%xmm0
  movq   D17(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,(%rax)
  addl   $0x1,-0x14(%rbp)
L0:
  mov    -0x14(%rbp),%eax
  cmp    -0x24(%rbp),%eax
  jl     L75
  addl   $0x1,-0x10(%rbp)
L99:
  mov    -0x24(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,-0x10(%rbp)
  jl     L43
  nop
  nop
  pop    %rbp
  ret
```

tool_calls: name: parse_data
arguments: data_tag: D4
type_infered: byte[8]
name: parse_data
arguments: data_tag: D17
type_infered: byte[8]

tool: {"D4": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D17": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80]}

assistant: ```c
void lu(int n, double *a, double *l, double *u) {
  int i, j, k;
  for (i = 0; i < n * n; i++) {
    u[i] = a[i];
    if ((i / n) == (i % n))
      l[i] = 1;
    else
      l[i] = 0;
  }
  for (j = 0; j < n - 1; j++) {
    for (i = j + 1; i < n; i++) {
      double m = -u[i * n + j] / u[j * n + j];
      for (k = j; k < n; k++)
        u[i * n + k] = (m * u[j * n + k]) + u[i * n + k];
      l[i * n + j] = -m;
    }
  }
}
```