user: Demonstrate the C code that generates the assembly output below:

```asm
<config_file_search_with_string>:
  endbr64
  push   %r15
  mov    %rdi,%r15
  push   %r14
  push   %r13
  mov    %r8,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdx,%rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x28,%rsp
  test   %rsi,%rsi
  je     L79
  movq   $0x0,(%rsi)
L79:
  test   %rbp,%rbp
  je     L132
  movq   $0x0,0x0(%rbp)
L132:
  test   %rbx,%rbx
  je     L175
  movq   $0x0,(%rbx)
L175:
  test   %r13,%r13
  je     L96
  movq   $0x0,0x0(%r13)
L96:
  mov    $0x2e,%esi
  mov    %r15,%rdi
  call   <strchr@plt>
  mov    %rax,%r14
  test   %rax,%rax
  je     L18
  lea    0x1(%rax),%r9
  mov    $0x2e,%esi
  mov    %r9,%rdi
  mov    %r9,0x10(%rsp)
  call   <strchr@plt>
  test   %rax,%rax
  mov    %rax,0x8(%rsp)
  je     L18
  mov    %r14d,%esi
  mov    %r15,%rdi
  sub    %r15d,%esi
  call   <string_strndup@plt>
  mov    0x8(%rsp),%rsi
  mov    0x10(%rsp),%rdi
  mov    %rax,0x18(%rsp)
  sub    %r14,%rsi
  sub    $0x1,%esi
  call   <string_strndup@plt>
  mov    0x8(%rsp),%rdx
  mov    0x18(%rsp),%r8
  mov    %rax,%r15
  lea    0x1(%rdx),%rax
  mov    %rax,0x10(%rsp)
  test   %r8,%r8
  je     L91
  test   %r15,%r15
  je     L29
  test   %r13,%r13
  je     L159
  mov    %rax,0x0(%r13)
L159:
  mov    %r8,%rdi
  mov    %r8,0x8(%rsp)
  call   <config_file_search@plt>
  mov    0x8(%rsp),%r8
  test   %rax,%rax
  mov    %rax,%r14
  je     L58
  mov    %r15,%rsi
  mov    %rax,%rdi
  mov    %r8,0x18(%rsp)
  call   <config_file_search_section@plt>
  mov    0x18(%rsp),%r8
  movq   $0x0,0x8(%rsp)
  test   %rax,%rax
  mov    %rax,%r13
  je     L118
  mov    0x10(%rsp),%rdx
  mov    %rax,%rsi
  mov    %r14,%rdi
  call   <config_file_search_option@plt>
  mov    0x18(%rsp),%r8
  mov    %rax,0x8(%rsp)
L118:
  mov    %r8,%rdi
  call   <free@plt>
L170:
  test   %r15,%r15
  je     L117
  mov    %r15,%rdi
  call   <free@plt>
  jmp    L117
  xchg   %ax,%ax
L18:
  movq   $0x0,0x8(%rsp)
  xor    %r13d,%r13d
  xor    %r14d,%r14d
L117:
  test   %r12,%r12
  je     L63
  mov    %r14,(%r12)
L63:
  test   %rbp,%rbp
  je     L49
  mov    %r13,0x0(%rbp)
L49:
  test   %rbx,%rbx
  je     L156
  mov    0x8(%rsp),%rax
  mov    %rax,(%rbx)
L156:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L58:
  movq   $0x0,0x8(%rsp)
  xor    %r13d,%r13d
  xor    %r14d,%r14d
  jmp    L118
L29:
  test   %r8,%r8
  jne    L58
L91:
  movq   $0x0,0x8(%rsp)
  xor    %r13d,%r13d
  xor    %r14d,%r14d
  jmp    L170
```

assistant: ```c
void config_file_search_with_string(const char *option_name, struct t_config_file **config_file, struct t_config_section **section, struct t_config_option **option, char **pos_option_name) {
  struct t_config_file *ptr_config;
  struct t_config_section *ptr_section;
  struct t_config_option *ptr_option;
  char *file_name, *pos_section, *section_name, *pos_option;
  if (config_file)
    *config_file = NULL;
  if (section)
    *section = NULL;
  if (option)
    *option = NULL;
  if (pos_option_name)
    *pos_option_name = NULL;
  ptr_config = NULL;
  ptr_section = NULL;
  ptr_option = NULL;
  file_name = NULL;
  section_name = NULL;
  pos_option = NULL;
  pos_section = strchr(option_name, '.');
  pos_option = (pos_section) ? strchr(pos_section + 1, '.') : NULL;
  if (pos_section && pos_option) {
    file_name = string_strndup(option_name, pos_section - option_name);
    section_name = string_strndup(pos_section + 1, pos_option - pos_section - 1);
    pos_option++;
  }
  if (file_name && section_name && pos_option) {
    if (pos_option_name)
      *pos_option_name = pos_option;
    ptr_config = config_file_search(file_name);
    if (ptr_config) {
      ptr_section = config_file_search_section(ptr_config, section_name);
      if (ptr_section) {
        ptr_option = config_file_search_option(ptr_config, ptr_section, pos_option);
      }
    }
  }
  if (file_name)
    free(file_name);
  if (section_name)
    free(section_name);
  if (config_file)
    *config_file = ptr_config;
  if (section)
    *section = ptr_section;
  if (option)
    *option = ptr_option;
}
```