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

```asm
<lpc10_placea>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x60,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %ecx,-0x4c(%rbp)
  mov    %r8,-0x58(%rbp)
  mov    %r9,-0x60(%rbp)
  mov    -0x4c(%rbp),%eax
  sub    $0x2,%eax
  imul   0x18(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x20(%rbp)
  mov    -0x4c(%rbp),%eax
  imul   0x18(%rbp),%eax
  mov    %eax,-0x1c(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x10(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  cmp    $0x1,%eax
  jne    L99
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  jne    L99
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  cmp    $0x1,%eax
  jne    L99
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  jne    L99
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  cmp    $0x1,%eax
  jne    L99
  mov    $0x1,%eax
  jmp    L98
L99:
  mov    $0x0,%eax
L98:
  mov    %eax,-0x18(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  je     L186
  mov    -0x4c(%rbp),%eax
  cltq
  lea    0x0(,%rax,8),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  cmp    $0x1,%eax
  jne    L173
L186:
  mov    $0x1,%eax
  jmp    L221
L173:
  mov    $0x0,%eax
L221:
  mov    %eax,-0x14(%rbp)
  cmpl   $0x0,-0x18(%rbp)
  jne    L237
  cmpl   $0x0,-0x14(%rbp)
  je     L160
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  jne    L160
L237:
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  lea    -0x1(%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x10(%rax),%rcx
  mov    -0x60(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  mov    %edx,%ecx
  sub    %eax,%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edi
  mov    %ecx,%eax
  cltd
  idiv   %edi
  mov    %eax,-0x10(%rbp)
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    -0x10(%rbp),%edx
  imul   %edx,%eax
  mov    %eax,-0x10(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x10(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  add    %eax,-0x10(%rbp)
  mov    0x20(%rbp),%eax
  mov    %eax,-0xc(%rbp)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x58(%rbp),%rax
  add    %rcx,%rax
  mov    0x4(%rax),%eax
  add    %edx,%eax
  add    $0x1,%eax
  sub    -0xc(%rbp),%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,-0x8(%rbp)
  mov    -0x8(%rbp),%eax
  sub    -0x10(%rbp),%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movaps %xmm0,%xmm1
  divss  %xmm2,%xmm1
  movss  D6(%rip),%xmm0
  addss  %xmm0,%xmm1
  movd   %xmm1,%eax
  movd   %eax,%xmm0
  call   <floorf@plt>
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  mov    %edx,%ecx
  imul   %eax,%ecx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    -0x10(%rbp),%edx
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0xc(%rbp),%eax
  add    %eax,%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x60(%rbp),%rax
  add    %rcx,%rax
  sub    $0x1,%edx
  mov    %edx,0x4(%rax)
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  jle    L96
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x58(%rbp),%rax
  add    %rcx,%rax
  mov    0x4(%rax),%eax
  cmp    %eax,%edx
  jle    L96
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  sub    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  sub    %ecx,%edx
  mov    %edx,0x4(%rax)
L96:
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x1,%eax
  je     L255
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x3,%eax
  jne    L107
L255:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    -0x58(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  cmp    %eax,%edx
  jge    L107
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,0x4(%rax)
  jmp    L107
L113:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  sub    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%ecx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  sub    %ecx,%edx
  mov    %edx,0x4(%rax)
L107:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  cmp    %eax,-0x1c(%rbp)
  jl     L113
  jmp    L97
L278:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rsi
  mov    -0x60(%rbp),%rax
  add    %rsi,%rax
  add    %ecx,%edx
  mov    %edx,0x4(%rax)
L97:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    %eax,-0x20(%rbp)
  jg     L278
  movl   $0x1,-0x24(%rbp)
  jmp    L65
L160:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x60(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x60(%rbp),%rdx
  add    %rcx,%rdx
  mov    0x4(%rax),%eax
  mov    %eax,0x4(%rdx)
  movl   $0x0,-0x24(%rbp)
L65:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    -0x60(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rdx),%edx
  sub    %edx,%eax
  lea    0x1(%rax),%ecx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%edi
  mov    %ecx,%eax
  cltd
  idiv   %edi
  mov    %eax,%edx
  mov    -0x38(%rbp),%rax
  mov    (%rax),%eax
  imul   %edx,%eax
  mov    %eax,-0x4(%rbp)
  cmpl   $0x0,-0x4(%rbp)
  je     L116
  cmpl   $0x0,-0x14(%rbp)
  jne    L83
L116:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x58(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    0x4(%rax),%eax
  mov    %eax,0x4(%rdx)
  jmp    L26
L83:
  cmpl   $0x0,-0x24(%rbp)
  jne    L5
  mov    -0x48(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0x2,%eax
  jne    L5
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    0x4(%rax),%eax
  sub    -0x4(%rbp),%eax
  mov    %eax,%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  add    $0x1,%edx
  mov    %edx,(%rax)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    0x4(%rax),%eax
  mov    %eax,0x4(%rdx)
  jmp    L26
L5:
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    -0x4c(%rbp),%edx
  movslq %edx,%rdx
  shl    $0x3,%rdx
  lea    -0x8(%rdx),%rcx
  mov    0x10(%rbp),%rdx
  add    %rcx,%rdx
  mov    (%rax),%eax
  mov    %eax,(%rdx)
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rdx
  mov    -0x60(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0x4(%rbp),%eax
  add    %eax,%edx
  mov    -0x4c(%rbp),%eax
  cltq
  shl    $0x3,%rax
  lea    -0x8(%rax),%rcx
  mov    0x10(%rbp),%rax
  add    %rcx,%rax
  sub    $0x1,%edx
  mov    %edx,0x4(%rax)
  nop
L26:
  nop
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D6
data_type: byte[4]

tool: {"D6": [0x00,0x00,0x00,0x3f]}

assistant: ```c
void lpc10_placea(int32_t *ipitch, int32_t voibuf[3][2], int32_t *obound, int32_t af, int32_t vwin[3][2], int32_t awin[3][2], int32_t ewin[3][2], int32_t lframe, int32_t maxwin) {
  int allv;
  int winv;
  int32_t i;
  int32_t j;
  int32_t k;
  int32_t l;
  int32_t hrange;
  int ephase;
  int32_t lrange;
  lrange = (af - 2) * lframe + 1;
  hrange = af * lframe;
  allv = voibuf[af - 2][1] == 1 && voibuf[af - 1][0] == 1 && voibuf[af - 1][1] == 1 && voibuf[af][0] == 1 && voibuf[af][1] == 1;
  winv = voibuf[af][0] == 1 || voibuf[af][1] == 1;
  if (allv || (winv && *obound == 0)) {
    i = (lrange + *ipitch - 1 - awin[af - 2][0]) / *ipitch;
    i *= *ipitch;
    i += awin[af - 2][0];
    l = maxwin;
    k = (vwin[af - 1][0] + vwin[af - 1][1] + 1 - l) / 2;
    awin[af - 1][0] = i + ((int)floorf((float)(k - i) / (float)*ipitch + 0.5f)) * (*ipitch);
    awin[af - 1][1] = awin[af - 1][0] + l - 1;
    if (*obound >= 2 && awin[af - 1][1] > vwin[af - 1][1]) {
      awin[af - 1][0] -= *ipitch;
      awin[af - 1][1] -= *ipitch;
    }
    if ((*obound == 1 || *obound == 3) && awin[af - 1][0] < vwin[af - 1][0]) {
      awin[af - 1][0] += *ipitch;
      awin[af - 1][1] += *ipitch;
    }
    while (awin[af - 1][1] > hrange) {
      awin[af - 1][0] -= *ipitch;
      awin[af - 1][1] -= *ipitch;
    }
    while (awin[af - 1][0] < lrange) {
      awin[af - 1][0] += *ipitch;
      awin[af - 1][1] += *ipitch;
    }
    ephase = (!0);
  } else {
    awin[af - 1][0] = vwin[af - 1][0];
    awin[af - 1][1] = vwin[af - 1][1];
    ephase = 0;
  }
  j = (awin[af - 1][1] - awin[af - 1][0] + 1) / *ipitch * *ipitch;
  if (j == 0 || !winv) {
    ewin[af - 1][0] = vwin[af - 1][0];
    ewin[af - 1][1] = vwin[af - 1][1];
  } else if (!ephase && *obound == 2) {
    ewin[af - 1][0] = awin[af - 1][1] - j + 1;
    ewin[af - 1][1] = awin[af - 1][1];
  } else {
    ewin[af - 1][0] = awin[af - 1][0];
    ewin[af - 1][1] = awin[af - 1][0] + j - 1;
  }
}
```