user: 这段汇编代码用C语言表示是什么样的:

```asm
<resolv_conf_parse_line>:
  endbr64
  push   %r14
  push   %r13
  lea    D18(%rip),%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %esi,%ebx
  mov    %r13,%rsi
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r12
  movq   $0x0,0x10(%rsp)
  mov    %r12,%rdx
  call   <evdns_strtok_r@plt>
  test   %rax,%rax
  je     L174
  lea    D41(%rip),%rsi
  mov    %rax,%rdi
  mov    %rax,%rbp
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L36
  test   $0x2,%bl
  jne    L11
L36:
  lea    D38(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L19
  test   $0x1,%bl
  jne    L80
L170:
  lea    D9(%rip),%rsi
  mov    %rbp,%rdi
  lea    D22(%rip),%r14
  call   <strcmp@plt>
  test   %eax,%eax
  je     L118
  jmp    L174
  cs nopw 0x0(%rax,%rax,1)
L65:
  mov    $0x3a,%esi
  mov    %rbp,%rdi
  call   <strchr@plt>
  mov    %ebx,%edx
  mov    %rbp,%rdi
  lea    0x1(%rax),%rsi
  test   %rax,%rax
  cmove  %r14,%rsi
  call   <evdns_set_option@plt>
L118:
  mov    %r12,%rdx
  mov    %r13,%rsi
  xor    %edi,%edi
  call   <evdns_strtok_r@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  jne    L65
L174:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L5
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L19:
  lea    D45(%rip),%rsi
  mov    %rbp,%rdi
  call   <strcmp@plt>
  test   %eax,%eax
  jne    L170
  test   $0x1,%bl
  je     L170
  call   <search_postfix_clear@plt>
  jmp    L135
  nopw   0x0(%rax,%rax,1)
L96:
  call   <search_postfix_add@plt>
L135:
  xor    %edi,%edi
  mov    %r12,%rdx
  mov    %r13,%rsi
  call   <evdns_strtok_r@plt>
  mov    %rax,%rdi
  test   %rax,%rax
  jne    L96
  xor    %eax,%eax
  call   <search_reverse@plt>
  jmp    L174
  nopl   0x0(%rax,%rax,1)
L11:
  xor    %edi,%edi
  mov    %r13,%rsi
  mov    %r12,%rdx
  call   <evdns_strtok_r@plt>
  lea    0xc(%rsp),%rsi
  mov    %rax,%rdi
  call   <inet_aton@plt>
  test   %rax,%rax
  je     L174
  mov    0xc(%rsp),%edi
  call   <evdns_nameserver_add@plt>
  jmp    L174
  nopl   0x0(%rax)
L80:
  mov    %r12,%rdx
  mov    %r13,%rsi
  xor    %edi,%edi
  call   <evdns_strtok_r@plt>
  mov    %rax,%rbp
  test   %rax,%rax
  je     L174
  xor    %eax,%eax
  call   <search_postfix_clear@plt>
  mov    %rbp,%rdi
  call   <search_postfix_add@plt>
  jmp    L174
L5:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: label: D18
type: string
name: retrieve_data
arguments: label: D41
type: string
name: retrieve_data
arguments: label: D38
type: string
name: retrieve_data
arguments: label: D9
type: string
name: retrieve_data
arguments: label: D22
type: string
name: retrieve_data
arguments: label: D45
type: string

tool: D18:  	

tool: D41: nameserver

tool: D38: domain

tool: D9: options

tool: 

tool: D45: search

assistant: ```c
void resolv_conf_parse_line(char *const start, int flags) {
  char *strtok_state = NULL;
  static const char *const delims = " \t";
  char *const first_token = evdns_strtok_r(start, delims, &strtok_state);
  if (!first_token)
    return;
  if (!strcmp(first_token, "nameserver") && (flags & 2)) {
    const char *const nameserver = evdns_strtok_r(NULL, delims, &strtok_state);
    struct in_addr ina;
    if (inet_aton(nameserver, &ina)) {
      evdns_nameserver_add(ina.s_addr);
    }
  } else if (!strcmp(first_token, "domain") && (flags & 1)) {
    const char *const domain = evdns_strtok_r(NULL, delims, &strtok_state);
    if (domain) {
      search_postfix_clear();
      search_postfix_add(domain);
    }
  } else if (!strcmp(first_token, "search") && (flags & 1)) {
    const char *domain;
    search_postfix_clear();
    while ((domain = evdns_strtok_r(NULL, delims, &strtok_state))) {
      search_postfix_add(domain);
    }
    search_reverse();
  } else if (!strcmp(first_token, "options")) {
    const char *option;
    while ((option = evdns_strtok_r(NULL, delims, &strtok_state))) {
      const char *val = strchr(option, ':');
      evdns_set_option(option, val ? val + 1 : "", flags);
    }
  }
}
```