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

```asm
<gostcrypt>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r12
  push   %rbx
  sub    $0x20,%rsp
  mov    %rdi,-0x18(%rbp)
  mov    %rsi,-0x20(%rbp)
  mov    %rdx,-0x28(%rbp)
  mov    -0x18(%rbp),%rax
  mov    (%rax),%rbx
  mov    -0x18(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%r12
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x38,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x38,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x38,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x38,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x30,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x28,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x20,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x18,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  add    $0x10,%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x28(%rbp),%rax
  add    $0x8,%rax
  mov    (%rax),%rax
  add    %rbx,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%r12
  mov    -0x28(%rbp),%rax
  mov    (%rax),%rax
  add    %r12,%rax
  mov    %rax,%rdi
  call   <f@plt>
  xor    %rax,%rbx
  mov    -0x20(%rbp),%rax
  mov    %r12,(%rax)
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  mov    %rbx,(%rax)
  nop
  add    $0x20,%rsp
  pop    %rbx
  pop    %r12
  pop    %rbp
  ret
```

assistant: ```c
void gostcrypt(uint32_t const in[2], uint32_t out[2], uint32_t const key[8]) {
  register uint32_t n1, n2;
  n1 = in[0];
  n2 = in[1];
  n2 ^= f(n1 + key[0]);
  n1 ^= f(n2 + key[1]);
  n2 ^= f(n1 + key[2]);
  n1 ^= f(n2 + key[3]);
  n2 ^= f(n1 + key[4]);
  n1 ^= f(n2 + key[5]);
  n2 ^= f(n1 + key[6]);
  n1 ^= f(n2 + key[7]);
  n2 ^= f(n1 + key[0]);
  n1 ^= f(n2 + key[1]);
  n2 ^= f(n1 + key[2]);
  n1 ^= f(n2 + key[3]);
  n2 ^= f(n1 + key[4]);
  n1 ^= f(n2 + key[5]);
  n2 ^= f(n1 + key[6]);
  n1 ^= f(n2 + key[7]);
  n2 ^= f(n1 + key[0]);
  n1 ^= f(n2 + key[1]);
  n2 ^= f(n1 + key[2]);
  n1 ^= f(n2 + key[3]);
  n2 ^= f(n1 + key[4]);
  n1 ^= f(n2 + key[5]);
  n2 ^= f(n1 + key[6]);
  n1 ^= f(n2 + key[7]);
  n2 ^= f(n1 + key[7]);
  n1 ^= f(n2 + key[6]);
  n2 ^= f(n1 + key[5]);
  n1 ^= f(n2 + key[4]);
  n2 ^= f(n1 + key[3]);
  n1 ^= f(n2 + key[2]);
  n2 ^= f(n1 + key[1]);
  n1 ^= f(n2 + key[0]);
  out[0] = n2;
  out[1] = n1;
}
```