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

```asm
<cmd_mvwchgat>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x34(%rbp),%eax
  mov    $0x6,%esi
  mov    %eax,%edi
  call   <check_arg_count@plt>
  cmp    $0x1,%eax
  je     L121
  mov    -0x40(%rbp),%rax
  mov    (%rax),%rax
  lea    -0x10(%rbp),%rdx
  lea    D42(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L64
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L64:
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  lea    -0x24(%rbp),%rdx
  lea    D62(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L61
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L61:
  mov    -0x40(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  lea    -0x20(%rbp),%rdx
  lea    D62(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L106
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L106:
  mov    -0x40(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  lea    -0x1c(%rbp),%rdx
  lea    D62(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L24
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L24:
  mov    -0x40(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  lea    -0x18(%rbp),%rdx
  lea    D62(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L35
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L35:
  mov    -0x40(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  lea    -0x14(%rbp),%rdx
  lea    D62(%rip),%rcx
  mov    %rcx,%rsi
  mov    %rax,%rdi
  call   <sscanf@plt>
  test   %rax,%rax
  jne    L57
  mov    $0x1,%edi
  call   <report_count@plt>
  lea    D92(%rip),%rax
  mov    %rax,%rdi
  call   <report_error@plt>
  jmp    L131
L57:
  mov    $0x1,%edi
  call   <report_count@plt>
  mov    -0x14(%rbp),%r8d
  mov    -0x18(%rbp),%edi
  mov    -0x1c(%rbp),%ecx
  mov    -0x20(%rbp),%edx
  mov    -0x24(%rbp),%esi
  mov    -0x10(%rbp),%rax
  sub    $0x8,%rsp
  push   $0x0
  mov    %r8d,%r9d
  mov    %edi,%r8d
  mov    %rax,%rdi
  call   <mvwchgat@plt>
  add    $0x10,%rsp
  mov    %eax,%edi
  call   <report_return@plt>
  jmp    L131
L121:
  nop
L131:
  mov    -0x8(%rbp),%rax
  sub    %fs:0x28,%rax
  je     L31
  call   <__stack_chk_fail@plt>
L31:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: label: D42
data_type: string
name: retrieve_data
arguments: label: D92
data_type: string
name: retrieve_data
arguments: label: D62
data_type: string

tool: D42: %p

tool: D92: BAD ARGUMENT

tool: D62: %d

assistant: ```c
void cmd_mvwchgat(int nargs, char **args) {
  WINDOW *win;
  int y, x, n, attr, colour;
  if (check_arg_count(nargs, 6) == 1)
    return;
  if (sscanf(args[0], "%p", &win) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  if (sscanf(args[1], "%d", &y) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  if (sscanf(args[2], "%d", &x) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  if (sscanf(args[3], "%d", &n) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  if (sscanf(args[4], "%d", &attr) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  if (sscanf(args[5], "%d", &colour) == 0) {
    report_count(1);
    report_error("BAD ARGUMENT");
    return;
  }
  report_count(1);
  report_return(mvwchgat(win, y, x, n, attr, colour, NULL));
}
```