user: Converte this assembly snippet into its equivalent C code:

```asm
<test_removes_duplicates>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x10,%rsp
  lea    D149(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <vle_compl_add_match@plt>
  mov    %eax,%esi
  mov    $0x10b,%ecx
  lea    D116(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <seatest_assert_int_equal@plt>
  lea    D68(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <vle_compl_add_match@plt>
  mov    %eax,%esi
  mov    $0x10c,%ecx
  lea    D116(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <seatest_assert_int_equal@plt>
  lea    D68(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <vle_compl_add_match@plt>
  mov    %eax,%esi
  mov    $0x10d,%ecx
  lea    D116(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <seatest_assert_int_equal@plt>
  mov    $0x0,%eax
  call   <vle_compl_finish_group@plt>
  lea    D157(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <vle_compl_add_last_match@plt>
  mov    %eax,%esi
  mov    $0x110,%ecx
  lea    D116(%rip),%rax
  mov    %rax,%rdx
  mov    $0x0,%edi
  mov    $0x0,%eax
  call   <seatest_assert_int_equal@plt>
  mov    $0x0,%eax
  call   <vle_compl_next@plt>
  cltq
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x113,%ecx
  lea    D116(%rip),%rdx
  mov    %rax,%rsi
  lea    D149(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <seatest_assert_string_equal@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
  call   <vle_compl_next@plt>
  cltq
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x117,%ecx
  lea    D116(%rip),%rdx
  mov    %rax,%rsi
  lea    D68(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <seatest_assert_string_equal@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
  call   <vle_compl_next@plt>
  cltq
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x11b,%ecx
  lea    D116(%rip),%rdx
  mov    %rax,%rsi
  lea    D157(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <seatest_assert_string_equal@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  mov    $0x0,%eax
  call   <vle_compl_next@plt>
  cltq
  mov    %rax,-0x8(%rbp)
  mov    -0x8(%rbp),%rax
  mov    $0x11f,%ecx
  lea    D116(%rip),%rdx
  mov    %rax,%rsi
  lea    D149(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <seatest_assert_string_equal@plt>
  mov    -0x8(%rbp),%rax
  mov    %rax,%rdi
  call   <free@plt>
  nop
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D149
type: string
name: disassemble_data
arguments: tag: D116
type: string
name: disassemble_data
arguments: tag: D68
type: string
name: disassemble_data
arguments: tag: D157
type: string

tool: D149: mou

tool: D116: test_removes_duplicates

tool: D68: mount

tool: D157: m

assistant: ```c
void test_removes_duplicates(void) {
  char *buf;
  do {
    seatest_assert_int_equal(0, vle_compl_add_match("mou"), __FUNCTION__, 267);
  } while (0);
  do {
    seatest_assert_int_equal(0, vle_compl_add_match("mount"), __FUNCTION__, 268);
  } while (0);
  do {
    seatest_assert_int_equal(0, vle_compl_add_match("mount"), __FUNCTION__, 269);
  } while (0);
  vle_compl_finish_group();
  do {
    seatest_assert_int_equal(0, vle_compl_add_last_match("m"), __FUNCTION__, 272);
  } while (0);
  buf = vle_compl_next();
  do {
    seatest_assert_string_equal("mou", buf, __FUNCTION__, 275);
  } while (0);
  free(buf);
  buf = vle_compl_next();
  do {
    seatest_assert_string_equal("mount", buf, __FUNCTION__, 279);
  } while (0);
  free(buf);
  buf = vle_compl_next();
  do {
    seatest_assert_string_equal("m", buf, __FUNCTION__, 283);
  } while (0);
  free(buf);
  buf = vle_compl_next();
  do {
    seatest_assert_string_equal("mou", buf, __FUNCTION__, 287);
  } while (0);
  free(buf);
}
```