user: 下面的汇编指令对应的C源代码是什么：

```asm
<aeskw_test>:
  endbr64
  push   %r15
  push   %r14
  mov    %esi,%r14d
  push   %r13
  mov    %rdi,%r13
  lea    D3(%rip),%rdi
  push   %r12
  mov    %ecx,%r12d
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %r8,%rbx
  sub    $0x838,%rsp
  mov    %r9d,0xc(%rsp)
  lea    0x20(%rsp),%r15
  mov    %fs:0x28,%rax
  mov    %rax,0x828(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  sub    $0x8,%rsp
  mov    %r14d,%esi
  mov    %r13,%rdi
  lea    0x20(%rsp),%rax
  mov    %r15,%r9
  xor    %r8d,%r8d
  mov    %r12d,%ecx
  push   %rax
  mov    %rbp,%rdx
  call   <aes_key_wrap@plt>
  pop    %rsi
  pop    %rdi
  test   %rax,%rax
  jne    L24
  lea    D105(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%esi
  cmp    0xc(%rsp),%esi
  jne    L71
  lea    D27(%rip),%rdi
  call   <puts@plt>
  mov    0x18(%rsp),%edx
  test   %edx,%edx
  je     L188
  xor    %eax,%eax
  jmp    L3
  nopl   0x0(%rax,%rax,1)
L48:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L188
L3:
  movzbl (%rbx,%rax,1),%ecx
  cmp    %cl,(%r15,%rax,1)
  je     L48
  lea    D52(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
L16:
  mov    0x828(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L63
  add    $0x838,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L188:
  lea    D74(%rip),%rdi
  lea    0x420(%rsp),%rbx
  call   <puts@plt>
  push   $0x0
  mov    %r15,%rdx
  mov    %rbx,%r9
  xor    %r8d,%r8d
  mov    %r14d,%esi
  mov    %r13,%rdi
  lea    0x24(%rsp),%rax
  push   %rax
  mov    0x28(%rsp),%ecx
  call   <aes_key_unwrap@plt>
  pop    %rdx
  pop    %rcx
  test   %rax,%rax
  jne    L54
  lea    D70(%rip),%rdi
  call   <puts@plt>
  mov    0x1c(%rsp),%esi
  cmp    %r12d,%esi
  jne    L59
  lea    D2(%rip),%rdi
  call   <puts@plt>
  mov    0x1c(%rsp),%edx
  test   %edx,%edx
  je     L104
  xor    %eax,%eax
  jmp    L5
L72:
  add    $0x1,%rax
  cmp    %rdx,%rax
  je     L104
L5:
  movzbl (%rbx,%rax,1),%esi
  cmp    %sil,0x0(%rbp,%rax,1)
  je     L72
  lea    D111(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
  jmp    L16
  nopw   0x0(%rax,%rax,1)
L104:
  xor    %eax,%eax
  jmp    L16
L71:
  mov    0xc(%rsp),%edx
  lea    D90(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L16
L24:
  lea    D50(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
  jmp    L16
L59:
  mov    %r12d,%edx
  lea    D107(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    $0xffffffff,%eax
  jmp    L16
L54:
  lea    D58(%rip),%rdi
  call   <puts@plt>
  mov    $0xffffffff,%eax
  jmp    L16
L63:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D3
type: string
name: unpack_data
arguments: data_tag: D105
type: string
name: unpack_data
arguments: data_tag: D27
type: string
name: unpack_data
arguments: data_tag: D52
type: string
name: unpack_data
arguments: data_tag: D74
type: string
name: unpack_data
arguments: data_tag: D70
type: string
name: unpack_data
arguments: data_tag: D2
type: string
name: unpack_data
arguments: data_tag: D111
type: string
name: unpack_data
arguments: data_tag: D90
type: string
name: unpack_data
arguments: data_tag: D50
type: string
name: unpack_data
arguments: data_tag: D107
type: string
name: unpack_data
arguments: data_tag: D58
type: string

tool: D3: Encrypting using aes_key_wrap()

tool: D105: Checking known ciphertext

tool: D27: Encrypted lengths match

tool: D52: Error: ciphertext does not match expected

tool: D74: Decrypting using aes_key_unwrap()

tool: D70: Checking aes_key_unwrap()

tool: D2: Decrypted lengths match

tool: D111: Error: plaintext does not match expected

tool: D90: Error: ciphertext length (%i) does not match expected (%i)


tool: D50: Error encrypting using aes_key_wrap()

tool: D107: Error: Plaintext length (%i) does not match expected (%i)


tool: D58: Error decrypting using aes_key_unwrap()

assistant: ```c
int aeskw_test(const unsigned char *key, unsigned int key_length, const unsigned char *plaintext, unsigned int plaintext_length, const unsigned char *expected_ciphertext, unsigned int expected_ciphertext_length) {
  unsigned char ciphertext[1024];
  unsigned char plaintext_check[1024];
  unsigned int ciphertext_length;
  unsigned int plaintext_check_length;
  int i;
  const unsigned char *p1, *p2;
  printf("Encrypting using aes_key_wrap()\n");
  if (aes_key_wrap(key, key_length, plaintext, plaintext_length, NULL, ciphertext, &ciphertext_length)) {
    printf("Error encrypting using aes_key_wrap()\n");
    return (-1);
  }
  printf("Checking known ciphertext\n");
  if (ciphertext_length != expected_ciphertext_length) {
    printf("Error: ciphertext length (%i) does not match "
           "expected (%i)\n",
           ciphertext_length, expected_ciphertext_length);
    return (-1);
  } else {
    printf("Encrypted lengths match\n");
  }
  for (i = 0, p1 = ciphertext, p2 = expected_ciphertext; i < ciphertext_length; i++) {
    if (*(p1++) != *(p2++)) {
      printf("Error: ciphertext does not match expected\n");
      return (-1);
    }
  }
  printf("Decrypting using aes_key_unwrap()\n");
  if (aes_key_unwrap(key, key_length, ciphertext, ciphertext_length, NULL, plaintext_check, &plaintext_check_length, NULL)) {
    printf("Error decrypting using aes_key_unwrap()\n");
    return (-1);
  }
  printf("Checking aes_key_unwrap()\n");
  if (plaintext_check_length != plaintext_length) {
    printf("Error: Plaintext length (%i) does not match "
           "expected (%i)\n",
           plaintext_check_length, plaintext_length);
    return (-1);
  } else {
    printf("Decrypted lengths match\n");
  }
  for (i = 0, p1 = plaintext, p2 = plaintext_check; i < plaintext_check_length; i++) {
    if (*(p1++) != *(p2++)) {
      printf("Error: plaintext does not match expected\n");
      return (-1);
    }
  }
  return (0);
}
```