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

```asm
<draw_box>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %edi,-0x14(%rbp)
  mov    %esi,-0x18(%rbp)
  mov    %edx,-0x1c(%rbp)
  mov    %ecx,-0x20(%rbp)
  mov    -0x18(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x8(%rbp)
  jmp    L62
L12:
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  mov    %eax,-0x4(%rbp)
  jmp    L23
L54:
  mov    -0x4(%rbp),%esi
  mov    -0x8(%rbp),%eax
  mov    $0x20,%ecx
  mov    $0xe,%edx
  mov    %eax,%edi
  call   <Term_putch@plt>
  addl   $0x1,-0x4(%rbp)
L23:
  mov    -0x14(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x4(%rbp)
  jl     L54
  addl   $0x1,-0x8(%rbp)
L62:
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8(%rbp)
  jl     L12
  mov    -0x18(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  jmp    L44
L31:
  mov    -0x8(%rbp),%edx
  mov    -0x14(%rbp),%eax
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0xe,%edi
  call   <c_put_str@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%eax
  mov    %eax,%ecx
  lea    D35(%rip),%rax
  mov    %rax,%rsi
  mov    $0xe,%edi
  call   <c_put_str@plt>
  addl   $0x1,-0x8(%rbp)
L44:
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8(%rbp)
  jl     L31
  mov    -0x14(%rbp),%eax
  mov    %eax,-0x8(%rbp)
  jmp    L34
L26:
  mov    -0x18(%rbp),%edx
  mov    -0x8(%rbp),%eax
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D21(%rip),%rax
  mov    %rax,%rsi
  mov    $0xe,%edi
  call   <c_put_str@plt>
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %eax,%edx
  mov    -0x8(%rbp),%eax
  mov    %edx,%ecx
  mov    %eax,%edx
  lea    D21(%rip),%rax
  mov    %rax,%rsi
  mov    $0xe,%edi
  call   <c_put_str@plt>
  addl   $0x1,-0x8(%rbp)
L34:
  mov    -0x14(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  add    %edx,%eax
  cmp    %eax,-0x8(%rbp)
  jl     L26
  mov    -0x14(%rbp),%esi
  mov    -0x18(%rbp),%eax
  mov    $0x2f,%ecx
  mov    $0xe,%edx
  mov    %eax,%edi
  call   <Term_putch@plt>
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  lea    (%rdx,%rax,1),%edi
  mov    -0x14(%rbp),%eax
  mov    $0x5c,%ecx
  mov    $0xe,%edx
  mov    %eax,%esi
  call   <Term_putch@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x18(%rbp),%eax
  mov    $0x5c,%ecx
  mov    $0xe,%edx
  mov    %eax,%edi
  call   <Term_putch@plt>
  mov    -0x14(%rbp),%edx
  mov    -0x1c(%rbp),%eax
  lea    (%rdx,%rax,1),%esi
  mov    -0x18(%rbp),%edx
  mov    -0x20(%rbp),%eax
  add    %edx,%eax
  mov    $0x2f,%ecx
  mov    $0xe,%edx
  mov    %eax,%edi
  call   <Term_putch@plt>
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D35
type: string
name: read_data
arguments: label: D21
type: string

tool: D35: -

tool: D21: |

assistant: ```c
void draw_box(int y, int x, int h, int w) {
  int i, j;
  for (i = x + 1; i < x + w; i++)
    for (j = y + 1; j < y + h; j++)
      Term_putch(i, j, 14, ' ');
  for (i = x; i < x + w; i++) {
    c_put_str(14, "-", y, i);
    c_put_str(14, "-", y + h, i);
  }
  for (i = y; i < y + h; i++) {
    c_put_str(14, "|", i, x);
    c_put_str(14, "|", i, x + w);
  }
  Term_putch(x, y, 14, '/');
  Term_putch(x + w, y, 14, '\\');
  Term_putch(x, y + h, 14, '\\');
  Term_putch(x + w, y + h, 14, '/');
}
```