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

```asm
<configure_kismet_server>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x420,%rsp
  mov    %edi,-0x414(%rbp)
  mov    %esi,-0x418(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    -0x410(%rbp),%rax
  lea    D6(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  lea    -0x410(%rbp),%rax
  lea    D59(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  mov    -0x418(%rbp),%edx
  mov    -0x414(%rbp),%eax
  mov    %edx,%esi
  mov    %eax,%edi
  call   <read_sources@plt>
  lea    -0x410(%rbp),%rax
  lea    D30(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  lea    -0x410(%rbp),%rax
  lea    D12(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  lea    -0x410(%rbp),%rax
  lea    D2(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  lea    -0x410(%rbp),%rax
  lea    D37(%rip),%rdx
  mov    %rdx,%rsi
  mov    %rax,%rdi
  call   <strcpy@plt>
  lea    -0x410(%rbp),%rdx
  mov    -0x414(%rbp),%eax
  mov    %rdx,%rsi
  mov    %eax,%edi
  call   <send_parameters@plt>
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L0
  call   <__stack_chk_fail@plt>
L0:
  leave
  ret
```

tool_calls: name: retrieve_data
arguments: tag: D6
type_guessed: string
name: retrieve_data
arguments: tag: D59
type_guessed: string
name: retrieve_data
arguments: tag: D30
type_guessed: string
name: retrieve_data
arguments: tag: D12
type_guessed: string
name: retrieve_data
arguments: tag: D2
type_guessed: string
name: retrieve_data
arguments: tag: D37
type_guessed: string

tool: D6: !1 capability source


tool: D59: !1 enable source username,uuid


tool: D30: !3 enable client bssid,mac,type,channel


tool: D12: !4 enable clisrc signal_dbm,uuid


tool: D2: !5 enable bssid bssid,type


tool: D37: !6 enable bssidsrc signal_dbm,uuid


assistant: ```c
int configure_kismet_server(int sockfd, regex_t source_reg) {
  char text[1024];
  strcpy(text, "!1 capability source\n");
  send_parameters(sockfd, text);
  strcpy(text, "!1 enable source username,uuid\n");
  send_parameters(sockfd, text);
  read_sources(sockfd, source_reg);
  strcpy(text, "!3 enable client bssid,mac,type,channel\n");
  send_parameters(sockfd, text);
  strcpy(text, "!4 enable clisrc signal_dbm,uuid\n");
  send_parameters(sockfd, text);
  strcpy(text, "!5 enable bssid bssid,type\n");
  send_parameters(sockfd, text);
  strcpy(text, "!6 enable bssidsrc signal_dbm,uuid\n");
  send_parameters(sockfd, text);
  return 0;
}
```