user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<selfTest>:
  endbr64
  push   %r13
  mov    $0x5,%ecx
  push   %r12
  push   %rbp
  sub    $0x70,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  movabs $0x400000007,%rax
  mov    %rsp,%rbp
  lea    0x40(%rsp),%r13
  lea    0x20(%rsp),%r12
  mov    %r13,%rdx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  movl   $0xe,0x30(%rsp)
  movl   $0xb,0x50(%rsp)
  mov    %rax,0x20(%rsp)
  movabs $0xb0000000b,%rax
  mov    %rax,0x28(%rsp)
  movabs $0xc00000017,%rax
  mov    %rax,0x40(%rsp)
  movabs $0xa00000002,%rax
  mov    %rax,0x48(%rsp)
  call   <otp_encrypt@plt>
  xor    %edi,%edi
  cmpl   $0x3,(%rsp)
  sete   %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmpl   $0x10,0x4(%rsp)
  sete   %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmpl   $0xd,0x8(%rsp)
  sete   %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmpl   $0x15,0xc(%rsp)
  sete   %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmpl   $0x19,0x10(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    $0x5,%ecx
  mov    %r13,%rdx
  mov    %rbp,%rsi
  mov    %rbp,%rdi
  call   <otp_decrypt@plt>
  mov    0x20(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x24(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0x4(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x28(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0x8(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x2c(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0xc(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x30(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0x10(%rsp)
  sete   %dil
  call   <assert@plt>
  lea    D14(%rip),%rsi
  mov    %rbp,%rdi
  lea    0x63(%rsp),%rbp
  call   <otp_encode@plt>
  mov    0x20(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,(%rsp)
  sete   %dil
  call   <assert@plt>
  xor    %edi,%edi
  cmpl   $0x1a,0x4(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x28(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0x8(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x2c(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0xc(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    0x30(%rsp),%eax
  xor    %edi,%edi
  cmp    %eax,0x10(%rsp)
  sete   %dil
  call   <assert@plt>
  mov    $0x5,%edx
  mov    %r12,%rsi
  mov    %rbp,%rdi
  call   <otp_decode@plt>
  mov    %rbp,%rdi
  lea    D1(%rip),%rsi
  call   <strstr@plt>
  mov    %eax,%edi
  call   <assert@plt>
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L7
  add    $0x70,%rsp
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
L7:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D14
type_guessed: string
name: retrieve_data
arguments: tag: D1
type_guessed: string

tool: D14: H LLO

tool: D1: HELLO

assistant: ```c
void selfTest() {
  int buffer[5];
  int inputMsg[] = {7, 4, 11, 11, 14};
  int inputKey[] = {23, 12, 2, 10, 11};
  otp_encrypt(buffer, inputMsg, inputKey, 5);
  assert(buffer[0] == 3);
  assert(buffer[1] == 16);
  assert(buffer[2] == 13);
  assert(buffer[3] == 21);
  assert(buffer[4] == 25);
  otp_decrypt(buffer, buffer, inputKey, 5);
  assert(buffer[0] == inputMsg[0]);
  assert(buffer[1] == inputMsg[1]);
  assert(buffer[2] == inputMsg[2]);
  assert(buffer[3] == inputMsg[3]);
  assert(buffer[4] == inputMsg[4]);
  otp_encode(buffer, "H LLO");
  assert(buffer[0] == inputMsg[0]);
  assert(buffer[1] == 26);
  assert(buffer[2] == inputMsg[2]);
  assert(buffer[3] == inputMsg[3]);
  assert(buffer[4] == inputMsg[4]);
  char buffer2[5];
  otp_decode(buffer2, inputMsg, 5);
  assert(strstr(buffer2, "HELLO"));
}
```